Page 1 of 1

Limit number of address in "To:" field

Posted: Wed Jun 29, 2016 2:10 pm
by mmgomess
Hi friends.

I need to limit the number of addresses in the "To:" in messages from my domain users.

It is possible?

Sorry my bad english

Thanks.

Marcelo

Re: Limit number of address in "To:" field

Posted: Wed Jun 29, 2016 2:39 pm
by cayaraa
It doesn't give the best error message when you go over it but we do this at the postfix/mta level.
To view:
$ postconf|grep smtpd_recipient_limit
To change:
$ postconf -e 'smtpd_recipient_limit = 400'

http://www.postfix.org/postconf.5.html# ... ient_limit

-Aaron

Re: Limit number of address in "To:" field

Posted: Wed Jun 29, 2016 8:25 pm
by mmgomess
Hello Aaron.

This setting will work only with messages from my domain?

I do not want to affect incoming messages.

Thank you

Marcelo

Re: Limit number of address in "To:" field

Posted: Wed Jun 29, 2016 8:54 pm
by cayaraa
Ah yeah I should have said that. We split our outbound and inbound zimbra mta servers so this setting can be lower on the outbound mta.