root@mail:/etc/postfix# cat master.cf | grep virtual
virtual unix - n n - - virtual
root@mail:/etc/postfix# cat mysql-virtual_sender_permissions.cf
user = froxlor
password = secret
dbname = froxlor
hosts = localhost
query = SELECT DISTINCT username FROM mail_users WHERE email in ((SELECT mail_virtual.email_full FROM mail_virtual WHERE mail_virtual.email = '%s' UNION SELECT mail_virtual.destination FROM mail_virtual WHERE mail_virtual.email = '%s'));
root@mail:/etc/postfix# cat mysql-virtual_alias_maps.cf
user = froxlor
password = secret
dbname = froxlor
hosts = localhost
query = SELECT destination FROM mail_virtual WHERE email = '%s' AND trim(destination) <> ''
And a quick test with postmap seems to succeed and returns the correct destination...
Question
Guest
And a quick test with postmap seems to succeed and returns the correct destination...
Anybody else? This is just strange.
Thanks
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.