maillog gives this error: ======
Feb 13 16:55:04 rslinux27 postfix/sendmail[14503]: fatal: usage:
sendmail [options]
Feb 13 16:55:05 rslinux27 dspam[14495]: Delivery agent returned exit
code 64: /usr/sbin/sendmail -d lo@user.com.my
The Web UI gives this error: =====
An Error Has Occured
The following error occured while trying to process your request:
sendmail: invalid option -- d
sendmail: fatal: usage: sendmail [options]
14269: [02/13/2006 16:46:08] Delivery agent returned exit code 64:
/usr/sbin/sendmail -d lo@user.com.my
This was described in my post to the newsgroup. Unfortunately for me no one answered this cry for help, until another user found the same problem. I emailed him, and he found a solution:
postfix sendmail implementation doesnt know the "-d" parameter. It is
defined in the configure.pl script of the cgi.
replace the -d with a -- and it should work :)
In detail:
In the directory where the cgi scripts for the WebUI for dspam are held:
e.g. /var/www/html/dspam/configure.pl
edit the line which has
$CONFIG{'DSPAM_ARGS'} = "--deliver=innocent --class=innocent " .
"--source=error --user %CURRENT_USER% -d %u";
to:
"--source=error --user %CURRENT_USER% -- %u";
The reason why its obscure is because there is no mention of 'sendmail' nor any indication that these params will flow to sendmail.
Anyway, now it works, so False Positive emails in Quaranteen can be released
and forwarded to individual users as per advertised.
yk.