Re: Unifying virtual_alias_maps and domains

2013-09-11 Thread Florian Lindner
Am Mittwoch, 11. September 2013, 15:30:15 schrieb Viktor Dukhovni: On Wed, Sep 11, 2013 at 05:18:55PM +0200, Florian Lindner wrote: Since there are not many users and rather low mail traffic on the machine I want to simplify the query. There will be no more mail enabled or disabled domains,

Unifying virtual_alias_maps and domains

2013-09-11 Thread Florian Lindner
Hello! Currently I've virtual_alias_maps and virtual_alias_domains set: virtual_alias_domains = mysql:/etc/postfix/mysql-virtual-alias-domains.cf virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf domains use this query: query = SELECT domain FROM domains WHERE mail AND domain

Re: Unifying virtual_alias_maps and domains

2013-09-11 Thread Viktor Dukhovni
On Wed, Sep 11, 2013 at 07:26:28PM +0200, Florian Lindner wrote: With virtual alias domains, the recipient *must* be found in virtual alias maps (close enough to the truth), while with other domains the recipient *may* be found in virtual alias maps. Ok, I hope I'm right now: A