Have you tried the amavis/sa-exim way?
On 20.07.14 15:22, Adi wrote:
Not yet. if I'm not mistaken amavis is working in delivery time not
SMTP time?
AFAIK, it can run in pre-queue mode too. Surely when running as milter.
and IIRC it runs at SMTP time by default.
Some my configuration is based on:
http://www.janoszen.com/2013/07/24/filtering-spam-with-exim-and-spamassassin-properly/
I looked onto that and did not like it. Mostly because it does not run at
the SMTP time...
yes , but I SMTP time I can't analize spam according user prefs - for
multi recipient :/
yes, that's feature of SMTP.
That's why I advised you multiple times using sane defaults in such case.
you can do two checks, one at SMTP time (with sane defaults), and second
(user-personalized) at delivery time.
single recipient e-mails can be scanned with user preferences at SMTP time
and you can skip the latter step for them.
Of course, spam rejected at SMTP time won't be scanned with per-user
settings...
Yes this is concept but how can I detect is it single or multi
recipient? AND if it is multi recipient I can not reject mail in SMTP
time.
oh yes, you can - with sane defaults, e.g. when final score is over 10 (or
whatever you configure)
--
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"The box said 'Requires Windows 95 or better', so I bought a Macintosh".