Jake Vickers wrote:
senthil vel wrote:
Thanks Jake. But the problem is, the primary server was not down. And why the local mail went to the secondary server even the primary server is alive. Please guide me.


If you have 2 MX records, mail will go to both. Some mailers (other people sending to you) will send to the lowest MX, others will send to the highest. You have no control over their mail server and who it decides to send emails to.

Hi Jake,

I'm fairly new to this list (didn't administer my own mailserver for a few years) but have done a few qmail installations previously (nothing comparable to most people on the list probably though). During my education and after that in 'real life', I've always been told that the priority in the DNS record is used to determine to which server to send first. I've had a look at (what I believe is) the current RFC document about DNS MX records, which can be found here: ftp://ftp.rfc-editor.org/in-notes/rfc2821.txt. If I read it correctly the priority number should be used to determine the order in which the mailservers are to be tried.

Here is the part from the RFC which mentions prioritizing MX records )chapter 5): Multiple MX records contain a preference indication that MUST be used in sorting (see below). Lower numbers are more preferred than higher ones. If there are multiple destinations with the same preference and there is no clear reason to favor one (e.g., by recognition of an easily-reached address), then the sender-SMTP MUST randomize them to spread the load across multiple mail exchangers for a specific organization.

I know that a RFC is only that (no obligations) and I know that spammers sometimes (on purpose) use the lower priority MX record to circumvent graylisting and so on. But in principle, the primary server should have been used in the described situation (assuming there was no connection error somewhere in between).

Could you tell me on what information your reply is based? Perhaps the RFC I mentioned is superceded... I'm always willing to learn that I've been taught incorrectly. It wouldn't be the first time it happened...
Kind regards,

Marc Rietman


---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to