> On 21.03.2011 20:19, Matus UHLAR - fantomas wrote: > > 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.
On 22.03.11 13:26, Alessandro Vesely wrote: > That will apparently result in non-uniform filtering. This is what spamass-milter already does. Mail to multiple recipients apparently can be re-checked in users' filters to get better results, while rejecting much of spam at SMTP level. While this can't be done with spamass-milter (yet), I could do this with perlfilter. Now I need to know how to add custom headers to D* files in courier queue... > > 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. > > SA has various options, such as whitelisting, that can be considered > "protocol add-ons"; that is, uniformly good for all the users of a given > domain. Other facets of MTA behavior are pretty personal; for example, > delivering to different folders. How do we classify Bayesian filtering, in > this respect? I think this gets answered below. > >> 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... > > Would you expand a bit on that? I didn't find much browsable docs about that > milter... the -x and -u <defaultuser> make the milter try to detect which user is mail targeted for, and use fallback if there's more recipients. -- 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. WinError #99999: Out of error messages. ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
