https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6717
Bug #: 6717
Summary: Add option -X to turn EX_UNAVAILABE into EX_TEMPFAIL
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: spamc/spamd
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
Created attachment 5014
--> https://issues.apache.org/SpamAssassin/attachment.cgi?id=5014
Patch to add -X option
Hello,
I use spamc as a simple delivery filter with postfix like this in master.cf:
dovecot-sa unix - n n - - pipe
flags=ODRhu user=vmail:mail argv=/usr/bin/spamc -x -X -u ${recipient} -e
/usr/lib/dovecot/deliver -f ${sender} -a ${recipient} -d ${user}@${nexthop}
I was unhappy with how postfix would bounce mails when spamd wasn't running and
spamc was run with -x to prevent unfiltered mail to come trough.
When spamc returns EX_TEMPFAIL instead of EX_UNAVAILABLE, postfix will queue
the mail and try to deliver it later.
Please be aware that I don't have much recent experience with C-code and none
with the spamassassin code as such but the attached patch works well for me.
I would appreciate it if something like this could be added to spamassassin.
--
Configure bugmail:
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.