centos6.5编译安装postfix-2.11.1
时间:2015-06-21 09:20 来源:blog.51cto.com 作者:lx199181625
# service postfix stop
# chkconfig postfix off
# rpm -e postfix --nodeps
# service mysqld start
# chkconfig mysqld on
# mysqladmin -uroot password 'your_password'
# service saslauthd start
# chkconfig saslauthd on
# groupadd -g 2525 postfix
# useradd -g postfix -u 2525 -s /sbin/nologin -M postfix
# groupadd -g 2526 postdrop
# useradd -g postdrop -u 2526 -s /sbin/nologin -M postdrop
# tar zxvf postfix-2.9.3.tar.gz
# cd postfix-2.9.3
# make makefiles 'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DUSE_TLS ' 'AUXLIBS=-L/usr/local/mysql/lib -lmysqlclient -lz -lm -L/usr/lib/sasl2 -lsasl2 -lssl -lcrypto'
# make
# make install
install_root: [/] /
tempdir: [
/root/postfix-2
.9.3]
/tmp/postfix
config_directory: [
/etc/postfix
]
/etc/postfix
daemon_directory: [
/usr/libexec/postfix
]
command_directory: [
/usr/sbin
]
queue_directory: [
/var/spool/postfix
]
sendmail_path: [
/usr/sbin/sendmail
]
newaliases_path: [
/usr/bin/newaliases
]
mailq_path: [
/usr/bin/mailq
]
mail_owner: [postfix]
setgid_group: [postdrop]
html_directory: [no]
/var/www/html/postfix
manpages: [
/usr/local/man
]
readme_directory: [no]
(责任编辑:IT)
(责任编辑:IT) |