Tags:
create new tag
view all tags

SID-01163: WebNotify issue

Status: Answered 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 smile

Now I will add the cron job to run this task periodically ..

Thanks for the help Enrique smile

-- FarzanQureshi - 2011-05-04

      Change status to:
ALERT! 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.

SupportForm
Status Answered
Title WebNotify issue
SupportCategory CategoryEmail
TWiki version 5.0.1
Server OS 8.1-RELEASE FreeBSD 8.1-RELEASE #0
Web server Apache2.2
Perl version perl5 (revision 5 version 10 subversion 1)
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2011-05-04 - FarzanQureshi
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.