Hi Michal,

> The mail system in my office is a bit complicated and, for some users,
> messages are send through more than one mail server. I'd like to avoid
> multiple SA checks but I don't know how to do it.

you could try something like this :

if ((-s "./INPUTMSG" < 100*1024) && ($RelayAddr !~ /^192\.168\.1/ ) &&
($RelayAddr !~ /^213\.193\.123/ )) {

instead of

if (-s "./INPUTMSG" < 100*1024) {

in filter_end where 192.168.1.xxx and 213.193.123.yyy
are possible IPs of mail servers which already do some
spam checks with spamassassin. This works for me ...


Cheers,

Torsten
-- 
    __  __      __       http://www.fireball.de
   / / / /     /_/       Torsten Eberhardt
  / / / /___  ____  __   Lycos Europe GmbH
 / /_/ / __ \/ /\ \/ /   20444 Hamburg
/_____/_/ /_/_/ /_/\_\   +49(0)40 3703-7720 FAX -7757

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to