Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] dynamically add autowhitelist entries with mta wildcard

2011-07-28 by Johann Klasek

On Thu, Jul 28, 2011 at 07:47:23AM -0500, Rich Graves wrote:
> You might be able to populate a hash or socketmap with your address pairs, have a sendmail check_compat rule set a macro if the map matches, and have milter-greylist check that macro.

check_compat ruleset is called immediately before delivery, that's far to
late to signal milter-greylist during envelope processing ...

This have to be done in check_rcpt where you get your address pair with
the stored envelope from address. Even in this case I am not sure if the
milter callback for "rcpt to" (milter-greylist) is called before or
after the ruleset. To get this working the ruleset should be called
before.


Johann E. K.

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.