Auteur: Tim Tassonis Date: À: Patrice Fournier CC: exim-users Sujet: Re: [Exim] Questions using transport filter
Hi Patrice
> > I'm not sure if I understand this right. When will this condition be
> > matched? I have to call my programm for every outgoing mail there is.
> > It's not clear to me who sets the value for $received_protocol to
> > encrypted and under what circumstances. If it is set if the mail is
> > sent/received using TLS, this would be the wrong approach.
>
> This condition will match every message that was not passed by the
> encrypted protocol. To set the protocol to encrypted (or anything you
> want), you call exim with -oMr encrypted (or the word you want). As you
> pipe the message to a program that will reinject the message in exim,
> you don't want to cause a loop and pipe it again to the same program...
> that's why we use this special protocol.
>
Thanks a lot, it's now clear to me. I will try that sometime next week
(until then I have to implement the rest of the functionality of my
program ...).