26 \u0430\u0432\u0433\u0443\u0441\u0442\u0430 2015�\u0433. 13:44:14 CEST, "patpro@... [milter-greylist]" <milter-greylist@yahoogroups.com> \u043f\u0438\u0448\u0435\u0442: >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 You can use variable assignments to store results of tests (such as spf hit) and then build some result actions (gwb-lists with various timeouts and messages) based on collected score(s). It is not that well documented, so look up list archives for Manu's advice to myself about 1-2 years ago. Jim -- Typos courtesy of K-9 Mail on my Samsung Android
Message
Re: [milter-greylist] tune behavior according to SPF test
2015-08-26 by Jim Klimov
Attachments
- No local attachments were found for this message.