psad监控工具继续向我的本地主机管理帐户发送大量邮件。我使用我的ubuntu服务器作为NAT路由器,并警告我启用在iptables中的登录。在我这么做之后,我的邮箱里塞满了大量的信息。几天之内,邮箱的大小已经增加到3.4GB。
我怎么才能完全停止对psad的邮件呢?
发布于 2011-06-13 17:54:20
请参阅文档:http://cipherdyne.org/psad/docs/config.html
您可以将“EMAIL_ADDRESSES”设置为黑洞地址(例如只丢弃它得到的内容的接收地址),或者考虑调整以下内容:
'EMAIL_ALERT_DANGER_LEVEL‘'PSAD_EMAIL_LIMIT’'EMAIL_LIMIT_STATUS_MSG‘
这些都在我上面提供的URL中描述过。还有更多的电子邮件提醒DShield,如果你已经启用了-如果是,他们也在该网址中描述。
发布于 2017-11-04 12:01:11
在psad.conf下:
### Allow reporting methods to be enabled/restricted. This keyword can
### accept values of "nosyslog" (don't write any messages to syslog),
### "noemail" (don't send any email messages), or "ALL" (to generate both
### syslog and email messages). "ALL" is the default. Both "nosyslog"
### and "noemail" can be combined with a comma to disable all logging
### and alerting.
ALERTING_METHODS ALL;请注意,将ALTERTING_METHODS改为noemail将停止所有来自psad的电子邮件。
https://unix.stackexchange.com/questions/14912
复制相似问题