PDA

View Full Version : Fallback / bsmtp exim Mail



mangelot
01-11-2007, 10:40 AM
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:

DavidJacobs
01-27-2007, 05:32 AM
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

mangelot
01-27-2007, 05:37 AM
I'm sorry but I'm still stuck with the current config,
I'm still wondering who has got the mighty solution..

:o

mangelot
02-07-2007, 01:40 AM
Nobody any idea? I'm stuck with this part of the config.

Pascal
02-07-2007, 03:33 AM
hub_route:
driver = manualroute
transport = remote_smtp
route_list = domain.tld 123.123.123.123

I'm using this for batched SMTP...