How to limit sending number of email address in per mail

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
arif.meman
Posts: 2
Joined: Thu Sep 27, 2018 12:26 pm

How to limit sending number of email address in per mail

Postby arif.meman » Fri Nov 09, 2018 5:00 am

Hi All,

How to limit number of email addresses one user can send per mail.

what i want to do is, i want to limit every user to restrict.

like, for one user, i want that, he can send only 50 email addresses in one mail, in To, CC or BCC.

is that possible?


afsher
Posts: 2
Joined: Mon Nov 14, 2016 8:52 am

Re: How to limit sending number of email address in per mail

Postby afsher » Fri Nov 09, 2018 8:38 am

After executing the below policy, users shall not be able to add more than 10 email addresses in a message to/cc/bcc field.

Step 1: Login as a Zimbra user and check current limit.

root@mail:~# su – zimbra

Check the current limit:

zimbra@mail:~$ postconf | grep smtpd_recipient_limit
smtpd_recipient_limit = 1000 ##This is the default recipient limit

Step 2: Restrict recipient limit to 10

zimbra@mail:~$ postconf -e 'smtpd_recipient_limit = 10'

It will restrict the recipient limit to 10. You may adjust the number based on your scenario.

Step 3: Apply Settings

zimbra@mail:~$ postfix reload

After applying this settings, you will get an error while sending a message greater than the
threshold value (in this case: 10).

Return to “Administrators”

Who is online

Users browsing this forum: L. Mark Stone and 26 guests