block email on number of recipients and on message size

2013-01-23 Thread Antonio Tommasi
Hi to all i need to block email if the number of recipients is greater than a specific number and message size exceeds fixed limit. In main.cf i can configure message_size_limit and smtpd_recipient_limit, but i want to reject email only if (message_size message_size_limit) and

Re: block email on number of recipients and on message size

2013-01-23 Thread Dominik George
Hi, as always, postfwd might be the answer. -nik Antonio Tommasi antonio.tomm...@unile.it schrieb: Hi to all i need to block email if the number of recipients is greater than a specific number and message size exceeds fixed limit. In main.cf i can configure message_size_limit and

Re: block email on number of recipients and on message size

2013-01-23 Thread Noel Jones
On 1/23/2013 6:22 AM, Antonio Tommasi wrote: Hi to all i need to block email if the number of recipients is greater than a specific number and message size exceeds fixed limit. In main.cf i can configure message_size_limit and smtpd_recipient_limit, but i want to reject email only if