Covington, Chris a écrit : > > In my opinion, amavisd-new does not need DSPAM support. As of 3.4.X or > 3.6.X (I forget which) DSPAM can run in daemon mode as a LMTP > content-filter. I use amavisd-new for banned files and A/V, then I have > amavisd-new reinject the mail to Postfix which reinjects to DSPAM via > LMTP. Problem solved. I suppose it could be cleaner if amavisd-new > could support reinjecting to a LMTP content-filter, but the performance > is fine. > > It looks like this: > > postfix->amavisd-new->postfix->dspam lmtp daemon->postfix->mailstore >
I prefer the other way: postfix->AV->postfix->dspam->[postfix]->amavisd-new/SA->postfix AV may be an amavisd-new that doesn't run SA, or whatever you prefer. (It may also implement policy banks if it's amavisd-new). with: - only mail destined to "filtered" domains. other mail may be processed by SA if so desired. - if mail is "innocent" for dspa, it is scanned by SA (to detect URI spam and other "non textual" spam) - if dspam confidence is lower than a configured level, pass to SA - [optional] if rcpt wants SA anyway (or if his dictionary is still immature), pass to SA This way, most spam detected by dspam need not be scanned by SA. So SA is "only" used to "detect missed spam". Thus its config may be "reduced" (no need to have "porn" rules for instance, since one can train dspam instead. This isn't true with "non-textual" patterns such as URIBL...). > Mark, why don't you just drop DSPAM support (and maybe add LMTP > reinjection like $forward_method = 'lmtp:[127.0.0.1]:24')? > I think it is dspam which should support smtp. I don't find lmtp very helpful in my case (I only tag. Scanners take no decision). > I see no benefit of calling DSPAM in amavisd-new. > Agreed. and being enabled by default causes some "surprises" (such as having dspam headers twice when running a dspam daemon and forgetting to disable the amavisd-new one). ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
