Re: turning off hostname rewriting?

From: Simon White (no email)
Date: Mon Dec 02 2002 - 05:14:02 EST


30-Nov-02 at 21:52, Scott Blachowicz () wrote :
> I've been looking all over and can't find the answer to this one. I have a
> CNAME alias (sabami.seaslug.org) with a local user's group that I want to use
> as my mail server's hostname, so I've got this in my postfix config:

Use multiple A records. The example below is not a good use of CNAME,
since they map to aliases with other domain names. DO NOT use CNAME for
MX records. They must be fully qualified A records in order to not break
things.

> to make sure I get all my aliases in the mydestination (is that necessary?). The way
> things are configured is like this:
>
> sabami.seaslug.org CNAME mail.dsab.rresearch.com
> sab.rresearch.com CNAME mail.dsab.rresearch.com
> mail.dsab.rresearch.com A 12.235.153.213

> What I want is for @sabami.seaslug.org to be the
> FQDN that gets used on all email leaving my mail server. But, what seems to be
> happening is that it gets rewritten (in the envelope sender, To/Reply-to header
> addresses, at least) to @mail.dsab.rresearch.com. I assume there's some logic in
> there somewhere that is converting CNAME references into the hostname on an A
> record?? Is there any way to get what I want here?

Incidentally

host 12.235.153.213
213.153.235.12.in-addr.arpa. domain name pointer
12-235-153-213.client.attbi.com

So it's a dynamic IP allocation? You aren't going to get reverse DNS to
agree with you.

And
host sabami.seaslug.org
sabami.seaslug.org. is an alias for mail.dsab.rresearch.com.
mail.dsab.rresearch.com. has address 12.235.153.213

This is the problem. The line with the IP address contains a different
hostname. Make multiple A records. MX records ought to be A records, not
CNAMEs.

-- 
[Simon White. vim/mutt. . Folding at home no log script yet...]
Note to experienced users: Please don't encourage anti-support behavior.
Don't try to answer questions from users who don't provide the necessary
information. Guessing what they did is an incredible waste of time. (DJB)







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD