1

Topic: Check and count sent email from a presonalised script

For to undestsrand when a mail as been cracked and used to send spam, i implemented a scripts that count sent email to some common domain (outlook, gmail, hotamil etc.)
When a user send too many email to this domain in last 5 minutes we receive a mail to check it and the user smtp are temporary disabled.

Actually work analising the maillog, but this method is slow and affected of some problems.

There is a way to may analyse sent mail from users in an other way ? For Example from witch arrive sent mail list that we may see in the dashboard of the admin ?

Thank you for any suggestion

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Check and count sent email from a presonalised script

You can check sql records in "iredapd.smtp_sessions".
Another option is "amavisd.msgs" (and "amavisd.msgrcpt"), but much harder than "iredapd.smtp_sessions".