CONTENTS


Lastmodified 2023-10-17 (火) 15:31:56


SMTP認証

FreeBSD の Postfix で SMTP-Auth 設定

cyrus-sasl-saslauthd はユーザー数が十分少ないのでオプション無しで構成した。

cyrus-sasl のオプションは以下のとおり。

/etc/rc.conf に追加。PAM を使用する。

saslauthd_enable="YES"
saslauthd_flags="-a pam"

Installing dovecot-2.3.20_1...

===> Creating groups. Creating group 'dovecot' with gid '143'. Creating group 'dovenull' with gid '144'. ===> Creating users Creating user 'dovecot' with uid '143'. Creating user 'dovenull' with uid '144'.

You must create the configuration files yourself. Copy them over
to /usr/local/etc/dovecot and edit them as desired:
       cp -R /usr/local/etc/dovecot/example-config/* \
               /usr/local/etc/dovecot
The default configuration includes IMAP and POP3 services, will
authenticate users agains the system's passwd file, and will use
the default /var/mail/$USER mbox files.
Next, enable dovecot in /etc/rc.conf:
       dovecot_enable="YES"
To avoid a risk of mailbox corruption, do not set the
security.bsd.see_other_uids or .see_other_gids sysctls to 0
if Dovecot is storing mail for multiple concurrent users (PR 218392).
Similarly, setting sysctls security.bsd.hardlink_check_uid or
security.bsd.hardlink_check_gid to 1 might result in non-working
mailboxes, depending on what mailbox locking mechanism is used
(PR 242223).
If you want to be able to search within attachments using the
decode2text plugin, you'll need to install textproc/catdoc, and
one of graphics/xpdf or graphics/poppler-utils.
There are some potentially breaking changes in Dovecot 2.3. If you
are upgrading from Dovecot 2.2:
  * Read https://wiki2.dovecot.org/Upgrading/2.3
  * Merge the configuration file changes from
    /usr/local/etc/dovecot/examples-config/

===> SECURITY REPORT:

     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/dovecot/libdovecot.so.0.0.0 /usr/local/lib/dovecot/libdovecot.a(net.o)

     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:

https://www.dovecot.org/ ===> Cleaning for dovecot-2.3.20_1


Total access 396:本日 1:昨日 1

Counter: 396, today: 1, yesterday: 1

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