** etc [#ea44e699]
 pkg install -y mess822
 pkg install -y procmail
 pkg install -y autorespond
 pkg install -y daemontools


** ucspi-tcp [#r757bd66]
 cd /usr/ports/sysutils/ucspi-tcp/
 make config  
  
 OPTIONS UNSET  IPV6 
 OPTIONS SET    SSL
 
 make install
 make install clean

-IPV6 と SSL オプション同時はpatchの競合あり

 zfs snap -r zroot@13

** netqmail mail/qmail [#fd48e806]
-&color(red){host名がDNSで解決できる状態でインストールする事が望ましい};

 cd /usr/ports/mail/qmail
 make config
 
 OPTIONS SET   LOCALTIME_PATCH
 OPTIONS SET   MAILDIRQUOTA_PATCH
 OPTIONS SET   SMTP_AUTH_PATCH
 OPTIONS UNSET RCDLINK
 
 mount akari:/back /mnt
 cp /mnt/src/patch-z* ./files/
 
 make install
 make install clean
 
 echo 'test.zenno.net' > /var/qmail/control/me
 /var/qmail/scripts/enable-qmail

** vpopmail [#le02d425]

 cd /usr/ports/mail/vpopmail
 make config
 
 OPTIONS SET CLEAR_PASSWD
 OPTIONS SET SMTP_AUTH_PATCH
 OPTIONS SET MYSQL
 
 portmaster --show-work | grep -w 'NOT INSTALLED' | cut -d'/' -f2 > /back/list
 sed s/py-/py27-/ < /back/list > /back/list2
 portmaster --show-work | grep -w 'NOT INSTALLED' | cut -d'/' -f2 > /tmp/list
 sed s/py-/py27-/ < /tmp/list > /tmp/list2
 # pkg と ports の名前違いで 変換  
 
 cat /back/list2 | xargs -n 1 pkg install -y
 cat /tmp/list2 | xargs -n 1 pkg install -y
 
 portmaster --show-work | grep -w 'NOT INSTALLED'
 # 全部インストールできたか確認
 
 make install
 make install clean

** courier-imap [#f396c49c]
-&color(red){パッケージのcourier-authlib-vchkpwはmysql非対応なのでportsから};

 cd /usr/ports/mail/courier-imap
 make config
 
 OPTIONS UNSET  IPV6
 OPTIONS SET    AUTH_VCHKPW
 
 portmaster --show-work | grep -w 'NOT INSTALLED' | cut -d'/' -f2 > /back/list
 cat /back/list | xargs -n 1 pkg install -y
 portmaster --show-work | grep -w 'NOT INSTALLED' | cut -d'/' -f2 > /tmp/list
 grep -v courier-authlib-vchkpw /tmp/list > /tmp/list2
 cat /tmp/list2 | xargs -n 1 pkg install -y
 
  
 cd ../courier-authlib-vchkpw
 make install clean
 
 cd ../courier-imap
 
 portmaster --show-work | grep -w 'NOT INSTALLED'
 # 全部インストールできたか確認
 
 # pkg の courier-unicode-1.1_1 と ports の courier-unicode-1.2 version 違いでやむなくportsからってこともあった。
 
 make install
 make install clean


** etc2 [#k0e0052b]

 pkg install -y queue-fix 
 pkg install -y qmailmrtg7


** pkg lock [#xb125171]

 pkg lock -y ucspi-tcp
 pkg lock -y netqmail
 pkg lock -y vpopmail
 pkg lock -y courier-imap 


 zfs snap -r zroot@14
 





----
[[FreeBSD/インストール10.1]]


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS