您的位置:首页 > 运维架构 > Linux

簡單設定 exim4 以不同身份郵寄,不用 root

2012-07-09 13:36 656 查看
psad 要以 root 身份郵寄端口入侵通知,

但我的郵件服務器不能讓不同寄件者身份郵寄,

所以這博文

man exim4

改 /etc/mailname

mailserver.茶刹诧.com.tw

改 /etc/aliases

# /etc/aliases
mailer-daemon: postmaster
postmaster: root
nobody: root
hostmaster: root
usenet: root
news: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
root: me


改 /etc/email-addresses

# This is /etc/email-addresses. It is part of the exim package
#
# This file contains email addresses to use for outgoing mail. Any local
# part not in here will be qualified by the system domain as normal.
#
# It should contain lines of the form:
#
#user: someone@isp.com
#otheruser: someoneelse@anotherisp.com

root: 小弟@叉插茶.com.tw
postmaster: 小弟@叉插茶.com.tw
me: 小弟@叉插茶.com.tw


重新啟動

/etc/init.d/exim4 restart
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  exim4 gnu linux psad debian