[exim] Relaying mail and backup ETRN

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: John Oxley
Fecha:  
A: exim-users
Asunto: [exim] Relaying mail and backup ETRN
Greetings all,

I hope this hasn't been answered before.

Synopsis. I am an ISP and I relay mail for ~150 hostnames. The mail
comes in on a machine called codeine running exim 4.50 on FreeBSD
5.3-STABLE. Codeine then either relays the mail on or accepts it for
ETRN delivery.

I am in Zimbabwe, where nothing works as it is meant to :) We have a
company that uses a radio link provided by someone else to connect to
our server. That company can also dialin to a static IP address. This
is because the reliability on the radio link is very low and it
continually goes down for 3 or 4 days, and the company needs access to
their mail while the radio link is put back up.

Lets call our company foo :)

What I want to do is:

- A mail comes into codeine destined for geoff@???
- Codeine tries to relay it directly
- If the relay through the radio link works, great
- Else if the relay doesn't work:
    - Send the mail to the ETRN spool
    - Wait for it to be fetched
    - If the radio link comes back up
        - Pull the mail out of the ETRN spool and send it directly


Can this be done, and if so how?

--
John Oxley
E-Mail: john@???
Tel: +263 4 858404 ext 2017
Yo!Africa