1 (edited by SteveInAkron 2016-12-12 11:23:18)

Topic: Prohibit sending with a script

Is there a python script somewhere that I have not found that can be passed a list of emails to have sending prohibited?

I've looked in the tools directory of iRedAdminPro, but didn't find any.

I have a script that I want to run in a cron job to try and locate accounts that have been compromised. It's happening with increasing frequency. Sometime through malware on their PC, other time the password has been cracked, and SASL is used.

It would appear that setting

mailbox.enablesmtp=0
mailbox.enablesmtpsecured=0

should not allow a person to send, but they would still be able to get mail.

----

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

2

Re: Prohibit sending with a script

mailbox.enablesmtp and mailbox.enablesmtpsecured are what you want.

*) mailbox.enablesmtp for normal smtp service without secure connection. usually this is port 25 (sending email)
*) mailbox.enablesmtpsecured for smtp service over TLS or SSL, usually this is port 587.