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
# 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 -----From: Mike LoewenSent: Tuesday, December 19, 2006 10:33 AMSubject: [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.