[pmg-devel] [PATCH pmg-docs] pmg-mail-filter: clarify matching of Who objects
Friedrich Weber
f.weber at proxmox.com
Thu Feb 6 16:54:16 CET 2025
Thanks for the quick review!
On 06/02/2025 16:30, Stoiko Ivanov wrote:
> [...]
> On Thu, 6 Feb 2025 16:16:20 +0100
> Friedrich Weber <f.weber at proxmox.com> wrote:
>
>> In particular, explain that Who objects match against Envelope From
>> and Envelope To, not the From: and To: mail headers. This is
>> occasionally a source of confusion in enterprise support.
>>
>> Signed-off-by: Friedrich Weber <f.weber at proxmox.com>
>> ---
>> pmg-mail-filter.adoc | 10 ++++++++++
>> 1 file changed, 10 insertions(+)
>>
>> diff --git a/pmg-mail-filter.adoc b/pmg-mail-filter.adoc
>> index 235f156..65d28b6 100644
>> --- a/pmg-mail-filter.adoc
>> +++ b/pmg-mail-filter.adoc
>> @@ -265,6 +265,16 @@ We have two important 'Who' objects called 'Blacklist' and
>> 'Whitelist'. These are used in the default ruleset to globally block
>> or allow specific senders.
>>
>> +Note that 'Who' objects match against the mail addresses given during the SMTP
>> +dialog:
> maybe also mention that this is the information you see in the
> journal/logs by default?
Makes sense, will add!
>> +
>> +* 'Who' objects in the 'FROM' category match against the mail address given in
>> + the `MAIL FROM` command (the Envelope From).
>> +* 'Who' objects in the 'TO' category match against the mail address given in
>> + the `MAIL TO` command (the Envelope To).
> the smtp-verb is RCPT (`RCPT TO`)
Urgh, sorry about that, thanks for spotting it.
Will send a v2.
More information about the pmg-devel
mailing list