Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

The psad monitoring tool keeps on sending lots of mail to my localhost admin account. I use my ubuntu server as a NAT router, and psad warned me to enable logging in iptables. After I did so, it sarted filling my mailbox with loads of messages. Within few days the size of mail box has grown to 3.4 GB.

How can I completely turn off mailing on psad?

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

Please see the documentation: http://cipherdyne.org/psad/docs/config.html

You could set 'EMAIL_ADDRESSES' to a blackhole address (eg a receive address that just discards what it gets), or consider tuning the following:

'EMAIL_ALERT_DANGER_LEVEL' 'PSAD_EMAIL_LIMIT' 'EMAIL_LIMIT_STATUS_MSG'

Those are described in the URL I provided above. There are further email alerts for DShield as well, if you have that enabled - if so, they are also described in that URL.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.