#author("2019-02-17T10:02:46+09:00","default:kuji","kuji")
#author("2023-10-16T14:57:52+09:00","default:kuji","kuji")
CONTENTS
#contents
----
Lastmodified &lastmod;
----
[[Postfix on FreeBSD]]

*Postfix [#v33a4735]


 Installing postfix-3.3.1_1,1...
 Installing postfix-3.8.2,1...
 ===> Creating groups.
 Using existing group 'mail'.
 Creating group 'maildrop' with gid '126'.
 Creating group 'postfix' with gid '125'.
 ===> Creating users
 Creating user 'postfix' with uid '125'.
 ===> Creating homedir(s)
 Adding user 'postfix' to group 'mail'.
 Would you like to activate Postfix in /usr/local/etc/mail/mailer.conf [n]?
 
 ===============================================================
 Postfix was *not* activated in /usr/local/etc/mail/mailer.conf!
 
 To finish installation run the following commands:
 
   mkdir -p /usr/local/etc/mail
   install -m 0644 /usr/local/share/postfix/mailer.conf.postfix /usr/local/etc/mail/mailer.conf
 ===============================================================
 
 To use postfix instead of sendmail:
   - clear sendmail queue and stop the sendmail daemons

 
 Run the following commands to enable postfix during startup:
   - sysrc postfix_enable="YES"
   - sysrc sendmail_enable="NONE"
 
 If postfix is *not* already activated in /usr/local/etc/mail/mailer.conf
   - mv /usr/local/etc/mail/mailer.conf /usr/local/etc/mail/mailer.conf.old
   - install -d /usr/local/etc/mail
   - install -m 0644 /usr/local/share/postfix/mailer.conf.postfix /usr/local/etc/mail/mailer.conf
 
 Disable sendmail(8) specific tasks,
 add the following lines to /etc/periodic.conf(.local):
   daily_clean_hoststat_enable="NO"
   daily_status_mail_rejects_enable="NO"
   daily_status_include_submit_mailq="NO"
   daily_submit_queuerun="NO"
 
&ref(periodic.conf);
 If you are using SASL, you need to make sure that postfix has access to read
 the sasldb file.  This is accomplished by adding postfix to group mail and
 making the /usr/local/etc/sasldb* file(s) readable by group mail (this should
 be the default for new installs).
 
 If you are upgrading from prior postfix version, please see the README
 files for recommended changes to your configuration and additional
 http://www.postfix.org/COMPATIBILITY_README.html
 もし、SASLを試用するなら、sasldb ファイルを postfix がアクセスして groupe mail で読み取れなくてはなりません。
 これは、postfix に group mail を追加することで、/usr/local/etc/sasldb* file(s) のファイル群が読み取れる様になります。
 
 ===> SECURITY REPORT:
       This port has installed the following binaries which execute with
       increased privileges.
 /usr/local/sbin/postlog
 
       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/lib/postfix/libpostfix-util.so
 
       This port has installed the following startup scripts which may cause
       these network services to be started at boot time.
 /usr/local/etc/rc.d/postfix
 
       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:
 http://www.postfix.org/
 ===>  Cleaning for icu-62.1_2,1
 ===>  Cleaning for postfix-3.3.1_1,1
 https://www.postfix.org/

 root@smb212:~:18_10_09:16:41 # mkdir -p /usr/local/etc/mail
 root@smb212:~:18_10_09:16:42 # install -m 0644 /usr/local/share/postfix/mailer.conf.postfix /usr/local/etc/mail/mailer.conf
 root@smb212:~:18_10_09:16:57 # echo 'postfix_enable="YES"' >>  /etc/rc.conf
 root@smb212:~:18_10_09:DING! # echo 'sendmail_enable="NONE"' >> /etc/rc.conf
 root@smb212:~:18_10_09:17:01 # mv /usr/local/etc/mail/mailer.conf /usr/local/etc/mail/mailer.conf.old
 root@smb212:~:18_10_09:17:02 # install -m 0644 /usr/local/share/postfix/mailer.conf.postfix /usr/local/etc/mail/mailer.conf
 root@smb212:~:18_10_09:17:03 #
 root@smb212:~:18_10_09:17:03 # touch /etc/periodic.conf


----
Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday);
#counter([total|today|yesterday]);


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