Displaying 1 result from an estimated 1 matches for "posuser".
Did you mean:
popuser
2014 Nov 07
0
Virtual alias with dovecot
...com> User
doesn't exist: b at a.com (in reply to RCPT TO command))
Nov 7 23:04:13 fastmail dovecot: lmtp(4687): Disconnect from local:
Successful quit
Postfix alias conf:
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf
cat mysql-virtual-alias-maps.cf
user = posuser
password = popass
hosts = 127.0.0.1
dbname = postfix
query = SELECT deliver_to FROM dovecot_aliases WHERE alias='%s'
where the table structure is:
CREATE TABLE `dovecot_aliases` (
`id` int(11) NOT NULL,
`alias` varchar(255) NOT NULL,
`deliver_to` varchar(255) NOT NULL,...