Yahoo Groups archive

Milter-greylist

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

Message

sendmail, not rejecting messages

2011-09-09 by salmon.ronan

Hi all,

I'm trying to milter-greylist working. I'm using sendmail-8.13.8 and the following  m4 config :

INPUT_MAIL_FILTER(`greylist',`S=local:/var/milter-greylist/milter-greylist.sock')dnl
define(`confMILTER_MACROS_CONNECT', `j, {if_addr}')dnl
define(`confMILTER_MACROS_HELO', `{verify}, {cert_subject}')dnl
define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}')dnl
define(`confMILTER_MACROS_ENVRCPT', `{greylist}')dnl

Now, when our SMTP relay receive an email, I can see in maillog that milter-greylist grey list the message, but in the end sendmail accepts the message and forwards it to where it is suppose to go.

I tried with both version 4.2.7 and 4.3.9.
in sendmail.mc, ldap routing is enabled (and working) and milter-greylist is the only INPUT_MAIL_FILTER enabled.

Any hint ?

Thanks,
Ronan.


Sep  9 15:19:44 smtp milter-greylist: p89DJieM009573: addr smtp5-g21.free.fr[212.27.42.5] from <xxx@xxx> to <rsalmon@...> delayed for 00:05:00 (ACL 137)
Sep  9 15:19:44 smtp sendmail[9573]: p89DJieM009573: Milter: to=<xxx@xxx>, reject=451 4.7.1 Greylisting in action, please come back later
Sep  9 15:19:45 smtp sendmail[9573]: p89DJieM009573: from=<xxx@xxx>, size=813, class=0, nrcpts=0, proto=ESMTP, daemon=MTA-MILTER, relay=smtp5-g21.free.fr [212.27.42.5]

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.