Re: [exim] Ratelimit Tricks

Startseite
Nachricht löschen
Nachricht beantworten
Autor: W B Hacker
Datum:  
To: exim users
Betreff: Re: [exim] Ratelimit Tricks
Clive Goodhead wrote:
>> I Tried this to see if I could read without adding to the total -
> but it
>> didn't work. The $sender_rate is blank.
>>
>> accept    add_header = X-Ratelimit: $sender_rate
>>     ratelimit = 20 / 10m / test-$sender_host_address
>>     condition = false

>>
>
> I think that add_header is an immediate modifier and should,
> therefore, almost never be the first entry in an ACL. It is
> not exactly the same as message was.
>
>


I don't think you even have anything but 'intentions' on which you can hang a
header until acl_smtp_data.

acl_smtp_connect, acl_smtp_helo, acl_smtp_mail are mere 'conversations' between
client and server as they establish their credentials, feature sets, and intentions.

Even acl-smtp_rcpt is effectively still just a conversation between two parties
trying to agree what amounts to a packing list for *impending* transfer of the
as-yet-unseen 'goods' (message headers, body, attachments).

Bill