On 2/7/2011 5:44 PM, Reindl Harald wrote:
Am 07.02.2011 22:56, schrieb lst_ho...@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 inva...@thelounge.net i check
if inva...@thelounge.net exists"
the "recipient_canonical_maps" seems to use the @targetdomain
and DO NOT use "mysql-recipients.cf" becasue "invalid@domain"
does not exist and is received for the alias-domain and the
reject happens later after rewrite the rctp by the lmtp
Don't use "domain aliases".
Wildcard address rewrites disable recipient validation.
You must arrange your queries so that "postmap -q
inva...@example.at map:file" returns no answer.
The normal way to do this with hash: tables is with identity
mappings rather than using wildcards, however you may be able
to use a clever SQL query to accomplish the same thing.
-- Noel Jones