On Thursday, August 20, 2009 at 19:21 CEST,
     David Koski <[email protected]> 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:
> 
> [email protected]      dovecot:
> [email protected]        dovecot:
> [email protected]      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:[email protected]
> 250 2.1.0 Ok
> rcpt to:[email protected]
> 550 5.1.1 <[email protected]>: 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
[email protected]

Reply via email to