Hi Tony,
On Mon, October 14, 2013 6:49 pm, Tony Andersson wrote:
Spamassasin is called from /etc/postfix/master.cf via
a script,
/usr/local/bin/spamchk.sh
Check how the script is called in master.cf; it'll contain any arguments
that indicate what is passed e.g.
argv=<path to script>/spamchk.sh -f ${sender} ${recipient}
In the script you can then check for ${sender} (by examining $1) and exit
prematurely (and positively) if the address matches your DPD source.
Ideally I'd like to set some known
and supported parameter in the spamc.conf file. To make it global for
the server and make sure it is in a place where I am likely to find it
I'd be surprised if there was such a configuration as spamc's job is to
submit a message for spam checking. To then abandon that check reflects
that it shouldn't have been called in the first place.
I'd echo the suggestion of finding out why the e-mails are being
incorrectly marked as making manually exceptions isn't ideal.
Mathew