Re: [EXIM] Recurrent problem with exim and fetchmail.

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Rob Browning
Cc: exim-users
Asunto: Re: [EXIM] Recurrent problem with exim and fetchmail.
On 14 Apr 1998, Rob Browning wrote:

>
> Recently, I don't know why, I have received mail from a couple of
> different sources with completely screwed up domains. Each time it's
> been something like <foo@.somehost.bar>. Needless to say, when
> fetchmail hands this to exim's SMTP listener it balks, and then
> fetchmail dies, refusing to get any more messages.
>
> This effectively leaves me with no way to get more mail until I go and
> edit my mailbox to fix the offending From address. I'm sure there's a
> better way to handle this, but I'm not sure what it is. Is there some
> way I should reconfigure exim or fetchmail to
> skip/delete/bounce/ignore these messages?


I'm afraid that I feel this is really a fetchmail problem. Nevertheless,
Exim 1.90 has a feature whereby you can apply a special rewriting rule
to incoming SMTP addresses before anything else is done to them. You
could use this to rewrite <foo@.somehost.bar> to <foo@???> I
suppose, to paper over this particular mess. Something like

^([^@]+)@\.(.*)$ $1@$2 S


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



--
*** Exim information can be found at http://www.exim.org/ ***