Re: [Exim] Need help with Virtual domains

Top Page
Delete this message
Reply to this message
Author: Dave C.
Date:  
To: Ariel Sandberg-Maitland
CC: exim-users
Subject: Re: [Exim] Need help with Virtual domains

Aha.. Here was the problem.. Technically, you should not have both a
CNAME and any other records for a given owner..

parvata.ca.             1H IN MX        0 dogstar.parvata.ca.
parvata.ca.             1H IN MX        5 rembrandt.parvata.ca.
parvata.ca.             1H IN CNAME     dogstar.parvata.ca.


Basically, when someone tries to mail user@???, the sending
system is ignoring the MX records, and using the CNAME to change that to
user@???..

Which has no MX record, but it has an A record, which is still
acceptable:

dogstar.parvata.ca.     1H IN A         64.26.169.32


My recommendation for your setup to be 'Proper' would be to remove the
CNAME..

On Sun, 25 Feb 2001, Ariel Sandberg-Maitland wrote:

> OK,
> SO after using the exim -bh 1.2.3.4 (or mail address of other smtp server)
> this is what happens:
> 220 dogstar.parvata.ca ESMTP Exim 3.16 #1 Sun, 25 Feb 2001 12:58:33 -0500
> helo blah
> 250 dogstar.parvata.ca Hello mail.ottawa.com [209.217.94.166]
> mail from: asandberg@???
> >>> asandberg@??? in sender_reject? no (option unset)
> >>> asandberg@??? in sender_reject_recipients? no (option unset)
> 250 <asandberg@???> is syntactically correct
> rcpt to: test@???
> >>> dogstar.parvata.ca in local_domains? no (end of list)
> >>> dogstar.parvata.ca in relay_domains? no (end of list)
> >>> host in host_accept_relay? no (end of list)
> 550 relaying to <test@???> prohibited by administrator
> LOG: refused relay (host) to <test@???> from
> <asandberg@???> H=mail.ottawa.com (blah) [209.217.94.166]
>
> So what I think is happening is mail.ottawa.com is getting the cname of
> parvata.ca; wich is dogstar, so it resolves it to that name somehow.
>
> So I just tried this:
> local_domains = localhost:parvata.ca:telksine.ca:dogstar.parvata.ca
>
> And it works!
>
> thanx,
> Ariel
>
>
> Get your Free email at http://mail.ottawa.com/
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>


--