On Wed, 27 Aug 2003, Peter J. Holzer wrote: > On 2003-08-27 08:42:12 -0500, Mike Burger wrote: > > Yes...SpamAssassin, if it detects the presence of Razor, will use Razor in > > its spam checking process. > > > > The MTA, however, won't reject or accept the mail, based on Razor or > > SpamAssassin. What will happen, instead, is that you can set up your > > /etc/procmailrc file to send anything with "RAZOR2_CHECK" in the report to > > /dev/null. > > But you can also use SpamAssassin directly from the MDA (e.g., with > spamass-milter for sendmail, or with qpsmtpd as a qmail-smtpd > replacement) and then you can reject mails which exceed a certain > threshold. IMHO this is preferrable to just throwing mails into the > bitbucket. > > There is a general problem with doing checks in the MTA, though: If you > are already into the DATA phase, you can only reject or accept the mail > as a whole - you cannot accept it for some recipients, but not for > others. So it it a bit difficult to implement different checks for > different users.
That's where a program like amavis-new comes in. I use Amavis-new with SpamAssassin/Razor, plus clamav, and it allows me to tailor rejections per user. Amavis works best with postfix, but there are milter variations. With postfix, the message is received by the postfix mailer, a 250 is sent off, and then the message is forwarded to amavis. Amavis recieves the mail via lmtp, does it's filtering magic, and then either sends a DSN, forwards the mail, quarantines the mail, or some combination there of. With clamav, I also get to strip all of the viruses, and Amavis-new has a bunch of other filters to strip out other nasty attachments. -- Daniel J McDonald CCIE # 2495, CNX Visit my website: http://www.austinnetworkdesign.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Razor-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/razor-users