bypass mailscanner for certain senders
Duncan, Brian M.
brian.duncan at kattenlaw.com
Wed Oct 25 14:37:04 IST 2006
I use the following (the IP's are just an example of how specific or
unspecific you can be - I personally only list the IP's at a /32 level
of my internal mail servers that relay through the servers - We already
have 2 levels of email virus scanning for inside going out so we do NOT
need MailScanner to do outgoing mail)
Change MailScanner.conf line:
Scan Messages = yes
to:
Scan Messages = %rules-dir%/scan.messages.rules
Example scan.messages.rules: (which is located in /etc/MailScanner/rules
in my case)
From: 10.1.10.1 no
From: 10.1.10.2 no
From: 10.10. no
From: 10.2.10. no
FromOrTo: default yes
The above will do ALL MailScanner related stuff to ALL messages coming
from any other IP other then 10.1.10.1, 10.1.10.2, anything on 10.10.x.x
subnet, and anything on 10.2.10.x subnet. All other messages will just
be passed through with nothing done to them. So keep this in mind if you
still need Virus Scanning done and it's NOT just Spam checking you want
to turn off on outgoing mail.
> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf
> Of Sukh Khehra
> Sent: Tuesday, October 24, 2006 4:35 PM
> To: mailscanner at lists.mailscanner.info
> Subject: bypass mailscanner for certain senders
>
> Hi I was wondering if I can have mailscanner not do anything
> to the messages based on the originating IP address. For a
> given sender, I want it to simply grab the message from the
> MTA incoming queue ( in my case the postfix hold directory )
> and place it in the MTA outgoing queue without performing any
> of the tests on it.
>
> The alternative solution would be to have postfix not put the
> message in the hold queue to begin with for certain senders.
> Anyone know how to do either one of these? I'd appreciate the help.
>
> Regards,
> Sukh
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
===========================================================
CIRCULAR 230 DISCLOSURE: Pursuant to Regulations Governing Practice Before the Internal Revenue Service, any tax advice contained herein is not intended or written to be used and cannot be used by a taxpayer for the purpose of avoiding tax penalties that may be imposed on the taxpayer.
===========================================================
CONFIDENTIALITY NOTICE:
This electronic mail message and any attached files contain information intended for the exclusive use of the individual or entity to whom it is addressed and may contain information that is proprietary, privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any viewing, copying, disclosure or distribution of this information may be subject to legal restriction or sanction. Please notify the sender, by electronic mail or telephone, of any unintended recipients and delete the original message without making any copies.
===========================================================
NOTIFICATION: Katten Muchin Rosenman LLP is an Illinois limited liability partnership that has elected to be governed by the Illinois Uniform Partnership Act (1997).
===========================================================
More information about the MailScanner
mailing list