Re: [exim] Limit msg to people at smtp talk

Top Page
Delete this message
Reply to this message
Author: Jakob Hirsch
Date:  
To: Sub Zero
CC: exim-users
Subject: Re: [exim] Limit msg to people at smtp talk
Sub Zero wrote:

> I want exim to reject the email if the mail is tried to be sent to more
> than 10 recipients (rcpt to:<addrto@???>" where has more than 10
> different addrto's. How do I do this with Exim 4.52 (cpanel)?


FWIW, RFC 2821 says: "Rejection of messages (for excessive recipients)
with fewer than 100 RCPT commands is a violation of this specification."

I think this is a bit outdated and valid smtp clients should be able to
handle lower limits. OTOH, the designated error code is 552, which clients
could interpret as a permanent error and therefore will not try to send to
this recipients again.