> On Monday 21,March,2011 09:46 PM, Matus UHLAR - fantomas wrote: > > Can you advise me a (simple) way to integrate SpamAssassin checking at MTA > > level? > > > > We use courierperlfilter for clamav scanning and logging and I could add > > calling spamc to it, but I'd like to know if there are other nice ways.
On 22.03.11 02:38, [email protected] wrote: > The advantage of running spamc from perl/pythonfilter (IMO) is that you > can reject mail based on spam score. The disadvantage, if I understand > correctly, is that you can't have per-user settings for virtual users > because spamassassin looks for settings in the HOME directory of the > user who called it. I can use the -u option to use the recipient if the message has only one recipient, or use some default recipient if there are multiple of them. I don't know which user is used, if the provided username is not found in the user database (would be nice to use the same default). I will apparently start without bayes, then maybe will play with (auto)learning. If the message has only one known recipient, I'd also invite a possibility to add/replace X-Spam headers, if that's possible from courier(perl)filter (is it? how?) > If you don't mind accepting spam messages (you can bounce or bitbucket > them later), you can use maildrop as the delivery agent and call spamc > from a maildrop config file. This allows you to use per-user settings > for virtual users. I'm prepared to only refuse spam with score bigger than 10 or so and keep processing the rest to users' filters. > If I'm wrong and you can have per-user settings for virtual users with a > perl/pythonfilter, I'd appreciate hearing how to do it. spamass-milter documents some ways how to achieve that. I use sendmail on my machine... -- 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". ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
