Onkeltom01
Basic Pleskian
OS: CentOS 7 (latest patch level)
Plesk: 12.5.30 Update #12
Mailserver: postfix with dovecot
Hi all,
I have the problem that since Plesk was installed on this server, the before installed fail2ban installation can't send Emails over sendmail anymore. I didn't use the plesk integrated version of fail2ban!
So I get the following entry in the maillog while starting and stopping f2b when the system try to send a Email.
before the installation of plesk on this server the fail2ban emailing works fine and without problems. Now, with plesk installed, fail2ban is unable to sendmail.
here is the part of f2b's sendmail.conf which generates the temporary file for mailing:
Which and where must the permissions be set for generation of the temporary file ?
any idea what is wrong ?
all other tools like logwatch etc. works fine and sending Emails to the root account.
Plesk: 12.5.30 Update #12
Mailserver: postfix with dovecot
Hi all,
I have the problem that since Plesk was installed on this server, the before installed fail2ban installation can't send Emails over sendmail anymore. I didn't use the plesk integrated version of fail2ban!
So I get the following entry in the maillog while starting and stopping f2b when the system try to send a Email.
plesk sendmail[32166]: cannot create temporary file - (13) Permission denied
plesk sendmail[32166]: Unable to save stdin content to temporary file
before the installation of plesk on this server the fail2ban emailing works fine and without problems. Now, with plesk installed, fail2ban is unable to sendmail.
here is the part of f2b's sendmail.conf which generates the temporary file for mailing:
Code:
actionban = printf %%b "Subject: [Fail2Ban] <name>: banned <ip> from `uname -n`
Date: `LC_ALL=C date +"%%a, %%d %%h %%Y %%T %%z"`
From: <sendername> <<sender>>
To: <dest>\n
Hi,\n
The IP <ip> has just been banned by Fail2Ban after
<failures> attempts against <name>.\n
Regards,\n
Fail2Ban" | /usr/sbin/sendmail -f <sender> <dest>
Which and where must the permissions be set for generation of the temporary file ?
any idea what is wrong ?
all other tools like logwatch etc. works fine and sending Emails to the root account.
Last edited: