Re: [EXIM] vacation bug found

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Greg A. Woods
Data:  
Para: exim-users
Assunto: Re: [EXIM] vacation bug found
[ On Fri, December 18, 1998 at 13:49:47 (+0000), Philip Hazel wrote: ]
> Subject: Re: [EXIM] vacation bug found
>
> > Vacation makes somewhere a strncmp(buf, "From: ", 6), you see the space?
>
> Yes. Stupid code. For a start, RFC822 does not require space after
> "From:". Secondly, wherever it allows a space, it also allows a tab.


FYI I've hacked on vacation quite a bit and have made it far more
RFC-822 friendly. I pulled in header parsing code from /usr/bin/Mail to
make it do this.

At the moment I've got it sending mail to the "reply-to:" address(es)
(if such a header exists, and if not then to the "from:" address(es))
instead of to the envelope sender address. I think this is the right
thing to do, except for mailing lists that use "reply-to:", but which
don't use "precedence: list", but that's another issue....

I've not (yet) polished the code well enough to make it a separate
release (I've actually just hacked it directly in my local NetBSD source
tree), but I can make it available to all who ask....

-- 
                            Greg A. Woods


+1 416 218-0098      VE3TCP      <gwoods@???>      <robohack!woods>
Planix, Inc. <woods@???>; Secrets of the Weird <woods@???>


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