Re: [exim] Does $acl_verify_message actually work?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Marc Perkel
Date:  
À: Bryan Rawlins
CC: exim-users
Sujet: Re: [exim] Does $acl_verify_message actually work?


Bryan Rawlins wrote:
> Marc Perkel wrote:
>
>> Been trying to use $acl_verify_message but it always returns an empty
>> string. I'm even storing it in a variable to preserve it.
>>
>> warn    !condition = ${if def:acl_c_no_sender_verify}
>>     !verify = header_sender/callout=2m,defer_ok,random
>>     condition = ${if eq{recipient}{$sender_verify_failure}}
>>     set acl_c_verify_failed = $acl_verify_message

>>
>>
>> Am I doing something wrong?
>>
>>
>>
> Line 3 is never going to result in a TRUE condition AFAICT, what are you
> trying to do there? Perhaps a 'match' with a regexp is in order?
>
>

That part works for me. $sender_verify_failure returns things like
recipient, mail, etc.