On Wed, Mar 31, 1999 at 04:43:13PM -0500, Greg Owen {gowen} wrote:
> From FAQ 2.5:
>
> Answer: The SMTP standard does not permit aliased hostnames,...
>
> I'm trying to do something with DNS alias involved, but I think it should
> still work. If someone could just sanity check me here, I'd appreciate it.
>
> The base:
>
> I have a machine search.scansoft.com. It is a web server, and has many
> aliases (www, beta, etc. etc.). I am installing mailing list services on
> this web server. As their use grows, we'll probably want to move them off,
> so I'm setting the list server as 'list.scansoft.com' and have created an
> alias in DNS pointing 'list.scansoft.com' to 'search.scansoft.com'. Now, as
> I understand it, that won't work, in and of itself, as per FAQ 2.5. But
> I've also requested an MX record pointing 'list.scansoft.com' to
> 'search.scansoft.com' (the A record for this machine) with an MX value of
> 10.
Don't "also" have an MX record, in addition to a CNAME record. MTAs will (or
might?) canonicalize the name before doing any MX lookups, so the MX record
will never be seen. That is to say, the MTA will note that search.scansoft.com
is the canonical name for list.scansoft.com, and will do any MX lookups on
search.scansoft.com.
If you all you want is for mail for list.scansoft.com to be handled by
search.scansoft.com, then use *only* an MX record. If you also want the machine
to be addressable as list.scansoft.com, add an A record--not a CNAME. Don't use
CNAME records to route mail.
> Currently, when I mail to this system through my qmail relays, I get:
>
> <[EMAIL PROTECTED]>:
> 4.17.150.115 does not like recipient.
> Remote host said: 553 sorry, that domain isn't in my list of allowed
> rcpthosts (
> #5.7.1)
> Giving up on 4.17.150.115.
>
> Is that because the MX record isn't working yet, or is it because of
> something more complicated? Let me explain the rest of my mail setup.
You need to add list.scansoft.com to rcpthosts. You also need to add it to
locals or virtualdomains, depending on how you're using it.
> Aside from this mail server, I have two mail relays (hunin.scansoft.com MX
> 10, and munin.scansoft.com MX 20) which accept mail for "scansoft.com".
> They then pass it along to the actual mail store via smtproutes. Is it
> possible that, because they accept mail for "scansoft.com", they're not even
> looking further for "list.scansoft.com"? (4.17.150.115 above is
> munin.scansoft.com, the outgoing mail relay). Or will it start working as
> soon as that MX record for list.scansoft.com gets installed on the DNS
> servers?
scansoft.com and list.scansoft.com are two different domains. Fix up your DNS,
rcpthosts, and locals/virtualdomains stuff, and none of this will be a problem.
Chris