Postfix Rate Limiting

Following on from the excellent advice here:

and here:

You may want to add the following:

smtpd_client_event_limit_exceptions =

Without it postfix defaults to smtpd_client_event_limit_exceptions = $mynetworks and won’t apply rate rules to hosts within those networks. So if your problem is internal servers hammering your relay then the limits won’t get applied.

Oh, and if you want to test mail delivery by sending it to the relay host from the command line of one of the other servers:

mail -S smtp -s "Test" < some.file.of.stuff