Thanks for the quick replies. "postfwd" seems to be having the feature. Great...
Cheers, Janaka On Wed, Oct 5, 2011 at 9:59 PM, Wietse Venema <wie...@porcupine.org> wrote: > /dev/rob0: > > 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 > > The "postfwd" policy daemon can probably do this. > > Wietse >