Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] Contribution: regex rules for "bad" hostname patterns

2013-08-11 by manu@...

Jim Klimov <jimklimov@...> wrote:

>    By the way, is there any option and format string to set and report
> in "msg" clauses the "contact" address for this server's postmaster,
> so that collateral casualties might ask for them to be whitelisted?

No, but here is an idea: milter-greylist already have the concept of
variables, fetched from LDAP or a random web service (ldapcheck and
urlcheck). They can be used in format strings. The thing is implemented
in prop.c

Perhaps a set clause for acl would be interesting? You could do
something like this (second ACL already work, you need to implmeent the
set clause in the first one):

racl continue set webmaster="webmaster@..."
racl blacklist domain evil.com msg "ask %P{webmaster} why"

-- 
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.