3 msgINFO: unfolded 1 illegal all-whitespace continu...
4 msgpolicy_bank
1 msgGlobal keywords filter with amavisd-new?
8 msgQuestion about amavisd version 2.3.3 - compat w...
14 msgbanned files questions
1 msgAny get amavis-new running with Scalix Communit...
3 msgamavisd-new-2.4.3 release candidate 2 available
2 msgAmavis - Spam Notification
2 msgSharing spam-training techniques
3 msgmessage size quarantine
2 msgProblem (and solution) to deeply nested mime pa...

policy banks with smtpd_recipient_restrictions ...
\ Steven Myers (18 Sep 2006)
. \ Noel Jones (18 Sep 2006)
. \ Mark Martinec (21 Sep 2006)

3 msgDisable SQL logging, how to...
2 msgUnused channels
2 msgAmavisd-new And sql pref what we do ?
2 msgamavisd-new crashes
2 msgMore questions on bypassing incoming mail
4 msg@spam_quarantine_to_maps question
3 msgFwd: amavisd example ldif
5 msgWhich Mysql to choose?
Subject:policy banks with smtpd_recipient_restrictions =check_client_access, check_send
Group:Amavis-user
From:Steven Myers
Date:18 Sep 2006


Hello,

we try to use thre different policy banks for thre instances of amavis.

amavisd.conf:
$interface_policy{'10024'} = 'EXTERNAL';
$interface_policy{'10040'} = 'RELAY';
$interface_policy{'10044'} = 'AUTH';

The RELAY instance gets mails from another relay. These mail have already
been checked for viruses and sorts out spam. The EXTERNAL instance perfoms a
spam and virus check and the AUTH instance neither does a spam nor a virus
check.

In the postfix main.cf are the following lines:
content_filter = smtp-amavis:[127.0.0.1]:10044
smtpd_recipient_restrictions =
check_client_access cidr:/usr/local/etc/postfix/filter-myrelay.cidr,
permit_sasl_authenticated,
reject_unauth_destination,
check_sender_access regexp:/usr/local/etc/postfix/filter-catchall.regexp

with filter-myrelay.cidr:
196.168.10.10 FILTER smtp-amavis:[127.0.0.1]:10040

and filter-catchall.regexp:
/^/ FILTER smtp-amavis:[127.0.0.1]:10024


Our problem is that the RELAY and EXTERNAL policies are both triggered:

Sep 18 15:33:43 mailserver1 postfix/smtpd[53615]: NOQUEUE: filter: RCPT from
relay.foo.bar[196.168.10.10]: <relay.foo.bar[196.168.10.10]>: Client host
triggers FILTER smtp-amavis:[127.0.0.1]:10040; from=<pointeriulian>
to=<foo> proto=ESMTP helo=<relay.foo.bar>
Sep 18 15:33:43 mailserver1 postfix/smtpd[53615]: NOQUEUE: filter: RCPT from
relay.foo.bar[196.168.10.10]: <pointeriulian>: Sender address
triggers FILTER smtp-amavis:[127.0.0.1]:10024; from=<pointeriulian>
to=<foo> proto=ESMTP helo=<relay.foo.bar>

Why? Can anyone help?

Thanks,

S.

_________________________________________________________________
Buy what you want when you want it on Sympatico / MSN Shopping
http://shopping.sympatico.msn.ca/content/shp/?ctId=2,ptnrid=176,ptnrdata=081805


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V
_______________________________________________
AMaViS-user mailing list
AMaViS-user
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


© 2004-2010 readlist.com