How do I bounce back all mails over 50 recipients

ram ram at netcore.co.in
Thu Mar 11 07:50:25 GMT 2010


On Thu, 2010-03-11 at 09:14 +0200, Lyndon Labuschagne wrote:

> On 11 Mar 2010, at 7:39 AM, ram wrote:
> 
> > I have a requirement that mails with  over 50 recipients should be
> > outright rejected or bounced back
> > I assumed this would have been pretty simple to configure in MailScanner
> > or my MTA ( postfix) 
> > 
> its not an option I have used before but this might do it
> 
> smtpd_recipient_limit (default: 1000)
> The maximal number of recipients that the Postfix SMTP server accepts per message delivery request.
> 
> you would use the below in your main.cf file
> smtpd_recipient_limit = 50
> 

This works , but the first 50 recipients get the message , the rest get
rejected

Can I reject all message for all recipients

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20100311/9f7323b2/attachment.html


More information about the MailScanner mailing list