sendmail

手順1

# 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

# 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

トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2022-06-30 (木) 01:40:11