Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] Grey list when empty Message-ID + dacl question

2016-02-26 by Mauricio Teixeira

You want to do something on no match:
dacl whitelist header /^Message-ID:/
dacl greylist default msg "empty message id"


This almost worked:

milter-greylist: Mail from=<me@...>, rcpt=(nil), addr=testserver[10.10.10.101] is matched by entry dacl 137 greylist [msg "empty message id"] [maxpeek -1] default

However the message is not being grey listed, and still being delivered.

I guess you could do a more complex scenario using variables:
dacl continue header /^Message-ID:/ set $has_msgid="yes"
dacl greylist $has_msgid "yes" msg "empty message id"


This does not match if the header is not present. Only if the header is present but empty. Even so, the message never gets grey listed either.

Any other thoughts?

--
Mauricio Teixeira
Sao Paulo/SP/BR
http://mteixeira.wordpress.com
mauricio.teixeira{at}gmail.com
(irc: netmask on freenode)

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.