hi i have a little problem implementing alias-domains the backend is dbmail with some additional tables and a inhouse developed webui for dbmail/postfix/dovecot-proxy
i'm using "recipient_canonical_maps" as follows what works but RCPT-Verify for "inva...@aliasdomain.tld" gives back that the address is valid, so the mail will be received and after that "inva...@targetdomain.tld" is correctly rejected from lmtp and postfix sends a bounce-mesage wgat results in backscatter while implement this i thought "recipient_canonical_maps" will rewrite the rcpt before verification, but this seems not to be true so my question: is this a bug in "recipient_canonical_maps" or is there any better way to do this without changing the table "dbma_rewrite_domains" because chnages there would result in changing the backend-software finally postfix should reject directly invalid addresses and we must have in mind that the target-domain could have "@postmaster" (global forwarder for postmaster@alldomains) and some catch-all-addresses in form of "@targetdomain.tld" ___________________________ recipient_canonical_maps = mysql:/etc/postfix/mysql-rewritedomains.cf [root@mail:/etc/postfix]$ cat /etc/postfix/mysql-rewritedomains.cf user = dbmailro password = **** dbname = dbmail hosts = unix:/var/lib/mysql/mysql.sock query = select target from dbma_rewrite_domains where source like '%d' ___________________________ CREATE TABLE `dbma_rewrite_domains` ( `source` varchar(255) NOT NULL, `target` varchar(255) NOT NULL, PRIMARY KEY (`source`) ) mysql> select * from dbma_rewrite_domains where source='thelounge.at'; +--------------+----------------+ | source | target | +--------------+----------------+ | thelounge.at | @thelounge.net | +--------------+----------------+ -- 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/
signature.asc
Description: OpenPGP digital signature