Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] Sendmail access entries

2006-12-19 by An.H.Nguyen

You have a syntax problem there.
The correct sendmail access db entry should look like:
address option
example:
192.168 RELAY
#This sill allow from 192.168.x.x source...
spamnet.net REJECT
spamemail@... DISCARD
#
# REJECT - rejects all matches with smtp 550 error
# OK - allows mail through, use to "excuse"
# DISCARD - silently places all matches in /dev/null
# RELAY - relays mail for all matches
# ERROR:5.7.1:550 (add msg here) - sends custom 550 access denied messages
You have to run makemap after making the change in order for sendmail to see the change:
makemap hash /etc/mail/access.db < /etc/mail/access
-depending on your sendmail setup, somes makemap dbm will be required...
Loot at /etc/mail/sendmail.cf file to see what access db type it uses.
----- Original Message -----
Sent: Tuesday, December 19, 2006 10:33 AM
Subject: [milter-greylist] Sendmail access entries


I've been over the documentation and the mailing list archives, and
there's something I still don't understand. What form do the entries in
sendmail's access DB take, to whitelist an IP address? I've been trying
something like this, without results:

greylist:192.168.202.1 WHITE

Any hints would be very appreciated.

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.