1

Topic: Slow manner for outgoing mail to same domain/recipient

==== Required information ====
- iRedMail version (check /etc/iredmail-release):  0.9.5-1
- Linux/BSD distribution name and version: CentOS 7.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue:
====

Hi, I would like to know is it possible and how to control user to send mail to the same domain/recipient in a specific period of time? E.g. user can only send 10 emails to xxxx@xxx.com within 1 min and if the number of mail exceed, the rest of the mails will be queued and send at a later time? Thanks a lot!

Regards,
Gary Lor

----

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

2

Re: Slow manner for outgoing mail to same domain/recipient

Curious, why restricting emails sent to same domain/recipient?

3

Re: Slow manner for outgoing mail to same domain/recipient

ZhangHuangbin wrote:

Curious, why restricting emails sent to same domain/recipient?

Coz some of our user's PC used to infected by virus and keep sending junk mail, we don't want to be blacklist by those domains especially those company which use Cisco mail appliance. Once you get listed, nothing you can do about it but wait till your reputation became normally again which usually takes a few days of time.

4

Re: Slow manner for outgoing mail to same domain/recipient

garylor wrote:

how to control user to send mail to the same domain/recipient in a specific period of time?

With SQL backends, you can partly do this with iRedAPD plugin 'amavisd_wblist', but it's a little complex to achieve this with SQL command line tool. With iRedAdmin-Pro, what you need to do is just putting the domains/addresses you don't want your users to reach.

Screenshot of iRedAdmin-Pro (in user profile page):

To disallow user to send email to external domain, just whitelist the same domain and block all (@.). But it doesn't support a time period.

http://www.iredmail.org/images/iredadmin/user_profile_restrictions.png

5

Re: Slow manner for outgoing mail to same domain/recipient

ZhangHuangbin wrote:
garylor wrote:

how to control user to send mail to the same domain/recipient in a specific period of time?

With SQL backends, you can partly do this with iRedAPD plugin 'amavisd_wblist', but it's a little complex to achieve this with SQL command line tool. With iRedAdmin-Pro, what you need to do is just putting the domains/addresses you don't want your users to reach.

Screenshot of iRedAdmin-Pro (in user profile page):

To disallow user to send email to external domain, just whitelist the same domain and block all (@.). But it doesn't support a time period.

http://www.iredmail.org/images/iredadmin/user_profile_restrictions.png

Noted with thanks.