On Thu, Aug 20, 2009 at 08:08:16PM +0200, Magnus Bäck wrote:
> 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.
Or not designate the domain as a virtual mailbox domain.
--
Viktor.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:[email protected]?body=unsubscribe%20postfix-users>
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.