Re: [exim] Limit No. of recipients in email client

Pàgina inicial
Delete this message
Reply to this message
Autor: Duane Hill
Data:  
A: exim users
Assumpte: Re: [exim] Limit No. of recipients in email client
On Monday, May 14, 2012 at 11:21:53 UTC, frettled@??? confabulated:

> On Mon, May 14, 2012 at 12:40 PM, Muhammad Irfan <mirfan1981@???>wrote:
>> Hello,
>>
> Hello!
>>
>> I have couple of requirements.
>>
>> 1- I need to restrict no. of recipients in email client
>> (outlook/thunderbird). Let say a user can't send email if he has no. of
>> recipients greater than 100 regardless in To, CC, BCC.
>>
> This is default behaviour in exim, you do not need to change anything.


Default behavior is not limited. recipients_max defaults to the value
of zero.

From the docs:

recipients_max Use: main Type: integer Default: 0

If this option is set greater than zero, it specifies the maximum
number of original recipients for any message. Additional recipients
that are generated by aliasing or forwarding do not count. SMTP
messages get a 452 response for all recipients over the limit; earlier
recipients are delivered as normal. Non-SMTP messages with too many
recipients are failed, and no deliveries are done.

Note: The RFCs specify that an SMTP server should accept at least 100
RCPT commands in a single message.

--
If at first you don't succeed...
...so much for skydiving.