1 <!doctype html public
"-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
8 <title>Postfix and Linux
</title>
10 <meta http-equiv=
"Content-Type" content=
"text/html; charset=us-ascii">
16 <h1><img src=
"postfix-logo.jpg" width=
"203" height=
"98" ALT=
"">Postfix and Linux
</h1>
20 <h2>Berkeley DB issues
</h2>
22 <p> If you can't compile Postfix because the file
"db.h"
23 isn't found, then you MUST install the Berkeley DB development
24 package (name: db???-devel-???) that matches your system library.
25 You can find out what is installed with the rpm command. For example:
30 $
<b>rpm -qf /usr/lib/libdb.so
</b>
35 <p> This means that you need to install db4-devel-
4.3.29-
2 (on
36 some systems, specify
"<b>rpm -qf /lib/libdb.so</b>" instead).
</p>
38 <p> DO NOT download some Berkeley DB version from the network.
39 Every Postfix program will dump core when it is built with a different
40 Berkeley DB version than the version that is used by the system
41 library routines. See the
<a href=
"DB_README.html">DB_README
</a> file for further information.
44 <h2>Procmail issues
</h2>
46 <p> On RedHat Linux
7.1 and later
<b>procmail
</b> no longer has
48 to write the mail spool directory. Workaround:
</p>
52 # chmod
1777 /var/spool/mail
56 <h2>Syslogd performance
</h2>
58 <p> LINUX
<b>syslogd
</b> uses synchronous writes by default. Because
59 of this,
<b>syslogd
</b> can actually use more system resources than
60 Postfix. To avoid such badness, disable synchronous mail logfile
61 writes by editing /etc/syslog.conf and by prepending a - to the
67 mail.* -/var/log/mail.log
71 <p> Send a
"<b>kill -HUP</b>" to the
<b>syslogd
</b> to make the
72 change effective.
</p>