Red Hat Bugzilla – Bug 1276774
demons/services that use esmtp write to /.esmpt_queue, not /root/.esmtp_queue
Last modified: 2016-07-22 07:30:45 EDT
Description of problem:
When a program executed as root utilizes esmtp to send warnings and notifications /.esmtp_queue/ is created and used for outgoing messages. This directory SHOULD NOT be where it is, it should be located at /root/.esmtp_queue/.
This is primarily a file system hierarchy issue but selinux policy is also involved (as seen in bugs 1256851, 1140493, and probably others).
Version-Release number of selected component (if applicable):
This bug is 100% reproducible.
Steps to Reproduce:
1. Install fail2ban with mail notification support
2. Configure fail2ban for something commonly targeted (sshd is likely your best bet)
3. Start fail2ban.service
4. Watch the journal and/or /var/log/fail2ban.log for a triggering event
5. ls -la /
6. Marvel at the presence of /.esmtp_queue
/.esmtp_queue is created.
/root/.esmtp_queue should be used instead.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.