Re: Can't achieve alias working with SQL
Le 19/05/2015 14:54, Jorge Bastos a écrit :
Hi Samuel,
On a fresh install of Jessie, I achieve to make dovecot/postfix working with SQL, but I still can't send email to alias for wich one I get : "Unknown user"
After debug enable in dovecot, I see that the user_query SQL , just query for the "users" table and not the "forward" table so the final alias user is not known.
But when I check postfix for alias, it seems ok :
root@cluster-dovecot:/etc/dovecot# postmap -q contact2@XXXXXXXX.com mysql:alias_maps contact@XXXXXXXXXX.com
So what do I missed for alias working with dovecot ?
I had similar question on how to make it working, and it ended up being:
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf
In fact, this part is yet in my main.conf and is working (see my postmap query above).
And I don't understand why dovecot doesn't use it.
So I revert back my dirty user_query and I'm still searching why I can't send email to alias ....
Thanks.
Samuel.
participants (1)
-
Samuel