Jeff A. Earickson <jaearick@...> wrote:
> Can I get milter-greylist to use my db file? How? Is this via
> the sendmail macro stuff mentioned in the greylist.conf manpage?
Sure, you can do that. See the greylist.conf(5) man page:
SENDMAIL MACROS
Any sendmail macro can be used as a clause in the access list. You need
to define a (macro, value) pair using the sm_macro keyword before using
it. Here is an example that uses the {client_resolve} macro to apply a
larger greylisting delay to hosts that have a bogus reverse DNS:
sm_macro "maybe_forged" "{client_resolve}" "FORGED"
acl greylist sm_macro "maybe_forged" delay 1h
acl greylist default 15m
A regular expression can be used as the macro value. It must be sur-
rounded with slashes and not by quotes. The special value unset can
also be used to match an unset macro:
sm_macro "not_foo" "{foo}" unset
Note that any Sendmail macro that is not exported using the Mil-
ter.macros.envrcpt setting of sendmail.cf will be seen as unset from
milter-greylist.
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@...Message
Re: [milter-greylist] How to use sendmail db files?
2006-10-17 by manu@netbsd.org
Attachments
- No local attachments were found for this message.