|Main Archive Page > Month Archives > postfix-users archives|
Hm, OK, i will start my IDE and develop something nice
local_recipient_maps = mysql:/etc/postfix/mysql-recipients.cf
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual_alias.cf
Can i use both as above because "mysql-recipients.cf" are from
the dbmail-alias-table and i would like to implement a function
that fills a additional table with the alias-mappings outside
the scope of dbmail himself?
What i would expect is that postfix will use both for verify
and if receive a message to a virtual_alias it deliver
the message to dbmail-lmtp with the "real address"
Thank you all!
Am 08.02.2011 08:45, schrieb firstname.lastname@example.org:
> Zitat von Reindl Harald <email@example.com>:
>> Am 07.02.2011 22:56, schrieb firstname.lastname@example.org:
>>> This is your source of recipient checking...
>>> So it matters what you get from this by querying with "postmap -q <recipient-address>
>> exactly this is the reason why i need a working domain-alias
>> "mysql-recipients.cf" is querying dbmail for valid addresses
>> dbmail do not have domain-aliases and so postfix should handle
>> this by saying "thelounge.at is an alias for the lounge.net
>> and if someone sends a mal at email@example.com i check
>> if firstname.lastname@example.org exists"
> Wildcards disable recipient verification. As others said your only options are:
> - List *all* valid recipient addresses as virtual aliases and rewrite as needed
> - List only bare username with local domain class
> With the second one *all* local-part addresses exist in *all* domains listed in mydestination.
-- Mit besten Grüßen, Reindl Harald the lounge interactive design GmbH A-1060 Vienna, Hofmühlgasse 17 CTO / software-development / cms-solutions p: +43 (1) 595 3999 33, m: +43 (676) 40 221 40 icq: 154546673, http://www.thelounge.net/