On Wednesday 05 October 2011 00:03:30 Janaka Wickramasinghe wrote:
> Is there a way to limit the number of recipients per message
> based on the sender email address ?

This would require an external policy service acting on sender and 
recipient_count attributes. I'm not sure if any of the existing 
projects support this, but if not, you could hack them easily. Note, 
to use recipient_count, you would have to do your check_policy_service 
lookup in smtpd_(end_of_)data_restrictions.

http://www.postfix.org/SMTPD_POLICY_README.html
http://www.postfix.org/SMTPD_ACCESS_README.html
http://www.postfix.org/postconf.5.html#smtpd_data_restrictions
-- 
    Offlist mail to this address is discarded unless
    "/dev/rob0" or "not-spam" is in Subject: header

Reply via email to