著者: John Oxley 日付: To: exim-users 題目: [exim] binning mails on delivery based on headers
Okay I have mails coming through a spam/virus filter to a separate box
running exim 4.52 and courier-IMAP/POP on FreeBSD 5.4.
I am delivering mail virtually to users from a MySQL table. In the
messages there is the X-Spam-Score header. I want to on _this_ box, to
throw away mail if it is above sa_refuse or tag (modify the subject line
and add X-Spam-Flag header) it if it is above sa_tag on a per user
basis.
Do I do this in the routers or transports sections? If so how do I do
it? Below is my routers and transports section. Where would I put what
to do what I want.