Re: [exim-dev] local_scan() and the fd

Etusivu
Poista viesti
Vastaa
Lähettäjä: Magnus Holmgren
Päiväys:  
Vastaanottaja: exim-dev
Aihe: Re: [exim-dev] local_scan() and the fd
On Sunday 22 April 2007 17:06, Magnus Holmgren wrote:
> On Sunday 22 April 2007 14:34, Magnus Holmgren wrote:
> > Since writing to fd isn't forbidden (and IMHO shouldn't be), either
> >
> > a) body_linecount (and other variables that may need to be updated)
> > should be made available to local_scan() so that it can update it, or
> > b) the message body needs to be rescanned and body_linecount (and any
> > other variable that may need to be updated) be updated after the call to
> > local_scan().
>
> Hmm, AFAICT there are quite a few variables that need updating:
> body_zerocount, message_size, message_body_size, and message_linecount.
> There doesn't seem to be much point updating just one of them, is there?


Hmm again, body_linecount and body_zerocount are written to the spool (-H)
file, but not the rest. But AFAICT, those variables are purely informational,
do not control Exim's processing of the message, and are written to the -H
file merely so that they won't have to be recalculated on every delivery
attempt. Is that correct? On the other hand, message_body_size and
message_size are recalculated, but that's much easier.

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)