Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

racl confusion

2013-06-21 by manu@...

Hi

I just discovered an obvious bug: when you have multiple recipients, if
RCPT stage ACL decides the first one shall be accepted, that decision is
kept for all next recipients, even if RCPT stage ACL evaluation would
cause them to be rejected.

The problem exist because milter-greylist keeps the status and adds flag
to it for each recpitients. It does that to print a reason in the
X-Greylist header line, which is obviously an impossible task to perform
correctly for multiple recipients since there is a single X-Greylist
line for multiple decisions.

I would call that a bug. I tested code that reset the
accept/reject/greylist decision for each recpipient and keep the other
flags, but of course the X-Greylist header may sometime display
nonsense. I assume some users will prefer the current behavior,
therefore I am about to add a global option to enable the "fixed"
behavior. I found nothing better than "multiracl"

Opinions?

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.