Deeztek.com Support:
> On 2/24/2013 10:19 AM, Wietse Venema wrote:
> > Deeztek.com Support:
> >>>> Most of the e-mail for that domain is of course relaying to the 1.1.1.1
> >>>> server. However, there are some e-mail addresses on that domain  that I
> >>>> want to make an exception for and I need to relay the e-mail to 2.2.2.2
> >>>> instead of 1.1.1.1. So, if we had a user called [email protected] that
> >>>> instead of relaying to 1.1.1.1 like normal, how would I input that entry
> >>>> in etc/postfix/virtual to instead relay to the 2.2.2.2 server?
> >>> /etc/postfix/main.cf:
> >>>        virtual_alias_maps = hash:/etc/postfix/virtual
> >>>
> >>> /etc/postfix/virtual:
> >>>        [email protected]   joe@[2.2.2.2]
> >>>
> >>>   Wietse
> >> Not working. The relay server completely ignores the virtual entry and
> >> instead uses the transport relaying to the 1.1.1.1 server which of
> > Then you made a mistake. Please double check what you do.
> >
> > $ postmap -q [email protected] /etc/postfix/virtual
> >
> >     Wietse
> this is the error I'm getting from the logs:
> 
> Feb 24 10:30:30 smtp postfix/smtp[6526]: 8A79342089: to=<joe@[2.2.2.2]>, 
> orig_to=<[email protected]>, relay=2.2.2.2[2.2.2.2]:25, delay=5.3, 
> delays=0.17/0/0.03/5, dsn=5.1.3, status=bounced (host 2.2.2.2[2.2.2.2] 
> said: 501 5.1.3 Invalid address (in reply to RCPT TO command))

The machine does not implement RFC 5321. I can't fix that for you.

        Wietse

Reply via email to