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