MailScanner and Spamassasin and Recipient count

Rose, Bobby brose at
Fri Apr 6 17:12:49 IST 2012

I'm not looking to record the recipients in the headers but MailScanner knows the envelope recipients for things like the "Ignore Spam Whitelist If Recipients Exceed" option.  I'm looking for a way for SA to have either the envelope recipients for a count rule or maybe the envelope recipient count from MailScanner to be referenced in SA.

Make sense?


-----Original Message-----
From: mailscanner-bounces at [mailto:mailscanner-bounces at] On Behalf Of Alex Broens
Sent: Friday, April 06, 2012 12:01 PM
To: mailscanner at
Subject: Re: MailScanner and Spamassasin and Recipient count

On 04/06/2012 05:44 PM, Rose, Bobby wrote:
> Does anyone know how to have MailScanner pass the expanded recipients
> to spamassassin?  I know you can count the number of recipients in the
> header but when it's to a group or BCC, it's only one recipient or so
> in the headers so you can't count.  I'm assuming MailScanner knows the
> recipients since it logs it to mailwatch.  Just wondering if there is
> a way of passing that info to SA so it could count envelope recipients
> instead of headers.

AFAIK, this has to be done at MTA level for it to pass it on to MailScanner / SA

MailScanner mailing list
mailscanner at

Before posting, read

Support MailScanner development - buy the book off the website!


This document may include proprietary and confidential information of Wayne State University Physician Group and may only be read by those person(s) to whom it is addressed. If you have received this e-mail message in error, please notify us immediately. This document may not be reproduced, copied, distributed, published, modified or furnished to third parties, without prior written consent of Wayne State University Physician Group. Thank you.

More information about the MailScanner mailing list