Postfix Performance Tuning
Purpose of Postfix performance tuning
The hints and tips in this document help you improve the
performance of Postfix systems that already work. If your Postfix
system is unable to receive or deliver mail, then you need to solve
those problems first, using the
DEBUG_README document as guidance.
For tuning external content filter performance, first read the
respective information in the
FILTER_README and
SMTPD_PROXY_README
documents. Then make sure to avoid latency in the content filter
code. As much as possible avoid performing queries against external
data sources with a high or highly variable delay. Your content
filter will run with a small concurrency to avoid CPU/memory
starvation, and if any latency creeps in, content filter throughput
will suffer. High volume environments should avoid RBL lookups,
complex database queries and so on.
Topics on mail receiving performance:
Topics on mail delivery performance:
Other Postfix performance tuning topics:
The following tools can be used to measure mail system performance
under artificial loads. They are normally not installed with Postfix.