|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
RE: How to disable outbound virus scanning (amavisd-new, spamassassin)
From: Adam C. Mathews (amathews
adrds.com)
Date: Mon Jan 15 2007 - 17:53:08 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
-----Original Message-----
From: owner-postfix-users
postfix.org
[mailto:owner-postfix-users
postfix.org] On Behalf Of Jim Rice
Sent: Monday, January 15, 2007 1:20 PM
To: Postfix users
Subject: How to disable outbound virus scanning (amavisd-new,
spamassassin)
Can virus scanning be disabled for outbound email?
Is that a "bad thing"?
We send out invoices and mass email campaigns to our customer base,
and there is significant overhead involved with needless scanning.
How do I find out if postfix is configured for outbound scans,
and how do I disable it?
(Postfix 2.2.3, amavisd-new 2.3.2)
master.cf:
amavisd-new unix - - n - 4 smtp
main.cf:
content_filter = amavisd-new:[127.0.0.1]:10024
------------------------------------------------------------------------
-----------------------------------------------------
I'll probably be chastised for providing an amavisd-new fix but I guess
I look for the easy way...
Tell amavisd-new not to scan on mail from your internal address
range(s).
This is what does it for me in my amavisd.conf file. Just add the
proper line for "don't check for virus"... find it in the amavisd-new
docs
mynetworks = qw( 127.0.0.0/8 [::1] 192.168.10.0/24 192.168.20.0/24);
$policy_bank{'MYNETS'} = { # clients in
mynetworks
bypass_spam_checks_maps => [1], # don't spam-check internal mail
bypass_banned_checks_maps => [1], # don't banned-check internal mail
bypass_header_checks_maps => [1], # don't header-check internal mail
};
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]