Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Qmail: users

Qmail - domains with multiple servers and the priority server is down

 

 

Qmail users RSS feed   Index | Next | Previous | View Threaded


extranet at mail

Mar 8, 2013, 9:51 AM

Post #1 of 2 (279 views)
Permalink
Qmail - domains with multiple servers and the priority server is down

Hello,
When qmail server sends an e-mail for a domain with multiple servers, if MX
priority server is down messages are not delivered to the secondary server
and the user receives a message:

Connected to x.x.x.x but connection died. (# 4.4.2)
I'm not going to try again, this messages has been in the queue too long.

The solution I have adopted is to insert a line in the file
/var/qmail/control /smtproutes indicating the secondary server for that
domain.

How should I configure qmail server to automatically forward the message to
the second server when the primary server is not responding?
Thanks for your help.
Armindo


search-web-for-address at pyropus

Mar 8, 2013, 1:47 PM

Post #2 of 2 (257 views)
Permalink
Re: Qmail - domains with multiple servers and the priority server is down [In reply to]

Armindo Costa (DIGI) <extranet [at] mail> wrote:
> When qmail server sends an e-mail for a domain with multiple servers, if MX
> priority server is down messages are not delivered to the secondary server

That's incorrect. qmail does indeed deliver to the lower-priority MXes if the
highest-priority one is down. The word "down" is important.

> and the user receives a message:
>
> Connected to x.x.x.x but connection died. (# 4.4.2)

If x.x.x.x is the primary MX, the problem here is that the primary MX *wasn't
down*. It was accepting connections. qmail will not try to connect to the
lower-priority MXes when it can connect to the highest-priority one.

The receiving domain is broken. The mail isn't getting through due to
administrator error; try contacting the postmaster there.

Charles
--
--------------------------------------------------------------------------
Charles Cazabon
GPL'ed software available at: http://pyropus.ca/software/
Read http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html
--------------------------------------------------------------------------

Qmail users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.