postfix-users February 2011 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: domain-aliases / recipient_canonical_maps / v

Re: domain-aliases / recipient_canonical_maps / vrfy

From: Reindl Harald <h.reindl_at_nospam>
Date: Tue Feb 08 2011 - 07:53:18 GMT
To: lst_hoe02@kwsoft.de

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 lst_hoe02@kwsoft.de:
> Zitat von Reindl Harald <h.reindl@thelounge.net>:
>
>> Am 07.02.2011 22:56, schrieb lst_hoe02@kwsoft.de:
>>
>>> This is your source of recipient checking...
>>> So it matters what you get from this by querying with "postmap -q <recipient-address>
>>> mysql:/etc/postfix/mysql-recipients.cf
>>
>> 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 invalif@thelounge.net i check
>> if invalid@thelounge.net 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.
>
> Regards
>
> Andreas
>
>

-- 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/