RSS
热门关键字:
当前位置 :| 主页>FreeBSD资料>

在FreeBSD上建立一个功能完整的邮件服务器

来源:freebsd 作者:freebsd 时间:2008-07-01 Tag: 点击:

  #1 在FreeBSD上建立一个功能完整的邮件服务器

  第一部分:安装邮件服务器:postfix+vm-pop3d+openwebmail

  欢迎大家转贴这个文章,但要保留下面的版权信息:

  作者:llzqq

  联系:llzqq@126.com

  以下的安装在FreeBSD 5.2.1系统上完成

  1.更新 ports

  # cvsup -gL 2 -h cvsup.freebsdchina.org /usr/share/examples/cvsup/ports-supfile

  2. 安装 openssl+apache 服务器

  # cd /usr/ports/security/openssl

  # make install

  # make clean

  # cd /usr/ports/www/apache2

  # make install

  # make clean

  # vi /etc/rc.conf

  apache2_enable="YES"

  3. 安装 openwebmail

  # cd /usr/ports/mail/openwebmail/

  # make WITH_QUOTA=yes install

  # make clean

  4. 安装 postfix ,在安装过程中用yes回答提出的问题

  # cd /usr/ports/mail/postfix/

  # make install

  # make clean

  # vi /etc/rc.conf

  为了能启动postfix加入:

  sendmail_enable="YES"

  sendmail_flags="-bd"

  sendmail_pidfile="/var/spool/postfix/pid/master.pid"

  sendmail_outbound_enable="NO"

  sendmail_submit_enable="NO"

  5. 安装 vm-pop3d

  # cd /usr/ports/mail/vm-pop3d

  # make install

  # make clean

  6. 配置 postfix

  # vi /usr/local/etc/postfix/main.cf

  添加:

  myhostname = nero.3322.org

  mydomain = nero.3322.org

  virtual_alias_maps=hash:/usr/local/etc/postfix/virtual


最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册
栏目列表
热点关注
相关文章