Author: Jeremy Harris Date: To: exim-users Subject: Re: [exim] exim ratelimit on subject for incoming mail
On 11/02/16 17:49, Nick Rickard wrote: >>> set acl_m_origsubject1 = $rh_subject: warn log_message = START
>>> $acl_m_origsubject1 END
>>>
>>> (which runs on all messages as a test) simply gives "START END" in
>>> the log file. How can I get h_subject to appear in the logs (as
>>> some text I can incorporate into a meaningful sentence, please?
>>
>> Where is that placed in your ACLs? Is it in the DATA ACL, or have you
>> inadvertently put it further up the transaction stack?
>>
> within acl_check_rcpt: ACL
>
> (and an earlier declaration of acl_smtp_rcpt = acl_check_rcpt )
The Subject header is part of the message content and has not
arrived yet at the time the rcpt ACL runs.
--
Cheers,
Jeremy