>>>>> "MGF" == Marc G Fournier <[EMAIL PROTECTED]> writes:

MGF> Morning all ...

MGF>    I think I've set everythign up right ... fixed the Mail::Audit
MGF> issue as recommended on the list, manually run /usr/local/bin/spamproxyd
MGF> from the command line, then change main.cf to add:

I was about to implement this as well, but upon reading the code to
spamproxyd (from spamassassin), I decided that it has a potential to
actually lose my email.

Specifically: it accepts the message from postfix for filtering and
tells postfix "ok, got it".  Then does the scan, then attempts to
pass it back to postfix.  There is no safety net if the program
crashes in any way, or if postfix fails to accept the message on the
return path for any reason (such as queue full).  There is also no way
to tell postfix to reject the message at the gate back to the
originator.


For this reason, I'm going to write my own which does a loop like
this:

read full message, but don't ack the end of data ".".
process message through policy (spamassassin in this case)
if accepted or just tagging message
  hand off message to return path of postfix
  ack the end of data with 2xx code
else
  drop message into bit bucket
  ack end of data with 5xx code
fi
loop until next message comes in.



_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to