Fallback / bsmtp exim Mail

mangelot

Verified User
Joined
Jan 11, 2007
Messages
67
Location
Enschede, Netherlands
Hello,

I was wondering if there is somebody that has managed it to create an fallback server in exim MTA?

I'Ve searched througt forums en google but there seems not to be an nice howto do it.

what I've done so far:

In Exim.conf add:


code:
-----------------------------------------------------------
begin routers
-----------------------------------------------------------

# BSMTP router
route_append:
driver = manualroute
transport = smtp_appendfile
route_list = lsearch;/etc/virtual/bsmtp

begin transports

# BSMTP transport
smtp_appendfile:
driver = appendfile
directory = /var/bsmtp/$host
use_bsmtp
user = mail
-----------------------------------------------------------

Create /etc/virtual/bsmtp and add domains as follows:


code:
-----------------------------------------------------------
domain.tld batch.domain.tld
-----------------------------------------------------------

The /var/bsmtp directory didn't exist so i also created this one,
Ive changed the mx settings of an test domain like this:

Mx10 home internet connection
mx20 Directadmin server

when i disconnect my home connection mx10 the email isn't beeing send to my directadmin server Bsmtp.

Anybody any ideas..? or an simple howto?


:confused: :confused:
 
Mangelot:
I wonder if you have found a solution by now, because I am wanting exact the same config as you do (with other domains of course :)).

If you have any news, I am very curious;

My current done config is;

< #transport
<
< route_append:
< driver = manualroute
< transport = smtp_remote
< route_list = "domain.tld xx.xx.xx.xx"
<
<
732,739d723
<
< #smtp_appendfile:
< # driver = appendfile
< # directory = /var/bsmtp/${host}
< # bsmtp = all
< # prefix =
< # suffix =
< # user = exim
 
Back
Top