Re: [exim] gotcha: chunking and predata

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Jasen Betts
Fecha:  
A: exim-users
Asunto: Re: [exim] gotcha: chunking and predata
On 2017-01-17, Jeremy Harris <jgh@???> wrote:
> On 17/01/17 07:17, Jasen Betts wrote:
>> Is there a way to detect that chunking was used in the DATA acl?
>
> Look for "bdat", case-independently, in $smtp_command.


Actually I really want to know if my pre-data ACL has been missed, so
I'll check for that explicitly

I'll set a variable in the MAIL ACL and then clear it in pre-DATA then
in my DATA ACL I can do something like

    # run predata acl if haven't already. (eg: bdat)
    require
      acl = ${if!bool{$acl_m_need_predata_acl}{accept}{my_predata_acl}}
      # "!bool" above because spaces break it


thus all my pre-data variables will be set and my checks applied.


by clearing the variable on completion I'm not writing it to disk.
so it won't get in the way when I'm groping through -H files.

--
This email has not been checked by half-arsed antivirus software