Recipient Limitation(s)

Philip Butler butler at
Wed Jul 22 16:32:46 IST 2009


There's a way to do this in your sendmail configuration (assuming you  
are running sendmail):

	O MaxRecipientsPerMessage=n   (where n is the max number of recipients)

I am sure a good google search will explain more on this setting.

If you are not running sendmail, this will be of no use to you.

The advantage/disadvantage of this is that it runs before MailScanner  
is involved.  This is an advantage in that the message is quickly  
rejected (and the sender notified) before MailScanner has to process  
it.  It is a disadvantage in that it won't be seen by MailScanner and  
therefore not quarantined for analysis.

My 2 cents worth...

Phil Butler

On Jul 22, 2009, at 11:13 AM, Gottschalk, David wrote:

> Is it possible to setup MailScanner to block/quarantine messages  
> over a certain number of recipients? I want to do this because we  
> have a lot of accounts being compromised and sending out emails to a  
> large number of recipients. I think this would be a good proactive  
> measure.
> I've looked into spamassassin doing this, but cannot find anything  
> that would give me the ability to do this.
> Any tips would be appreciated, I've searched all around and haven't  
> found anything.
> David Gottschalk
> UTS Email team
> david.gottschalk at
> This e-mail message (including any attachments) is for the sole use of
> the intended recipient(s) and may contain confidential and privileged
> information.  If the reader of this message is not the intended
> recipient, you are hereby notified that any dissemination,  
> distribution
> or copying of this message (including any attachments) is strictly
> prohibited.
> If you have received this message in error, please contact
> the sender by reply e-mail message and destroy all copies of the
> original message (including attachments).
> --
> MailScanner mailing list
> mailscanner at
> Before posting, read
> Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list