On Thursday, August 20, 2009 at 19:21 CEST, David Koski <da...@kosmosisland.com> wrote:
> I have a domain split on two postfix servers. The secondary (not the > default) hosts only a few email accounts so I added them to the > transport map: > > off...@domainchanged.com dovecot: > o...@domainchanged.com dovecot: > reu...@domainchanged.com dovecot: > ... > > This works for local delivery and accepts email from the primary > server just fine. However, when using this secondary server for > relaying to accounts hosted on the primary the delivery fails: > > # telnet localhost 25 > Trying 127.0.0.1... > Connected to localhost.localdomain. > Escape character is '^]'. > 220 imail.domainchanged.com ESMTP Postfix (Debian/GNU) > helo kosmosisland.com > 250 imail.domainchanged.com > mail from:da...@kosmosisland.com > 250 2.1.0 Ok > rcpt to:t...@domainchanged.com > 550 5.1.1 <t...@domainchanged.com>: Recipient address rejected: User unknown > in virtual mailbox table > > So I added to the transport table at the end: > > * smtp:[mail.domainchanged.com] > > mail.domainchanged.com is the primary. This did not help. What is > the trick? The transport table isn't used for recipient address validation. Remove the wildcard entry. You must list all of the domain's valid addresses in the virtual mailbox table. -- Magnus Bäck mag...@dsek.lth.se