On 12/2/2010 9:32 AM, Jason Voorhees wrote:
Hi:
I'm running Postfix 2.3.3 for a domain 'mydomain.com' with some users
hosted locally (with Cyrus IMAP) and some others are hosted by a MS
Exchange server.
I configured a transport map for all users that need to be relayed to
the MS exchange like this:
exchangeus...@mydomain.com smtp:[A.B.C.D]
exchangeus...@mydomain.com smtp:[A.B.C.D]
exchangeus...@mydomain.com smtp:[A.B.C.D]
...
...
This is my transport map and is working fine. But we also have aliases
at /etc/aliases like:
postfixuser1: postfixuser2, postfixuser3
postfixuser4: postfixuser5, postfixuser6
...
...
The problem is that this aliases aren't working for Exchange users at
/etc/aliases:
exchangeuser1: exchangeuser2
I'm assuming "/etc/aliases" is listed in alias_maps. According to "man 5
postconf"
alias_maps (default: see "postconf -d" output)
The alias databases that are used for local(8) delivery. See
aliases(5) for syntax details.
This means that only the local(8) delivery agent uses these.
In order for this to work, you should add non-local user aliases to
virtual_alias_maps using the fully qualified addresses on both the left
and right sides.
virtual_alias_maps are global and you *should not* add anything to
virtual_alias_domains.
Brian