Clarification on the response below:
Should I change sendmail.mc to:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
define('LOCAL_MAILER_PATH', `/usr/local/bin/dspam')dnl
define('LOCAL_MAILER_ARGS', `dspam "--deliver=innocent,spam" --user
$u -d %u')dnl
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
OR
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
define(`LOCAL_MAILER_PATH', `/usr/local/bin/dspam')dnl
define(`LOCAL_MAILER_ARGS', `dspam -t -Y -a $h
"--deliver=innocent,spam" --user $u -d %u')dnl
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
You had both...
and then dspam.conf gets changed from :
TrustedDeliveryAgent "/usr/local/bin/procmail.dspam"
UntrustedDeliveryAgent "/usr/local/bin/procmail.dspam -d %u"
to:
TrustedDeliveryAgent "/usr/bin/dspam"
UntrustedDeliveryAgent "/usr/bin/dspam -d %u"
But for UntrustedDeliveryAgent, what are the arguments for dspam?
On 7/28/2010 7:41 PM, Stevan Bajic' wrote:
>> Sendmail.mc:
>> ==============================
>> define(`LOCAL_MAILER_PATH', `/usr/bin/dspam')dnl
>> define(`LOCAL_MAILER_ARGS', `dspam -t -Y -a $h "--deliver=innocent"
>> --user $u -d %u')dnl
> If I am not wrong then those "-t", "-Y" and "-a" arguments are for procmail
> and you wrote to me that you are not using procmail. Right? If so then could
> you change the above to be:
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> define('LOCAL_MAILER_PATH', `/usr/local/bin/dspam')dnl
> define('LOCAL_MAILER_ARGS', `dspam "--deliver=innocent,spam" --user $u -d
> %u')dnl
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>> dspam.conf:
>> ==============================
>> TrustedDeliveryAgent "/usr/local/bin/procmail.dspam"
>> UntrustedDeliveryAgent "/usr/local/bin/procmail.dspam -d %u"
> What? So you are using procmail for delivery? Then the line above should be:
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> define(`LOCAL_MAILER_PATH', `/usr/local/bin/dspam')dnl
> define(`LOCAL_MAILER_ARGS', `dspam -t -Y -a $h "--deliver=innocent,spam"
> --user $u -d %u')dnl
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user