<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.16.3">
</HEAD>
<BODY>
<BR>
On Thu, 2010-03-11 at 09:14 +0200, Lyndon Labuschagne wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">On 11 Mar 2010, at 7:39 AM, ram wrote:</FONT>

<FONT COLOR="#000000">&gt; I have a requirement that mails with  over 50 recipients should be</FONT>
<FONT COLOR="#000000">&gt; outright rejected or bounced back</FONT>
<FONT COLOR="#000000">&gt; I assumed this would have been pretty simple to configure in MailScanner</FONT>
<FONT COLOR="#000000">&gt; or my MTA ( postfix) </FONT>
<FONT COLOR="#000000">&gt; </FONT>
<FONT COLOR="#000000">its not an option I have used before but this might do it</FONT>

<FONT COLOR="#000000">smtpd_recipient_limit (default: 1000)</FONT>
<FONT COLOR="#000000">The maximal number of recipients that the Postfix SMTP server accepts per message delivery request.</FONT>

<FONT COLOR="#000000">you would use the below in your main.cf file</FONT>
<FONT COLOR="#000000">smtpd_recipient_limit = 50</FONT>

</PRE>
</BLOCKQUOTE>
This works , but the first 50 recipients get the message , the rest get rejected<BR>
<BR>
Can I reject all message for all recipients<BR>
<BR>
</BODY>
</HTML>