Peter Holm wrote:
> Hi,
>
> does courier override dns mx entries with it�s local settings? I have
> a situation, where this happens. I would like to change this.
>

courier does not change any dns settings, however if a domain is in
hosteddomains or in locals it is treated as such and will attempt to deliver
locally, unless overridden with esmtproutes (check details at
http://www.courier-mta.org/courier.html )
You seem to have a special case because as you have it configured you are
treating domains as locally delivered although they are not, you could
possbily put a global esmtproutes entry when the server is in fallback mode
and remove it when its working as the master.

> Server.A is a machine that is configured as a Fallback Mail Server. If
> the main.mailserver.dom is offline, dns A records change and Server.A
> will be main.mailserver.tld itself. (Yes, multiple mx records should
> be sufficient, but we use this fallback for webservers anyway so using
> it for mailservers was a site-effect...)
>
> So Server.A has always a fully functional courier configuration for
> several domains, including example.com, waiting in "hot standby mode"
> for it�s combat order.
>
> Now, just for some practical reasons and to not let the machine feel
> so lonely, I am using this Server.A as the  mailserver for some
> private addresses. So I discovered, if I want to send mail to a
> friendsdomain.tld, that is configured in esmptacceptmailfor and
> hosteddomains on the same machine, it will never leave Server.A.
>
> Note: "dig mx friendsdomain.tld" in this case will NOT point with any
> hostname or ip to Server.A !
>
> So, if I understand things right, courier seems to override infos from
> mx record with the settings in /etc/courier.
>
> Is this a feature? Can this be changed? What did i wrong?
>
> If you want to discuss [dis-] advantages of the dns a-record-changing
> fallback strategy, this should be a seperate thread but nevertheless
> it would be very interesting to hear your opinions.
>
>
> Thanks for your attention!
>
> Have a nice day,
> Peter
>



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to