ports install postfix-2.3.7
2009-05-13 10:07:37来源:未知 阅读 ()
#cp ports.tar.gz /usr
#cd /usr; tar xzf ports.tar.gz
在线编译postfix
# cd /usr/ports/mail/postfix/stable/
# FLAVOR="sasl2 ldap" make package
===> Checking files for postfix-2.3.7-sasl2-ldap
`/usr/ports/distfiles/postfix/postfix-2.3.7.tar.gz' is up to date.
>> Checksum OK for postfix/postfix-2.3.7.tar.gz. (sha1)
===> postfix-2.3.7-sasl2-ldap depends on: pcre-* - found
===> postfix-2.3.7-sasl2-ldap depends on: cyrus-sasl-* - found
===> postfix-2.3.7-sasl2-ldap depends on: openldap-client-2.* - found
===> Verifying specs: pcre sasl2 ldap.>=2 lber pcre sasl2 ldap.>=2 lber c crypto ssl c crypto ssl
===> found pcre.1.0 sasl2.2.21 ldap.9.1 lber.9.1 c.40.3 crypto.13.0 ssl.11.0
===> Extracting for postfix-2.3.7-sasl2-ldap
===> Patching for postfix-2.3.7-sasl2-ldap
===> Configuring for postfix-2.3.7-sasl2-ldap
[...snip...]
===> Building package for postfix-2.3.7-sasl2-ldap
Create /usr/ports/packages/i386/all/postfix-2.3.7-sasl2-ldap.tgz
Link to /usr/ports/packages/i386/ftp/postfix-2.3.7-sasl2-ldap.tgz
#
安装postfix
# pkg_add /usr/ports/packages/i386/all/postfix-2.3.7-sasl2-ldap.tgz
postfix-2.3.7-sasl2-ldap: complete
--- postfix-2.3.7-sasl2-ldap -------------------
-> Creating /etc/mailer.conf.postfix
-> Creating Postfix spool directory and chroot area under /var/spool/postfix
Warning: you still need to edit myorigin/mydestination/mynetworks
parameter settings in /etc/postfix/main.cf.
See also http://www.postfix.org/STANDARD_CONFIGURATION_README.html
for information about dialup sites or about sites inside a
firewalled network.
BTW: Check your /etc/mail/aliases file and be sure to set up
aliases that send mail for root and postmaster to a real person,
then run /usr/local/sbin/newaliases.
+---------------
| Configuration files has been installed in /etc/postfix.
| Please update these files to meet your needs.
+---------------
+---------------
| Postfix can be set up to replace sendmail entirely. Please read the
| documentation at file:/usr/local/share/doc/postfix/html/index.html or
| http://www.postfix.org/ carefully before you decide to do this!
|
| To replace sendmail with postfix you have to install a new mailer.conf
标签:
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有
上一篇:FreeBSD成长日记
下一篇:ssh连接速度很慢
- Freebsd oracle 10g 2009-05-13
- KDE/FreeBSD 测试 QT-4.5.1. 2009-05-13
- OpenBSD 4.5下安装Gnome 2.24成功! 2009-05-13
- OpenBSD 4.5 2009-05-13
- DragonFly BSD 2.2.1发布 2009-05-13
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash