Re: [exim] OT: extract and save mime parts

Top Pagina
Delete this message
Reply to this message
Auteur: Tom Kistner
Datum:  
Aan: Michael Heydon
CC: Exim Users List
Onderwerp: Re: [exim] OT: extract and save mime parts
Michael Heydon schrieb:

> I have also played around with using a custom script in smtp_mime ACLs,
> using warn decode does almost exactly what I want, the problem here is
> that it looks like the destination address hasn't been processed yet and
> so I can't tell which messages need to be saved and which don't (the
> server sees a fair amount of mail and only a very small number need to
> have their attachments saved so I don't want to run a script over every
> message).


The $local_part and $domain variables are not available in the MIME ACL,
since there can be many.

You can however set a "marker" inside an acl_mX variable in the RCPT
ACL, then match on that in the MIME ACL.

/tom