postfix-users May 2011 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: "alias_maps" with mysql ignored

"alias_maps" with mysql ignored

From: Reindl Harald <h.reindl_at_nospam>
Date: Fri May 27 2011 - 14:44:43 GMT
To: Mailing-List postfix <postfix-users@postfix.org>

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:~]$ mail harry
> Subject: hm
> test
> .
> EOT
________________________

[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.harald@gmail.com

May 27 16:37:16 srv-rhsoft postfix/lmtp[1510]: B40E3336: to=<harry@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
<harry@srv-rhsoft.rhsoft.net> OK)