3 msgRe: Virtual domain aliases

address verify vs. virtual_alias_maps
\ Arpi (28 Nov 2007)
. \ mouss (28 Nov 2007)
. . \ Arpi (28 Nov 2007)
. . . \ Arpi (30 Nov 2007)

20 msgPostfix/ClamAV Config Error
4 msgsmtp /dev/poll problem
6 msgAddresses filtering for only one supported domain
14 msgGreylist question
1 msgOne transport with AUTH and other transport wit...
7 msgIs this expected reject behavior for foreign IP...
3 msgrelay_domains and virtual_mailbox_domains not w...
2 msgNeed help debugging a possible content filter p...
11 msgspam emails with | in front of the email addresses
9 msgunexpected domain rewrite (by postfix?)
5 msgError receiving email
20 msgPostfix 2.5-20071111, smtp.gmail.com, bouncing ...
1 msgBounce notification configure
45 msgRe: Recipient validation
2 msgUse of MySQL for lookups
8 msgproposal: change behavior with respect to recip...
11 msgOT: Any bad DKIM experiences?
8 msghashed spool directories
Subject:address verify vs. virtual_alias_maps
Group:Postfix-users
From:Arpi
Date:28 Nov 2007


 
Hi,

We have a posfix mail server, which does content filtering (spam virus etc)
for all of our mail servers, as a relay. I've enabled address verify
(both sender and recipient) for all of our server domains. It's working fine.

Now I've added
virtual_alias_maps = hash:/etc/postfix/virtual, ldap:ldapforward, ldap:ldapvirtual
which does address translation for many of our domains where the
addresses are redirected to other addresses (users moved and have their
old mail forwarded, and some users moved to an ms exchange server).
The problem is, that I dont want to do address verification for these
foregin domains, where some of our addresses are forwarded/virtaal_aliased.
(there are some servers, where address verify doesnt work)

Is there any way, to tell postfix which domains NOT to verify
mail to? Adding it to check_recipient_access maps in
smtpd_recipient_restrictions doesnt work, as it's used by smtpd only,
and address verify ignores that when doing the address verify.
Or any way to force verify to verify only mails to listed domains,
and do this domain check _after_ resolving virtual_alias mappings ?

For example:
smtpd receives a connection, with recipient arpi.
there is a such line in the check_recipient_access map:
bmf.hu reject_unverified_recipient
so it does address verify. it's ok.
but this address is mapped to an external address in virtual_alias_maps:
arpi arpi
so the verify process connects thot.banki.hu to verify this address.
but i dont want it to connect thot.banki.hu!

if the address is listed in virtual_alias_maps, then it's an existing
address (but at least an address i can assume it's a working one)
so no further checks needed!

i hope the problem is clear now.
any ideas?

A'rpi


© 2004-2008 readlist.com