On Tue, Apr 07, 2015 at 10:30:36AM -0400, chris wrote:
> I have a few linux webservers and which each send out SMTP directly .
> Currently, the webservers all relay the message directly to receipient and
> if it cant then it sends back a NDR to the sender advising the sender the
> message could not be delivered.
> 
> I want to scale this out a bit and add 2 "backup" SMTP server but what I
> want to do is have the webservers try to deliver the message and also have
> both SMTP A and SMTP B as backup relays and I want it so that if the
> webserver cannot deliver the message directly then have it try SMTP A, this
> server would keep the connection to webserver open and attempt to relay
> right away and if it fails REJECT the message so the webserver will try the
> next server SMTP B etc etc.

A rather similar behavior has Sendmail with a FALLBACK_MX setup, in
m4-style (for .mc file):

define(`confFALLBACK_MX', `fallback.mydomain')dnl

fallback.mydomain may consist of MX entries pointing to SMTP-A and SMTP-B ...
To suppress MX lookup, you have to write 

define(`confFALLBACK_MX', `[fallback.mydomain]')dnl

> I am just wondering if anyone knows how to do this or something like it. As
> far as MTA I am familiar with exim,postfix,sendmail and not tied down to a
> specific one so whichever gives this functionality is fine.
[..]

I hope, Sendmail is at least one possibility. ;)


-- 
Johann E. Klasek       Zentraler Informatikdienst - Kommunikation
Technische Universität Wien               Tel: +43 1 58801- 42049
A-1040 Wien, Wiedner Hauptstr. 8-10/020C  Fax: +43 1 58801-942049
PGP: http://pgpkeys.tuwien.ac.at/  -  jklasek  -  Key ID 37159641
***  There are three kinds of people: men, women, and unix.   ***

_______________________________________________
mailop mailing list
mailop@mailop.org
http://chilli.nosignal.org/mailman/listinfo/mailop

Reply via email to