Quarantine / spammail handling
Brought to you by:
laitcg
Hi!
What about implementing a feature that is able to
quarantine spam-mails the same way as p3scan already
does with virus-mails?
We'd imagine a configuration parameter that enables
p3scan to scan the header for a specific pattern
(***SPAM***) and reacting in a specific way
(quarantining, deleting, ...).
An alternative option could also deliver the
temporary mail-filename to a custom program or script
which would do the header checking on its own,
sending a return value which enables p3scan to decide
whether the mail is sent, quarantined, or whatever.
What do you think?
Greets Daniel & Andreas
daniel.priewasser at fh-hagenberg dot at
Logged In: YES
user_id=889251
If this route was taken, I think the best way would be to
check the exit code of the spam scanner. For example: SA,
when used with the "-c" option, exits "true" when the
message has been determined to be spam.
I may implement this in the 3.x branch. Thank you.