Yahoo Groups archive

Milter-greylist

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

Message

milter-greylist+spamass-milter

2010-06-08 by Alexandre Santos

Hi,

Im trying to integrate the milter-greylist with spamassassin (spamass-milter), i´m not shore if i´ve configure the pamass-milter right.

I add this acl in greylist.conf for the spamd.

spamdsock unix "/var/run/spamd.sock"
dacl blacklist spamd > 8 msg "Message blocked for spam content."
dacl greylist spamd > 5 msg "Message greylist for spam content."
dacl whitelist spamd < 2 msg "Message whitlist for spam content."
racl greylist default

I´m geting this log:
Jun 8 11:16:15 smtp-3 milter-greylist: SPF return code 1
Jun 8 11:16:15 smtp-3 milter-greylist: SPF lookup performed in 0.006049s
Jun 8 11:16:15 smtp-3 spamass-milter[16859]: Could not retrieve sendmail macro "i"!. Please add it to confMILTER_MACROS_ENVFROM for better spamassassin results
Jun 8 11:16:15 smtp-3 milter-greylist: (unknown id): addr = clover.wormly.com[66.228.123.50], from = , rcpt =
Jun 8 11:16:15 smtp-3 milter-greylist: Mail from=, addr=clover.wormly.com[66.228.123.50] is matched by entry racl 145 whitelist default
Jun 8 11:16:15 smtp-3 milter-greylist: (unknown id): skipping greylist because this is the default action, (from=, rcpt=, addr=clover.wormly.com[66.228.123.50]) ACL 145
Jun 8 11:16:16 smtp-3 milter-greylist: spamd read failed: Connection reset by peer
Jun 8 11:16:16 smtp-3 milter-greylist: ACL evaluation failure

It looks like the milter-greylist process the message fist and then the spamd.

And the message " Could not retrieve sendmail macro "i" ", how can I resolve this?

Best regards

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.