Question
I just moved a twiki installation to a new server and at the same upgrading to 4.04.
All works fine except mailnotify. When running it from a commandline it generates an "Internal Server Error". But does send out the notifications!
The errorlog then shows: "malformed header from script. Bad header=Processing Abctest: /home/soundwit/public_html/cgi-bin/tbin/mailnotify". (Where abctest is a test wiki. Happens with any web) I set permissions of all files and folder ok, but it keeps giving same results...
Calling it from a crontab does nothing. Mailnotify sits in
directory, not the "tools" sub dirt...
I assume all permissions are ok.
twiki dir = 777
datadir = 766
subdirs = 777
.changes & . mailnotify = 666
Environment
-- IstvanLeelossy - 08 Aug 2006
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
More: Now crontab is working but i get:
Can't locate TWiki/Contrib/Mailer.pm in @INC (@INC contains: /home/lib... Istvan
-- IstvanLeelossy - 09 Aug 2006
Make sure to run the script from the twiki/bin directory, or add a -I /apth/to/twiki/lib to the script. Read docs in MailerContrib.
-- PeterThoeny - 01 Oct 2006