Andrew Thompson wrote:
Noel Jones wrote:
This is not an effective anti-spam control if that's what you're trying to use it for. You'll probably have better results with a fairly low smtpd_hard_error_limit and working recipient validation (clients are disconnected after $smtpd_hard_error_limit bad recipients).

I'd like to hear some opinions of acceptable(other than the default) values for $smtpd_hard_error_limit, as well as if anyone's been able to pin any service disrupting issues on it's setting.


I think "optimal" depends on the size of your site.

The danger is a legit mailing list with more than $smtpd_hard_error_limit bad users (or more typically, old users that are no longer valid) can be significantly delayed. Mail shouldn't be lost because of this setting, but there is no guarantee about how random site X will respond to being disconnected.

Probably anything in the range of 1..10 would be reasonable for small-to-medium sites, depending on your taste for possible delays and how many users you have.

I made the completely arbitrary choice of 3 for my sites (the largest is less than 2000 users), and have noticed no ill effects after several years.

  -- Noel Jones

Reply via email to