Hello Mr Wietse. I know what I'm asking is not usual, but it is a request of a customer of the company where I work, and I have to solve this.
In fact, the full request is: in any email that has more than one recipient, the e-mail server should only consider the first recipient and discard the others. No error message is needed. It is possible? If this is not possible, my request of the first email with a error message "Too many recipients" is enough. I tested it with the parameter "smtpd_recipient_limit = 1", but I need only on outgoing messages. Thank you. Best regards Marcelo 2016-09-10 19:42 GMT-03:00 Wietse Venema <wie...@porcupine.org>: > Marcelo Machado: > > Hi friends. > > > > I need to limit the number recipients in all messages from my internal > > domain, even for a minimum of one recipient via postfix parameter or > > external app like a milter. > > > > Inbound messages can not be affected. > > So, what should Postfix do if you create one message with two > recipients: Should Postfix report that it has too many recipients? > Should it do something else? > > Wietse >