Too hasty to post. I stripped out the quote marks and commas from referers
and tweaked a couple of other bits and it now seems to work OK.
It didn't like the fact that I did not have a subject field in the form
originally. It still sent a mail but gave an undefined variable error back
to the browser. Is subject a required field?
Great stuff anyway.
From: Day Robert
Sent: 21 March 2002 11:13
Subject: formail - server error
Am trying to configure formail to work - all I keep getting is an Internal
server Error showing in error logs as next:
[21/Mar/2002:10:35:56] failure: for host 192.168.4.253 trying to POST
/cgi-bin/nmsmail.pl, cgi-parse-output reports: the CGI program
/export/intranet/cgi-bin/nmsmail.pl did not produce a valid header (name
without value: got line "possible attempt to separate words with commas at
/export/intranet/cgi-bin/nmsmail.pl line 145.")
line 145 is my referers list which I hope I am not foolish in revealing as
my @referers =
Anyone spot anything obviously wrong?