ISPConfig: Spam Logs

Discussion in 'Installation/Configuration' started by 30uke, Mar 3, 2019.

  1. 30uke

    30uke Active Member HowtoForge Supporter

    I did look around at the forums but I could not find the information where I am looking for.
    I am running ISPConfig 3.1.13p1 on Debian Stretch [4.9.130-2 (2018-10-27)].
    Everything works fine but I am looking for a way to log spam messages. The purpose is to be able to show a customer which messages have been blocked and why.
    I just cant wrap my head around it. Who could be as kind as to direct me into the right direction? I bet I need to edit one of the config files. And what I do understand it isn't SpamAssassin itself. The messages which I did find about this matter are quite old (2006 and up). Some help would be very much appreciated. Thank you very much.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The spam status of a message is mentioned in mail.log file, so you can search (use e.g. grep) there for all messages that were spam.
    30uke likes this.
  3. 30uke

    30uke Active Member HowtoForge Supporter

    Thank you very much. Currently I am keeping an eye on these with the following command:
    tail -f /var/log/mail.log | egrep 'block|reject'
    I will try to write a script which helps me to analyze these log files. The goal is to present some reports and charts (per domain).

Share This Page