This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Spam report ?

Hi,

is there a way to dertermine how many messages are actually considered spam received by ASL. In the reports I can only find an average spamscore. But for our management reports I need a % total spam of total number of received messages.

Franc.


This thread was automatically locked due to age.
  • Sorry but as yet I dont think anyone can get them to work, I know I cant.
  • Yes its somehow lacks iformation quality.

    What you can do, is take the average numbers from the graph:

    total 500
    t1 50
    t2 250

    So this would mean, that 50% of the total incoming mails, where spam. With around 10% where possible spam.
  • Hi,

    attached to this posting you find a screenshot of an HTML-reportfile, generated by a python-script I wrote. It has 1655 lines (about 50% comments). The comments and variable-names are in German. And right now, the sourcecode looks horrible, because I started rewriting the script and stopped half way.

    Take a look at the screenshot, and tell me if it could be of any use to you. For this script to work, you need to download it to a machine where a Python-interpreter is installed. (www.python.org). (my ASG saves them on a samba-share on my windows-workstation each night) Then you need to run the script (my workstation also does that automatically each night)

    The script is very slow. It needs about 9 Minutes for our log files of 1 month, and we only get about 170,000 mails per month.

    The screenshot shows the status quo of this month: (2006-12-01 to 2006-12-10)
    - 54,888 Mails arrived at the Firewall.
    - 41.93% of those were delivered to our internal mailserver
    - 43.54% of those were refused by the firewall (before the body of the mail was transmitted)
    - 5.28% were rejected after scanning the body (malware, unwanted files or text-pattern match)
    - 2.59% were put in quarantine
    - 6.55% were blackholed
    - 0.1% were undeliverable
    - 0.01% were undeliverable bounce-messages.
    - The firewall received 2,221,167 KBytes and sent 2,994,112.9 KBytes

    If you provide a text file with all known email addresses (and aliases), the script will generate one HTML-file per user with details for every mail sent to and received by that user. If you don't, it will generate a gigantic HTML-file containing a report about transmissions of "unknown users".

    All information is extracted from the exim-log-files.

    If you're not interested in that script, I will have absolutely no incentive to go back to work on that script. And if you need more speed, you probably need a better python programmer than me. (I'm just a beginner)

    thtran