This is a discussion on Re: [AMaViS-user] How to prevent usage of Spam assassin when within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; >>> "Xavier Beaudouin" <kiwi@oav.net> 10/04/05 4:50 PM >>&...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
>>> "Xavier Beaudouin" <kiwi@oav.net> 10/04/05 4:50 PM >>>
>Hello there, > >I currently use a simple setup to scan / av my mails but I need a hint to >avoid scanning mail with SA when sending a mail. > <snip> >Thanks, >/Xavier Yes you can. From the amavisd-new postfix readme at: http://www.ijs.si/software/amavisd/README.postfix.txt it quotes: A tip from Wietse Venema (2002-12-12): | If you want to filter inbound SMTP mail only, then: | | /etc/postfix/main.cf: | smtpd_recipient_restrictions =3D | check_recipient_access hash:/etc/postfix/recipient_access | ...the usual stuff here... | reject_unauth_destination | | /etc/postfix/recipient_access: | my.domain FILTER foo:bar | | That filters all the mail that has at least one recipient in your | domain, and does not filter mail with external recipients only. (comment: the 'foo:bar' is what you would traditionally specify in content_filter option, i.e. smtp-amavis:[127.0.0.1]:10024 ) Cheers, SteveC ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |