Alex,

> I have a new mail server postfix+amavis+mysql+virtual domains+dovecot
> Amavis is use to scan incoming mails with SA and clamd.
> [...]
> My problem : I want that email between my virtual domains to bypass all
> scans (sa, clamd, badh..) and only mails from outside to get scanned.
> For example : I have domain1.tld and domain2.tld listed in my virtual
> domains. What I want is that the emails send it by u...@domain1.tld to
> u...@domain2.tld to bypass all scans but in the same time emails send it
> by u...@yahoo.com to get through all scans.
> 
> I have look into archive and found references to :
> http://www200.pair.com/mecham/spam/bypassing.html
> but can't figure out how to resolve my problem

As the sender's e-mail address is easily and commonly faked, I suggest
you first rephrase your request. It makes more sense to say for example:
avoid checking mail coming from your internal networks or authenticated
senders, addressed to other local domains (or perhaps regardless of a
recipient). Such a test is reliable, unlike a test for sender address,
which is a poor choice.

If you already have a dedicated mail submission mailer (MSA), restricted
to mail submission from your own users, this makes the cleanest
and easiest configuration: just pass mail coming from MSA for filtering
to a dedicated amavisd port, where a policy bank with disabled scans
is attached. If a recipient's domain needs to be checked too,
this then belongs to a setting within a policy bank.

  Mark

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to