Question
I enabled the email-option in the twiki configuration site and set the mailprogram and smtp-server.
Then i put my email-adress in
WebNotify:
mymail@mymailPLEASENOSPAM.mymail : *
Then i edited a page in this web, started the mailnotify script and get no error.
But i don't recieve any mail. I also see no info about sending mail in the logs.
Do i have to install an additional plugin? Or do i have to configure something else?
Environment
--
TimmWiegel - 11 Jun 2008
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
You need to check the format of your line in
WebNotify; it should look like this:
* example@example.domain
When testing I would recommend runing the mailnotify program in non-verbose mode. It will tell you what it thinks needs notifying, and to whom. Finally you may need to delete the MailerContrib timestamp file (in working/MailerContrib).
Note that the use of email addresses in
WebNotify is
not recommended, as you will not be notified of changes to pages that are access controlled such that TWikiGuest cannot see them. Use wikinames instead.
--
CrawfordCurrie - 13 Jun 2008
Now my
WebNotify entry looks like this:
The User has a Email-Address. But no notification will be sent.
mailnotify output:
Processing ISFB
* MyWikiName
Last notification was at 1970-01-01T00:00:00Z
Change to WebHome at 2008-06-13T11:22:22Z. New revision is 16
called lookupWikiName(TWikiAdminUser)
called lookupWikiName(de)
Change to WebNotify at 2008-06-13T11:18:03Z. New revision is 11
Change to WebNotify at 2008-06-12T12:35:36Z. New revision is 10
Change to Datenbankcluster at 2008-06-09T08:39:30Z. New revision is 3
Change to WebHome at 2008-06-09T08:17:49Z. New revision is 15
Change to WebPreferences at 2008-06-03T11:06:46Z. New revision is 24
Change to WebPreferences at 2008-06-03T11:00:10Z. New revision is 23
called lookupWikiName(P0302023)
Change to WebPreferences at 2008-06-03T10:01:40Z. New revision is 22
Change to WebHome at 2008-06-03T07:34:21Z. New revision is 14
Change to WebPreferences at 2008-06-03T07:33:11Z. New revision is 21
Change to WebPreferences at 2008-06-02T14:47:56Z. New revision is 20
Change to Datenbankcluster at 2008-06-02T14:08:21Z. New revision is 2
called lookupWikiName(P0333794)
Change to WebHome at 2008-06-02T11:28:48Z. New revision is 13
Change to WebHome at 2008-06-02T11:15:20Z. New revision is 12
Change to WebNotify at 2008-06-02T11:10:05Z. New revision is 9
Change to WebNotify at 2008-06-02T10:05:06Z. New revision is 8
Change to WebHome at 2008-06-02T10:01:38Z. New revision is 11
Change to Linux at 2008-06-02T09:44:58Z. New revision is 4
Change to WebHome at 2008-06-02T08:57:52Z. New revision is 10
Change to Linux at 2008-06-02T07:59:54Z. New revision is 3
Change to WebNotify at 2008-06-02T07:57:47Z. New revision is 7
Processing TWiki
TWiki has no subscribers
Processing Trash
Trash has no subscribers
0 change notifications from ISFB
--
TimmWiegel - 13 Jun 2008
I don't know where
called lookupWikiName is coming from, but it makes me suspect you have a non-standard configuration. It looks to me like there is a problem in the user mapper that is preventing it from finding an email address. Perhaps you are using LDAP?
--
CrawfordCurrie - 16 Jun 2008
I am using LDAP-Authentication. The usernames are not
WikiNames. This usernames look like this:
p0111111
p = personnel number
I don't wanted to post all LDAP-Entries. These will be displayed by mailnotify.
constructed a new LdapContrib object
cacheAge=48, lastUpdate=1213693329, refresh=1
updating cache
called refreshCache
called refreshUsersCache()
called search(filter=myfilter)
proxy bind
found 310 entries
adding wikiName='P0302023', loginName='p0302023', dn=mytree
The e-mail-address can be found by twiki. I tested this with the following entry:
%USERINFO{"P0111111" format="$emails"}%
--
TimmWiegel - 17 Jun 2008
Closing this after more than 30 days of inactivity. Please feel free to re-open if needed.
--
PeterThoeny - 02 Aug 2008