Chinaunix首页 | 论坛 | 博客
  • 博客访问: 168011
  • 博文数量: 45
  • 博客积分: 466
  • 博客等级: 下士
  • 技术积分: 520
  • 用 户 组: 普通用户
  • 注册时间: 2011-05-18 11:34
个人简介

机会是留给有准备的人。

文章分类

全部博文(45)

文章存档

2022年(1)

2016年(1)

2015年(3)

2014年(9)

2013年(9)

2012年(1)

2011年(21)

我的朋友

分类: BSD

2011-05-27 09:18:46

If you update your configuration from 8.11.x you need to install an
additional config file: /etc/mail/submit.cf, you can generate it
by calling the target 'submit.cf', submit.mc will be installed too.
/usr/ports/mail/sendmail$ make submit.cf

you should add in /etc/make.conf:
SENDMAIL_CF_DIR=        /usr/local/share/sendmail/cf

To activate only the delivery from the local submission queue see:
/usr/local/etc/rc.d/sm-client.sh.sample
and if you use FreeBSD-RELEASE < 4.6 set your flags in /etc/rc.conf:
sendmail_flags="-L sm-msp-queue -Ac -q1m"

To activate all sendmail processes see:
/usr/local/etc/rc.d/sendmail.sh.sample

To deliver all local mail to your mailhub, edit the last line of submit.mc:
FEATURE(`msp','[mailhub.do.main]`)dnl

To update your configuration look at /usr/local/share/sendmail/cf/README.
---------------------------------------------------
To use the ports versions you may add to your sendmail.mc file:

define(`confEBINDIR', `/usr/local/libexec')dnl
define(`UUCP_MAILER_PATH', `/usr/local/bin/uux')dnl

---------------------------------------------------
To activate sendmail as your default mailer, call the target 'mailer.conf':
$ cd /usr/ports/mail/sendmail && make mailer.conf

Your '/etc/mail/mailer.conf' should look like this:
#
# Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail
#
sendmail        /usr/local/sbin/sendmail
send-mail       /usr/local/sbin/sendmail
mailq           /usr/local/sbin/sendmail
newaliases      /usr/local/sbin/sendmail
hoststat        /usr/local/sbin/sendmail
purgestat       /usr/local/sbin/sendmail

You may also need to update /etc/rc.conf.
---------------------------------------------------
===>   Compressing manual pages for sendmail-8.14.4_2
===>   Registering installation for sendmail-8.14.4_2
===> SECURITY REPORT:
      This port has installed the following binaries which execute with
      increased privileges.
/usr/local/sbin/sendmail

      This port has installed the following files which may act as network
      servers and may therefore pose a remote security risk to the system.
/usr/local/sbin/sendmail

      If there are vulnerabilities in these programs there may be a security
      risk to the system. FreeBSD makes no guarantee about the security of
      ports included in the Ports Collection. Please type 'make deinstall'
      to deinstall the port if this is a concern.

      For more information, and contact details about the security
      status of this software, see the following webpage:

阅读(1898) | 评论(0) | 转发(0) |
0

上一篇:PHP5 安装完提示信息

下一篇:Sendmail+sasl2

给主人留下些什么吧!~~