「サーバの管理」タブを選び、サイドメニューから「ネットワークサービス」->「電子メール」を選びます。
「詳細」を選びます。
次の画面のように設定したとき、各種設定ファイルは次のようになります。
▼/etc/mail/access
# Check the /usr/share/doc/packages/sendmail-doc-8.12.10/README.cf file for a description
# of the format of this file. (search for access_db in that file)
# The /usr/share/doc/packages/sendmail-doc-8.12.10/README.cf is part of the sendmail-doc
# package.
#
# by default we allow relaying from localhost…
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
# Cobalt Access Section Begin
mail.test.com 550 Mail rejected due to possible SPAM
testuser@test.jp 550 Mail rejected due to possible SPAM
1 RELAY
sensaba.net RELAY
4.3.2.1 RELAY
3.2.1 RELAY
2.1 RELAY
210.230.64 RELAY
# Cobalt Access Section End
# of the format of this file. (search for access_db in that file)
# The /usr/share/doc/packages/sendmail-doc-8.12.10/README.cf is part of the sendmail-doc
# package.
#
# by default we allow relaying from localhost…
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
# Cobalt Access Section Begin
mail.test.com 550 Mail rejected due to possible SPAM
testuser@test.jp 550 Mail rejected due to possible SPAM
1 RELAY
sensaba.net RELAY
4.3.2.1 RELAY
3.2.1 RELAY
2.1 RELAY
210.230.64 RELAY
# Cobalt Access Section End
▼/etc/mail/sendmail.cf (一部)
(96行目)
DSmail.smart.com
(145行目)
DMmydomain.com
(189行目)
O MaxMessageSize=10485760
(201行目)
O DeliveryMode=deferred
DSmail.smart.com
(145行目)
DMmydomain.com
(189行目)
O MaxMessageSize=10485760
(201行目)
O DeliveryMode=deferred
▼/etc/mail/sendmail.args
-bd -q1h