sendmailのドメインの追加手順
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[sendmail]]
*手順1 [#b2108dd7]
# cd /etc/mail
# vi virtusertable
@hoge.com %1_hogecom
# makemap hash virtusertable.db < virtusertable
# vi access
To:hoge.com RELAY
# makemap -v hash access.db < access
# service sendmail restart
*手順2 [#d2aa2584]
# cd /etc/mail/
# cp -p alias alias.`date +%Y%m%d`
# vi alias
# cp -p mailtertable mailertable.`date +%Y%m%d`
# makemap hash access.db < access
# makemap hash mailertable.db < mailertable
# service sendmail reload
終了行:
[[sendmail]]
*手順1 [#b2108dd7]
# cd /etc/mail
# vi virtusertable
@hoge.com %1_hogecom
# makemap hash virtusertable.db < virtusertable
# vi access
To:hoge.com RELAY
# makemap -v hash access.db < access
# service sendmail restart
*手順2 [#d2aa2584]
# cd /etc/mail/
# cp -p alias alias.`date +%Y%m%d`
# vi alias
# cp -p mailtertable mailertable.`date +%Y%m%d`
# makemap hash access.db < access
# makemap hash mailertable.db < mailertable
# service sendmail reload
ページ名: