1

I am trying to implement a MTA, on reading documentation of the postfix I found a parameter 'in_flow_delay' whose description in sort says 'Time to pause before accepting a new message, when the message arrival rate exceeds the message delivery rate.'. How can I log or receive email notifications when such thing happens?

Based on the answers and comments I guess indeed postfix will log when such a condition arise. But someone can clarify how can I test this logging now (i.e. when the delivery rates are under control)?

Also just for conformance, I'd like to ask if I am wrong in considering that this condition measures congestion in the queue (actually accepted emails after access restrictions) while the stressed condition in postfix measures the incoming connection overflow (like in case of DDoS attacks).

2 Answers2

0

Postfix has logging implemented by default in its design. Depending on your Linux distribution it either logs to journalctl using systemd logging(journalctl -u postfix),or using syslog or rsyslog to a seperate log file in /var/log. You might need to tweak the logging level a bit too get there right info.

Turdie
  • 2,945
0

This is very specific. As was said in a comment with the normal log level this event should appear in logs. To be notified by e-mail when this happens you should script a log-parser and trigger mail when this event appears in logs.

Daniel K
  • 697