SID-01163: WebNotify issue
| Status: |
Answered |
TWiki version: |
5.0.1 |
Perl version: |
perl5 (revision 5 version 10 subversion 1) |
| Category: |
CategoryEmail |
Server OS: |
8.1-RELEASE FreeBSD 8.1-RELEASE #0 |
Last update: |
14 years ago |
It is regarding Webnotify. Whenever a user signup the email notification works fine to send an email onto the email address of the new user with the welcome message. Which I believe that my smtp settings are working for Twiki. But when it comes to webnotify service I do not get any notification emails for the changes even though I am subscribed to those topics.
My
MailProgram line goes as below:
/usr/sbin/sendmail -t -oi -oeq
MailHost is defined as
172.16.0.8
I am running postfix as my MTA but since postfix has a line which says
sendmail_path = /usr/sbin/sendmail
It means emails are pushed into the postfix queue thus issue does not lies here.
Would you please get back to me with the steps to troubleshoot?
--
FarzanQureshi - 2011-05-04
Discussion and Answer
Hello.
If you receive a mail at registration time then there is nothing wrong with mail configuration.
Did you configured the cron jobs to run the mailnotify script in /twiki/tools? Try running manually the mailnotify script to see the output.
--
EnriqueCadalso - 2011-05-04
Hi,
Unfortunately I didn't. I will test it now and post it.
--
FarzanQureshi - 2011-05-04
Following is the error I got when I tried to run mailnotify script
[root@server /usr/local/www/twiki/tools]# ./mailnotify
Can't locate setlib.cfg in
@INC
(
@INC
contains: /usr/local/lib/perl5/5.10.1/BSDPAN /usr/local/lib/perl5/site_perl/5.10.1/mach /usr/local/lib/perl5/site_perl/5.10.1 /usr/local/lib/perl5/5.10.1/mach /usr/local/lib/perl5/5.10.1 .) at ./mailnotify line 30.
BEGIN failed--compilation aborted at ./mailnotify line 31.
Then I tried to locate setlib.cfg and it is found under following directories
[root@server /usr/local/www/twiki/tools]# locate setlib.cfg
/usr/local/share/twiki/core/bin/setlib.cfg
/usr/local/www/twiki/bin/setlib.cfg
Any suggestions?
--
FarzanQureshi - 2011-05-04
I copied the script into the /twiki/bin location where setlib.cfg resides. Then I ran the script manually and all sweet as
Now I will add the cron job to run this task periodically ..
Thanks for the help Enrique
--
FarzanQureshi - 2011-05-04
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.