Hi! I have an application that uses PHPMailer, which in turn uses /usr/sbin/sendmail installed by Postfix.
The basic problem is that I wish to limit number of recipients for outgoing mail using Postfix sendmail. I added default_recipient_limit=2 and default_destination_limit=2 to main.cf and reload postfix, but this fails when I am sending to than 2 recipients. I found something on the internet that "You can't restrict recipient count for the mails submitted through sendmail command". I suppose this is referring to any application that invokes /usr/sbin/sendmailinstalled by Postfix. I couldn't confirm this in Postfix documentation or on Google. Can someone verify, and explain why it is (or not) possible to limit number of outgoing recipients on Postfix sendmail? More generally, what quotas or options can be configured with Postfix sendmail? Thank you! Lulu