mangelot
Verified User
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?

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?

