Re: non-dedicated SMTP

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Pete Ashdown
Cc: Exim Mailing List
Asunto: Re: non-dedicated SMTP
On Tue, 13 May 1997, Pete Ashdown wrote:

> We have a gateway machine that people dial into to get SMTP/UUCP mail. If
> they are SMTP based, they either have to do an ETRN or usually a
> "rsh /usr/lib/sendmail -qRdomain.com" to get their queue flushed.
>
> Since exim uses a database of unreachable sites, it makes the possibility
> of a running a loop that checks for connecting sites plausable. Thus, the
> client doesn't need an ETRN or an rsh, they just need to connect.
>
> Does anyone have any ideas how this could work?


I think the problem is that you want the mail to be sent as soon as the
site connects; if you implement any kind of repeating check, there will
be a delay before it notices - unless you want your machine spending all
its time trying to connect to unreachable sites. Anyway, a connection
attempt can take several minutes to time out.

Of course, there is nothing to stop you writing a program that runs
under the Exim uid which probes the sites you are interested in, using
an algorithm of your choice, and then executes "exim -R <domain>" when
it notices that a host has just come up.

Philip

-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714