Item9782: Web Notify Not Working
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component:
Branches:
--
DavidPontzer - 02 Oct 2010
Windows / Apache system.
WebNotify does not work. mailnotify.pl is in /bin directory and when executed seems to run ok. But no mail is sent.
Using the Mercury Mail on the same server which works fine for other emails.
Mail is set to use 127.0.0.1 in the configuration.
Any ideas?
There is a bug - the shell scripts run under the wrong userid. You can resolve this either by adding a parameter to the mailnotify run
-user AdminUser
or apply the patch shown in
distro:4c413c74df53. This issue also effects the statistics scripts; see
Item9646.
MailerContrib has been updated (and uploaded) with improved documentation to work around this bug.
--
GeorgeClark - 02 Oct 2010,
WillNorris - 03 Oct 2010
I installed the change per
distro:4c413c74df53 and it is still not working. Note, I am using Apache authentication, not the normal Foswiki login. Could this be a factor?
--
DavidPontzer - 04 Oct 2010
Still not working -
--
DavidPontzer - 13 Nov 2010
I don't believe that Apache auth will have an effect.
- Do user registration emails get sent? mailercontrib uses the same email settings.
- If you run mailnotify from the shell, without the -q quiet option, does it find topics to send mails about?
A normal run for Sandbox would look something like:
../tools/mailnotify Sandbox
Processing Sandbox
* %USERSWEB%.JoeUser: *
Last notification was at 1970-01-01T00:00:00Z
Change to TestTopic0 at 2010-11-14T05:15:13Z. New revision is 1
Notified joe@user.com of changes in Sandbox
(Note that for faster response, please set the "WaitingFor" field in the below form to my
WikiName so that this Task item shows up in my list of tasks needing attention. )
--
GeorgeClark - 14 Nov 2010
All is working great now. Thanks
--
DavidPontzer - 01 Jan 2011