Hi all,
Where does csf keep the list of blocked emails that are associated with IP address?
I remember on one of my previous csf installations I had the ability to see blocked emails and from which IP addresses these emails tried to connect but now I can't find it on this new server.
Where does csf keep the list of blocked emails that are associated with IP address
Re: Where does csf keep the list of blocked emails that are associated with IP address
The logs I am checking - none of these show the exact email addresses that causes csf blocks but only general IP address and time of block:
The log files that CSF and LFD use are the following:
/var/log/lfd.log:
The log contains any failed login attempts, as well as IP addresses that have been blocked by CSF.
/etc/csf/csf.deny:
Contains lists of IP addresses that have been blocked. For each entry, it shows the date the IP address was blocked and the reason.
/etc/csf/csf.allow:
Contains lists of IP addresses that have been whitelisted.
So there is another locaton with an log file that keeps the emails that caused blocks from a certain IP address?
The log files that CSF and LFD use are the following:
/var/log/lfd.log:
The log contains any failed login attempts, as well as IP addresses that have been blocked by CSF.
/etc/csf/csf.deny:
Contains lists of IP addresses that have been blocked. For each entry, it shows the date the IP address was blocked and the reason.
/etc/csf/csf.allow:
Contains lists of IP addresses that have been whitelisted.
So there is another locaton with an log file that keeps the emails that caused blocks from a certain IP address?
Last edited by ZaCherry on 24 Apr 2024, 16:58, edited 1 time in total.
Re: Where does csf keep the list of blocked emails that are associated with IP address
You can check:
/var/log/exim_rejectlog
Sergio
/var/log/exim_rejectlog
Sergio
Re: Where does csf keep the list of blocked emails that are associated with IP address
There is no file like that.
tail -F /var/log/exim_rejectlog
cannot open '/var/log/exim_rejectlog' for reading: No such file
tail -F /var/log/exim_rejectlog
cannot open '/var/log/exim_rejectlog' for reading: No such file
Re: Where does csf keep the list of blocked emails that are associated with IP address
Try checking /var/log/maillog