# Check the /usr/share/doc/sendmail/README.cf file for a description
# of the format of this file. (search for access_db in that file)
# The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc
# package.
#
# If you want to use AuthInfo with "M:PLAIN LOGIN", make sure to have the
# cyrus-sasl-plain package installed.
#
# By default we allow relaying from localhost...
Connect:localhost.localdomain RELAY
Connect:localhost RELAY
Connect:127.0.0.1 RELAY
Connect:192.168.11 RELAY
んで、access.db を作るっと。
makemap -v hash access.db < access
【relay の設定】配送方法の決定
デフォルトでは、外部からの smtp 接続等を受け付けないように設定されているので、
色々と設定を変えてみよう。
例えば、受け取ったメールアドレスの @ 以降の from 部を変えたりも出来る。