Re: [Exim] Re: call-out from command-line

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Rick Cooper
Fecha:  
A: exim-users
Asunto: Re: [Exim] Re: call-out from command-line

-------Original Message-------

> From: Rutger van Oosten
> Date: Friday, July 11, 2003 6:41:56 AM
> To: exim-users@???
> Subject: [Exim] Re: call-out from command-line


> Philip Hazel <ph10@???> wrote in
> news:Pine.SOL.4.44.0307110957390.12425-100000@???:


> > On Thu, 10 Jul 2003, Rutger van Oosten wrote:
> >
> >> I've been looking for a command-line option to let exim do e-mail
> >> address verification via a call-out. Is this at all possible?...
> >
> > There is no way do to it from Exim. If you use -bh to simulate an SMTP
> > call from another host, it goes through some of the motions, but it
> > doesn't actually do the callout itself. I didn't think this kind of
> > testing should impact on other hosts.


> That's a shame.. Can you confirm that the code to do it is already there
> (in src/verify.c)? Maybe I could do a small patch that adds the option
> (just for myself, if you are not interested).


> The reason for this is that we need to check addresses that people fill in
> when opting-in for our mailing lists. This will save us from generating
> unnecessary e-mails and will hopefully cut down the number of bounces we
> get back.


Assuming that they fill in this information on a web page, why not just do
the verification at the time the form is submitted? I know there is a very
easy to implement class available at http://www.phpclasses.org that does the
basic regex checks on the address and then does a callout verify (if you
choose to) on the address and returns a true/false/connect failed on
verification attempt. The class does the calls directly so there would be no
need to involve exim.

(just add the calls to whatever you are using to validate the referring page is coming from your server and not being relayed through by some spammer)