Limit recipient in To Cc and Bcc (Milter)

2016-09-10 Thread 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. Anyone can help me? Obs.: I use a Zimbra server. Thanks Marcelo Gomes

Re: Limit recipient in To Cc and Bcc (Milter)

2016-09-10 Thread Wietse Venema
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 me

Re: Problems with IPv6

2016-09-10 Thread Peter
On 10/09/16 09:29, Dirk Stöcker wrote: >> The >> tools which work so well in IPv4, namely DNSBL services, won't cope >> with IPv6. > > That's probably untrue. To cope with address randomization you simply > can block the whole "/64". That saves much space. Depending on provider > policy maybe even

Re: Limit recipient in To Cc and Bcc (Milter)

2016-09-10 Thread Marcelo Machado
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 ot

Re: Limit recipient in To Cc and Bcc (Milter)

2016-09-10 Thread Peter
On 11/09/16 13:44, Marcelo Machado wrote: > I tested it with the parameter "smtpd_recipient_limit = 1", but I > need only on outgoing messages. Set that in master.cf, under the submission service. Peter

Re: Limit recipient in To Cc and Bcc (Milter)

2016-09-10 Thread Peter
On 11/09/16 13:44, Marcelo Machado wrote: > 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