On 5/27/2011 10:44 AM, Reindl Harald wrote:
> hm - has anybody an idea why the following message is expanded to "myorigin"
> instead using "alias_maps" and relay to the external address?
> [root@srv-rhsoft:~]$ postconf -n alias_maps
> alias_maps = proxy:mysql:/etc/postfix/mysql-aliases.cf
>
> [root@srv-rhsoft:~]$ postalias -q "harry" 
> proxy:mysql:/etc/postfix/mysql-aliases.cf
> reindl.har...@gmail.com
>
> May 27 16:37:16 srv-rhsoft postfix/lmtp[1510]: B40E3336: 
> to=<ha...@srv-rhsoft.rhsoft.net>, orig_to=<harry>,
> relay=127.0.0.1[127.0.0.1]:24, delay=1.1, delays=0.34/0.24/0.02/0.46, 
> dsn=2.0.0, status=sent (215 Recipient
> <ha...@srv-rhsoft.rhsoft.net> OK)
From: 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.

The transport above is NOT local(8), you probably want a
virtual_alias_maps with fully qualified addresses on both sides.

Reply via email to