Skip to content

Commit 6c122f4

Browse files
committed
added note about Postfix check_policy_service limitations with recipient reporting
1 parent abf4738 commit 6c122f4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,12 @@ Make sure to reload Postfix after this change:
157157
$ systemctl reload postfix
158158
```
159159

160+
> [!IMPORTANT]
161+
> In Postfix, when multiple recipients are specified in the `To:` field of an email, the Postfix policy delegation protocol (the `check_policy_service` action in this case) doesn't include each individual recipient separately by default. Instead, it sends a single `recipient=` line with an empty value to indicate that there are recipients but doesn't list them individually.
162+
> There is no way for PolicydRateLimit to register any recipients, neither in the log message nor in the `messages` db table, if a message was sent to multiple email addresses in `To:`. Also, there is no way to register any recipients from `Cc:` and/or `Bcc:` headers.
163+
>
164+
> But aside this little drawback, Postfix integration using [`check_policy_service`](https://www.postfix.org/postconf.5.html#check_policy_service) is simply the best and probably the only way to go. Currently, this is the only supported way to configure it!
165+
160166
### Upgrade
161167

162168
You can run an upgrade with the Ansible Galaxy playbook you have created above, using our [`onlime.policyd_rate_guard`](https://galaxy.ansible.com/onlime/policyd_rate_guard) role:

0 commit comments

Comments
 (0)