Total739287 Week278 Yesterday161 Today117 1count/day on each IP Since 2006-06-06

Top >>Mail >>FreeBSD メール環境構築

21 January 2010

FreeBSD メール環境構築

portsからpostfix を入れてみた

#cd /usr/ports/mail/postfix
#make install
途中で聞かれた質問
You need user "postfix" added to group "mail".
Would you like me to add it [y]? y
Would you like to activate Postfix in /etc/mail/mailer.conf [n]? y

/etc/rc.confに以下を追加
sendmail_enabled="NONE"
postfix_enabled="YES"

main.cfを編集
myhostname = 自分のホスト名を設定
mydomain = 自分のドメイン名を設定
myorigin = $mydomain
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain 必要な設定を追加
mynetworks_style = host
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
home_mailbox = Maildir/

以下のコマンドを実行(実行しないとエラーになったfatal: open database /etc/aliases.db: No such file or directory)
#newaliases

posted at 13:18:51 on 21 January 2010 by noboru - Category: Mail , FreeBSD

TrackBack

   トラックバックフォーム

Comments

No comments yet

Add Comments

このBlogへコメントを追加するにはメンバーとしてログインしなければいけません。

< 2024-05 >
SunMonTueWedThuFriSat
   1234
567891011
12131415161718
19202122232425
262728293031 




 Use OpenOffice.org
VALUE-DOMAIN.COM

最近のコメント