# /etc/mail/access: sendmail access database feature.
#
# The access db gives you the ability to allow or refuse to accept mail
# from specified domains for administrative reasons.
#
# Run the following command after editing this file:
#     makemap hash /etc/mail/access.db < /etc/mail/access
#
# Syntax:
#   <domain> <value>
# The value part of the map can contain:
#   OK       Accept mail even if other rules in the running ruleset would
#            reject it, for example, if the domain name is unresolvable.
#
#   RELAY    Accept mail addressed to the indicated domain or received
#            from the indicated domain for relaying through your SMTP
#            server. RELAY also serves as an implicit OK for the other checks.
#
#   REJECT   Reject the sender or recipipent with a general purpose message.
#
#   DISCARD  Discard the message completely using the $#discard mailer.
#            This only works for sender addresses (i.e. it indicates that
#            you should discard anything received from the indicated domain).
#
# For example:
#
# cyberspammer.com        550 We don't accept mail from spammers
# okay.cyberspammer.com   OK
# sendmail.org            OK
# 128.32                  RELAY
# spammer@aol.com         REJECT
# 
# would accept mail from okay.cyberspammer.com, but would reject mail
# from all other hosts at cyberspammer.com with the indicated message.
# It would accept mail from any hosts in the sendmail.org domain and
# allow relaying for the 128.32.*.* network.

