From: Victor Duchovni (no email)
Date: Fri May 27 2005 - 15:34:41 EDT
On Fri, May 27, 2005 at 08:19:03PM +0100, Matt Fretwell wrote:
> Victor Duchovni wrote:
> > > I am trying to set up a mail server using a relayhost in our network
> > > for the outgoing email. My server has a FQDN host.mydomain.com and a
> > > cname cname.domain.com, I would like to send and receive email using
> > > the cname and not host.mydomain.com.
> > Sorry, there is too much deployed software that follows RFC821 (rather
> > than the newer 2821) and replaces the CNAME with the TARGET FQDN.
> > You should not, for next few years at least, use the LHS of a DNS CNAME
> > RR in an email address.
> Firstly, to the OP. My apologies. I completely missed the postconf -n
> output at the bottom of your post.
> Is the domain part in the address automatically rewritten back to its
> FQDN if you try to use a cname as myhostname|mydomain? Just for
> curiousity value.
There is nothing to discuss, the rewrites take place and will continue
to take place on remote systems, completely outside the OP's control,
that are running Sendmail, older versions of Postfix, and so on.
As the OP cannot update MTA software on the entire Internet, he cannot
use a CNAME in email addresses (well he can if he also accepts mail
without prejudice when rewritten to the underlying host, but he
wants to see the CNAME only and this is just not possible).
-- 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:?body=unsubscribe%20postfix-users>