On Mon, 16 Feb 2009, Marco Tchi Hong wrote:

> I'd like to limit the number of recipient a user can specify when sending
> mail via our SMTP server.
> 
> In other words, I'd like to refuse the mail if the number of recipients
> exceeds 10 for example.
> 
> To do so, I set smtpd_recipient_limit to 10.
> 
> To which value should I set smtpd_recipient_overshoot_limit ? I should set
> it to 0 ?

No.  Postfix will accept 10 recipients and then reject 1000 (the default
value for smtpd_recipient_overshoot_limit), after which
smtpd_soft_error_limit and smtpd_hard_error_limit are applied.  See TARPIT
CONTROLS in smtpd(8).

-- 
Sahil Tandon <sa...@tandon.net>

Reply via email to