Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-13 23:57 UTC

Message

tune behavior according to SPF test

2015-08-26 by patpro@...

Hi,

I would like to trigger a different behavior for different users. Basically, I need:

- rcpt @... to be greylisted -> always, for a given delay
- other rcpt to be greylisted -> only if SPF test fails, for a different delay

I've tried:

racl greylist rcpt /@...$/ delay 5h autowhite 2d
racl greylist default delay 2m autowhite 5d

but of course a successful SPF test yields to whitelist "rcpt /@...$/". So I've tried:

racl greylist rcpt /@...-lyon2.fr$/ delay 5h autowhite 2d
racl whitelist spf pass
racl greylist default delay 2m autowhite 5d

but again, "racl whitelist spf pass" triggers even if rcpt matches /@...-lyon2.fr$/.

Any idea?

regards,
pat

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.