[root@localhost postfix]# netstat -ap | grep master | wc -l
83
I didn't really need all the additional Postfix features, so I set out to configure the bare minimum setup.
After spending some time going through the /etc/postfix/master.cf file, and some trial and error, I managed to narrowed the configuration down to the following:
smtp inet n - n - - smtpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
smtp unix - - n - - smtp
Now, Postfix starts up only 20 processes.
[root@localhost postfix]# netstat -ap | grep master | wc -l
20
Note: Mail sent using such a setup is most likely to end-up in your spam folder.
Cheers,
VVK
No comments:
Post a Comment