1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Secure IMAP and POP3 server
8 HOMEPAGE= https://www.dovecot.org/
12 SITES[main]= https://dovecot.org/releases/2.3/
13 DISTFILE[1]= dovecot-2.3.14.tar.gz:main
15 SPKGS[standard]= complete
19 OPTIONS_AVAILABLE= none
20 OPTIONS_STANDARD= none
22 BUILDRUN_DEPENDS= krb5:primary:standard
23 clucene:single:standard
25 USERS= dovecot dovenull
26 GROUPS= dovecot dovenull
27 USERGROUP_SPKG= primary
29 USES= cpe iconv libtool pkgconfig ssl sqlite lz4
31 LICENSE= MIT:primary LGPL21:primary
32 LICENSE_TERMS= primary:{{WRKSRC}}/COPYING
33 LICENSE_FILE= MIT:{{WRKSRC}}/COPYING.MIT
34 LGPL21:{{WRKSRC}}/COPYING.LGPL
37 FPC_EQUIVALENT= mail/dovecot
40 CONFIGURE_ARGS= --localstatedir=/var
41 --with-statedir=/var/db/dovecot
61 INSTALL_TARGET= install-strip
62 INSTALL_REQ_TOOLCHAIN= yes
63 PLIST_SUB= REQUIRE="LOGIN"
64 RC_SUBR= dovecot:primary
65 SUB_FILES= pkg-message-primary
67 CPPFLAGS= -I{{OPENSSLINC}}
68 LDFLAGS= -L{{OPENSSLLIB}}
69 VAR_OPSYS[dragonfly]= CONFIGURE_ENV=i_cv_fd_passing=yes
73 -e 's|/usr/bin|${LOCALBASE}/bin|g' \
74 -e 's|/usr/local|${PREFIX}|g' \
75 ${WRKSRC}/src/plugins/fts/decode2text.sh
76 ${REINPLACE_CMD} -e 's,/etc/dovecot,${PREFIX}/etc/dovecot,g; \
77 s,sysconfdir=/etc,sysconfdir=${PREFIX}/etc,g' \
78 ${WRKSRC}/doc/example-config/*.conf ${WRKSRC}/doc/example-config/conf.d/*
79 ${REINPLACE_CMD} -e '/^LIBS =/s/$$/ @LTLIBICONV@/' \
80 ${WRKSRC}/src/lib-mail/Makefile.in
81 # Install the sample config files into ETCDIR/example-config/
82 ${REINPLACE_CMD} -e '/^exampledir =/s|\$$(docdir)|${PREFIX}/etc/dovecot|' \
83 ${WRKSRC}/doc/example-config/Makefile.in \
84 ${WRKSRC}/doc/example-config/conf.d/Makefile.in
86 [FILE:531:descriptions/desc.primary]
87 Dovecot is an open source IMAP and POP3 email server for Linux/UNIX-like
88 systems, written with security primarily in mind. Dovecot is an excellent
89 choice for both small and large installations. It's fast, simple to set up,
90 requires no special administration and it uses very little memory.
92 Dovecot is high-performing, self-optimizing, self-healing, and easily
93 extensible. It includes IMAP4rev1 and POP3 support. IPv6, SSL and TLS are
94 supported. It supports multiple commonly used IMAP extensions, including SORT,
99 c8b3d7f3af1e558a3ff0f970309d4013a4d3ce136f8c02a53a3b05f345b9a34a 7483769 dovecot-2.3.14.tar.gz
102 [FILE:16355:manifests/plist.primary]
109 etc/dovecot/example-config/
110 dovecot-dict-auth.conf.ext
111 dovecot-dict-sql.conf.ext
112 dovecot-ldap.conf.ext
113 dovecot-oauth2.conf.ext
116 etc/dovecot/example-config/conf.d/
133 auth-checkpassword.conf.ext
138 auth-passwdfile.conf.ext
157 auth-client-connection.h
158 auth-client-interface.h
159 auth-client-private.h
163 auth-master-connection.h
167 auth-request-handler-private.h
168 auth-request-handler.h
170 auth-request-var-expand.h
185 charset-utf8-private.h
192 config-parser-private.h
215 dict-transaction-memory.h
224 doveadm-mailbox-list-iter.h
225 doveadm-print-private.h
231 dsasl-client-private.h
237 event-filter-parser.h
238 event-filter-private.h
273 fts-tokenizer-common.h
274 fts-tokenizer-generic-private.h
275 fts-tokenizer-private.h
293 http-client-private.h
299 http-message-parser.h
301 http-request-parser.h
303 http-response-parser.h
305 http-server-private.h
325 imap-login-commands.h
326 imap-login-settings.h
345 imap-urlauth-backend.h
346 imap-urlauth-connection.h
348 imap-urlauth-private.h
352 imapc-client-private.h
368 index-search-private.h
369 index-search-result.h
375 index-thread-private.h
385 iostream-rawlog-private.h
387 iostream-ssl-private.h
396 istream-attachment-connector.h
397 istream-attachment-extractor.h
399 istream-binary-converter.h
407 istream-file-private.h
411 istream-header-filter.h
456 mail-index-alloc-cache.h
460 mail-index-sync-private.h
461 mail-index-transaction-private.h
463 mail-index-view-private.h
467 mail-search-mime-build.h
468 mail-search-mime-register.h
470 mail-search-parser-private.h
472 mail-search-register.h
476 mail-storage-private.h
477 mail-storage-service.h
478 mail-storage-settings.h
481 mail-transaction-log-private.h
482 mail-transaction-log-view-private.h
483 mail-transaction-log.h
487 mailbox-attribute-internal.h
488 mailbox-attribute-private.h
491 mailbox-list-delete.h
493 mailbox-list-index-storage.h
494 mailbox-list-index-sync.h
496 mailbox-list-iter-private.h
498 mailbox-list-maildir.h
499 mailbox-list-notify-tree.h
500 mailbox-list-notify.h
501 mailbox-list-private.h
502 mailbox-list-subscriptions.h
505 mailbox-recent-flags.h
506 mailbox-search-result-private.h
508 mailbox-uidvalidity.h
510 maildir-filename-flags.h
523 master-service-private.h
524 master-service-settings-cache.h
525 master-service-settings.h
526 master-service-ssl-settings.h
542 mdbox-storage-rebuild.h
545 mech-digest-md5-private.h
553 message-binary-part.h
556 message-header-decode.h
557 message-header-encode.h
558 message-header-hash.h
559 message-header-parser.h
563 message-part-serialize.h
576 notify-plugin-private.h
584 ostream-file-private.h
616 push-notification-drivers.h
617 push-notification-event-flagsclear.h
618 push-notification-event-flagsset.h
619 push-notification-event-mailboxcreate.h
620 push-notification-event-mailboxdelete.h
621 push-notification-event-mailboxrename.h
622 push-notification-event-mailboxsubscribe.h
623 push-notification-event-mailboxunsubscribe.h
624 push-notification-event-message-common.h
625 push-notification-event-messageappend.h
626 push-notification-event-messageexpunge.h
627 push-notification-event-messagenew.h
628 push-notification-event-messageread.h
629 push-notification-event-messagetrash.h
630 push-notification-events-rfc5423.h
631 push-notification-events.h
632 push-notification-plugin.h
633 push-notification-triggers.h
634 push-notification-txn-mbox.h
635 push-notification-txn-msg.h
648 restrict-process-size.h
670 smtp-client-command.h
671 smtp-client-connection.h
672 smtp-client-private.h
673 smtp-client-transaction.h
675 smtp-command-parser.h
682 smtp-server-private.h
684 smtp-submit-settings.h
703 submission-backend-relay.h
706 submission-commands.h
708 submission-recipient.h
709 submission-settings.h
713 test-mail-storage-common.h
734 lib02_imap_acl_plugin.a
735 lib02_imap_acl_plugin.so
736 lib02_lazy_expunge_plugin.a
737 lib02_lazy_expunge_plugin.so
738 lib05_mail_crypt_acl_plugin.a
739 lib05_mail_crypt_acl_plugin.so
740 lib05_pop3_migration_plugin.a
741 lib05_pop3_migration_plugin.so
742 lib10_last_login_plugin.a
743 lib10_last_login_plugin.so
744 lib10_mail_crypt_plugin.a
745 lib10_mail_crypt_plugin.so
747 lib10_quota_plugin.so
748 lib11_imap_quota_plugin.a
749 lib11_imap_quota_plugin.so
751 lib11_trash_plugin.so
752 lib15_notify_plugin.a
753 lib15_notify_plugin.so
754 lib20_charset_alias_plugin.a
755 lib20_charset_alias_plugin.so
758 lib20_listescape_plugin.a
759 lib20_listescape_plugin.so
760 lib20_mail_log_plugin.a
761 lib20_mail_log_plugin.so
762 lib20_mailbox_alias_plugin.a
763 lib20_mailbox_alias_plugin.so
764 lib20_notify_status_plugin.a
765 lib20_notify_status_plugin.so
766 lib20_push_notification_plugin.a
767 lib20_push_notification_plugin.so
768 lib20_quota_clone_plugin.a
769 lib20_quota_clone_plugin.so
770 lib20_replication_plugin.a
771 lib20_replication_plugin.so
772 lib20_var_expand_crypt.a
773 lib20_var_expand_crypt.so
774 lib20_virtual_plugin.a
775 lib20_virtual_plugin.so
778 lib21_fts_lucene_plugin.a
779 lib21_fts_lucene_plugin.so
780 lib21_fts_squat_plugin.a
781 lib21_fts_squat_plugin.so
782 lib30_imap_zlib_plugin.a
783 lib30_imap_zlib_plugin.so
784 lib90_old_stats_plugin.a
785 lib90_old_stats_plugin.so
786 lib95_imap_old_stats_plugin.a
787 lib95_imap_old_stats_plugin.so
788 lib99_welcome_plugin.a
789 lib99_welcome_plugin.so
792 libdovecot-compression.a
793 libdovecot-compression.so
794 libdovecot-compression.so.0
795 libdovecot-compression.so.0.0.0
798 libdovecot-dsync.so.0
799 libdovecot-dsync.so.0.0.0
803 libdovecot-fts.so.0.0.0
807 libdovecot-lda.so.0.0.0
810 libdovecot-login.so.0
811 libdovecot-login.so.0.0.0
815 libdovecot-sql.so.0.0.0
817 libdovecot-storage.so
818 libdovecot-storage.so.0
819 libdovecot-storage.so.0.0.0
830 libssl_iostream_openssl.a
831 libssl_iostream_openssl.so
833 lib20_auth_var_expand_crypt.a
834 lib20_auth_var_expand_crypt.so
838 lib10_doveadm_acl_plugin.a
839 lib10_doveadm_acl_plugin.so
840 lib10_doveadm_quota_plugin.a
841 lib10_doveadm_quota_plugin.so
842 lib20_doveadm_fts_lucene_plugin.a
843 lib20_doveadm_fts_lucene_plugin.so
844 lib20_doveadm_fts_plugin.a
845 lib20_doveadm_fts_plugin.so
846 libdoveadm_mail_crypt_plugin.a
847 libdoveadm_mail_crypt_plugin.so
848 lib/dovecot/old-stats/
893 share/aclocal/dovecot.m4
894 share/dovecot/stopwords/
918 doveadm-deduplicate.1.gz
919 doveadm-director.1.gz
925 doveadm-force-resync.1.gz
931 doveadm-instance.1.gz
934 doveadm-mailbox-cryptokey.1.gz
944 doveadm-replicator.1.gz
955 dovecot-sysreport.1.gz
958 share/man/man7/doveadm-search-query.7.gz
959 @postunexec echo "If you are removing dovecot2 permanently, you should 'rm -rf /var/db/dovecot' to clear out any remaining data."
962 [FILE:6949:manifests/plist.docs]
968 solr-config-7.7.0.xml
969 solr-schema-7.7.0.xml
972 share/doc/dovecot/wiki/
974 AixPluginsSupport.txt
975 AttachmentIndicator.txt
976 AuthDatabase.CheckPassword.txt
977 AuthDatabase.Dict.txt
978 AuthDatabase.LDAP.AuthBinds.txt
979 AuthDatabase.LDAP.PasswordLookups.txt
980 AuthDatabase.LDAP.Userdb.txt
981 AuthDatabase.LDAP.txt
983 AuthDatabase.Passwd.txt
984 AuthDatabase.PasswdFile.txt
986 AuthDatabase.VPopMail.txt
988 Authentication.Caching.txt
989 Authentication.Kerberos.txt
990 Authentication.MasterUsers.txt
991 Authentication.Mechanisms.DigestMD5.txt
992 Authentication.Mechanisms.NTLM.txt
993 Authentication.Mechanisms.Winbind.txt
994 Authentication.Mechanisms.txt
995 Authentication.MultipleDatabases.txt
996 Authentication.PasswordSchemes.txt
997 Authentication.Penalty.txt
998 Authentication.Policy.txt
999 Authentication.RestrictAccess.txt
1001 BasicConfiguration.txt
1003 Clients.NegativeUIDs.txt
1007 Debugging.Authentication.txt
1008 Debugging.ProcessTracing.txt
1009 Debugging.Rawlog.txt
1010 Debugging.Thunderbird.txt
1012 Design.AuthProcess.txt
1013 Design.AuthProtocol.txt
1017 Design.DoveadmProtocol.HTTP.txt
1018 Design.DoveadmProtocol.txt
1021 Design.Indexes.Cache.txt
1022 Design.Indexes.MailIndexApi.txt
1023 Design.Indexes.MainIndex.txt
1024 Design.Indexes.TransactionLog.txt
1026 Design.InputStreams.txt
1028 Design.MailProcess.txt
1030 Design.OutputStreams.txt
1031 Design.ParameterForwarding.txt
1033 Design.Processes.txt
1034 Design.Storage.ErrorHandling.txt
1035 Design.Storage.Mail.txt
1036 Design.Storage.MailNamespace.txt
1037 Design.Storage.MailStorage.txt
1038 Design.Storage.MailUser.txt
1039 Design.Storage.Mailbox.Save.txt
1040 Design.Storage.Mailbox.Search.txt
1041 Design.Storage.Mailbox.Sync.txt
1042 Design.Storage.Mailbox.Transaction.txt
1043 Design.Storage.Mailbox.txt
1044 Design.Storage.MailboxList.txt
1045 Design.Storage.Plugins.txt
1052 Errors.ChgrpNoPerm.txt
1054 FindMailLocation.txt
1055 FinishBasicConfiguration.txt
1057 HowTo.AntispamWithSieve.txt
1058 HowTo.EximAndDovecotSASL.txt
1059 HowTo.ImapcProxy.txt
1060 HowTo.PopBSMTPAndDovecot.txt
1062 HowTo.PostfixAndDovecotSASL.txt
1064 HowTo.SimpleVirtualInstall.txt
1065 HowTo.WriteConfiguration.txt
1067 IMAPServer.Hibernation.txt
1083 MailLocation.LocalDisk.txt
1084 MailLocation.Maildir.txt
1085 MailLocation.SharedDisk.txt
1086 MailLocation.dbox.txt
1087 MailLocation.mbox.txt
1089 MailboxFormat.Cydir.txt
1090 MailboxFormat.MH.txt
1091 MailboxFormat.Maildir.txt
1092 MailboxFormat.dbox.txt
1093 MailboxFormat.imapc.txt
1094 MailboxFormat.mailstore.txt
1095 MailboxFormat.mbox.txt
1096 MailboxFormat.mbx.txt
1099 MboxChildFolders.txt
1102 Migration.BincIMAP.txt
1103 Migration.Courier.txt
1107 Migration.Linuxconf.txt
1108 Migration.MailFormat.txt
1109 Migration.Online.txt
1110 Migration.Teapop.txt
1112 Migration.Vm-pop3d.txt
1114 MissingMailboxes.txt
1120 PasswordDatabase.BSDAuth.txt
1121 PasswordDatabase.ExtraFields.AllowNets.txt
1122 PasswordDatabase.ExtraFields.Host.txt
1123 PasswordDatabase.ExtraFields.NoDelay.txt
1124 PasswordDatabase.ExtraFields.NoLogin.txt
1125 PasswordDatabase.ExtraFields.Proxy.txt
1126 PasswordDatabase.ExtraFields.User.txt
1127 PasswordDatabase.ExtraFields.txt
1128 PasswordDatabase.IMAP.txt
1129 PasswordDatabase.PAM.txt
1130 PasswordDatabase.Shadow.txt
1131 PasswordDatabase.Static.txt
1132 PasswordDatabase.oauth2.txt
1133 PasswordDatabase.txt
1134 PerformanceTuning.txt
1135 Pigeonhole.Installation.txt
1136 Pigeonhole.ManageSieve.Clients.txt
1137 Pigeonhole.ManageSieve.Configuration.txt
1138 Pigeonhole.ManageSieve.Install.txt
1139 Pigeonhole.ManageSieve.Troubleshooting.txt
1140 Pigeonhole.ManageSieve.txt
1141 Pigeonhole.Sieve.Configuration.Dict.txt
1142 Pigeonhole.Sieve.Configuration.File.txt
1143 Pigeonhole.Sieve.Configuration.LDAP.txt
1144 Pigeonhole.Sieve.Configuration.txt
1145 Pigeonhole.Sieve.Examples.txt
1146 Pigeonhole.Sieve.Extensions.Duplicate.txt
1147 Pigeonhole.Sieve.Extensions.Editheader.txt
1148 Pigeonhole.Sieve.Extensions.Include.txt
1149 Pigeonhole.Sieve.Extensions.SpamtestVirustest.txt
1150 Pigeonhole.Sieve.Extensions.Vacation.txt
1151 Pigeonhole.Sieve.Extensions.Variables.txt
1152 Pigeonhole.Sieve.Extensions.txt
1153 Pigeonhole.Sieve.Plugins.Extdata.txt
1154 Pigeonhole.Sieve.Plugins.Extprograms.txt
1155 Pigeonhole.Sieve.Plugins.IMAPFilterSieve.txt
1156 Pigeonhole.Sieve.Plugins.IMAPSieve.txt
1157 Pigeonhole.Sieve.Plugins.Pipe.txt
1158 Pigeonhole.Sieve.Plugins.txt
1159 Pigeonhole.Sieve.Troubleshooting.txt
1160 Pigeonhole.Sieve.Usage.txt
1161 Pigeonhole.Sieve.txt
1163 Plugins.Apparmor.txt
1164 Plugins.Autocreate.txt
1165 Plugins.CharsetAlias.txt
1166 Plugins.Compress.txt
1168 Plugins.FTS.Lucene.txt
1169 Plugins.FTS.Solr.txt
1170 Plugins.FTS.Squat.txt
1172 Plugins.LastLogin.txt
1173 Plugins.Lazyexpunge.txt
1174 Plugins.Listescape.txt
1175 Plugins.MailCrypt.txt
1176 Plugins.MailFilter.txt
1178 Plugins.MailboxAlias.txt
1180 Plugins.NotifyStatus.txt
1181 Plugins.PushNotification.txt
1182 Plugins.QuotaClone.txt
1186 Plugins.VarExpandCrypt.txt
1191 PostLoginScripting.txt
1193 QuickConfiguration.txt
1194 Quota.Configuration.txt
1203 SSL.CertificateClientImporting.txt
1204 SSL.CertificateCreation.txt
1205 SSL.DovecotConfiguration.txt
1206 SSL.SNIClientSupport.txt
1211 SharedMailboxes.ClusterSetup.txt
1212 SharedMailboxes.Permissions.txt
1213 SharedMailboxes.Public.txt
1214 SharedMailboxes.Shared.txt
1215 SharedMailboxes.Symlinks.txt
1217 SocketUnavailable.txt
1222 TestInstallation.txt
1223 TestPop3Installation.txt
1224 TimeMovedBackwards.txt
1234 UserDatabase.ExtraFields.txt
1235 UserDatabase.NSS.txt
1236 UserDatabase.Prefetch.txt
1237 UserDatabase.Static.txt
1241 VirtualUsers.Home.txt
1243 WhyDoesItNotWork.txt
1249 [FILE:284:patches/patch-src_lib-master_test-event-stats.c]
1250 --- src/lib-master/test-event-stats.c.orig 2021-03-04 08:38:06 UTC
1251 +++ src/lib-master/test-event-stats.c
1253 #include "stats-client.h"
1254 #include "test-common.h"
1256 +#include <signal.h>
1259 #include <sys/socket.h>
1262 [FILE:457:patches/patch-src_master_main.c]
1263 --- src/master/main.c.orig 2021-03-04 08:38:06 UTC
1264 +++ src/master/main.c
1265 @@ -861,6 +861,8 @@ int main(int argc, char *argv[])
1266 i_fatal("dup2(dev_null_fd) failed: %m");
1267 if (!foreground && dup2(dev_null_fd, STDOUT_FILENO) < 0)
1268 i_fatal("dup2(dev_null_fd) failed: %m");
1269 + if (!foreground && dup2(dev_null_fd, STDERR_FILENO) < 0)
1270 + i_fatal("dup2(dev_null_fd) failed: %m");
1273 i_strconcat(set->base_dir, "/"MASTER_PID_FILE_NAME, NULL);
1276 [FILE:1073:patches/patch-src_plugins_fts_decode2text.sh]
1277 /usr gets changed to ${LOCALBASE} in post-patch:, so we
1278 cheat and set xpdf's path to /usr/lib.
1280 --- src/plugins/fts/decode2text.sh.orig 2021-03-04 08:38:06 UTC
1281 +++ src/plugins/fts/decode2text.sh
1282 @@ -79,16 +79,20 @@ wait_timeout() {
1285 if [ $fmt = "pdf" ]; then
1286 - /usr/bin/pdftotext $path - 2>/dev/null&
1287 + if [ -x /usr/lib/xpdf/pdftotext ]; then
1288 + /usr/lib/xpdf/pdftotext $path - 2>/dev/null&
1290 + /usr/local/bin/pdftotext $path - 2>/dev/null&
1292 wait_timeout 2>/dev/null
1293 elif [ $fmt = "doc" ]; then
1294 - (/usr/bin/catdoc $path; true) 2>/dev/null&
1295 + (/usr/local/bin/catdoc $path; true) 2>/dev/null&
1296 wait_timeout 2>/dev/null
1297 elif [ $fmt = "ppt" ]; then
1298 - (/usr/bin/catppt $path; true) 2>/dev/null&
1299 + (/usr/local/bin/catppt $path; true) 2>/dev/null&
1300 wait_timeout 2>/dev/null
1301 elif [ $fmt = "xls" ]; then
1302 - (/usr/bin/xls2csv $path; true) 2>/dev/null&
1303 + (/usr/local/bin/xls2csv $path; true) 2>/dev/null&
1304 wait_timeout 2>/dev/null
1305 elif [ $fmt = "odt" -o $fmt = "ods" -o $fmt = "odp" ]; then
1306 xmlunzip "content.xml"
1309 [FILE:2204:files/dovecot.in]
1313 # REQUIRE: %%REQUIRE%%
1317 # dovecot_enable (bool): Set it to YES to enable dovecot
1319 # dovecot_config (str): Path to dovecot.conf
1320 # Default: %%PREFIX%%/etc/dovecot.conf
1321 # Set it to a space-separated list to start
1322 # multiple dovecot instances
1323 # dovecot_flags (str): Extra flags to pass to dovecot
1326 # Define dovecot_* variables in one of these files:
1328 # /etc/rc.conf.local
1329 # /etc/rc.conf.d/dovecot
1334 rcvar=dovecot_enable
1336 # read configuration and set defaults
1337 load_rc_config ${name}
1338 : ${dovecot_enable:="NO"}
1339 : ${dovecot_config:="%%PREFIX%%/etc/${name}.conf"}
1341 command="%%PREFIX%%/sbin/${name}"
1342 start_precmd="start_precmd"
1343 stop_postcmd="stop_postcmd"
1344 restart_cmd="restart_cmd"
1345 extra_commands="reload"
1348 { # Ensure runtime directory exists with correct permissions
1349 /usr/bin/install -o root -g wheel -m 0755 -d ${base_dir}
1353 { # Cleanup runtime directory. The dovecot.conf link has to stay.
1354 /usr/bin/find ${base_dir} ! -type l -delete
1358 { # Overriding makes rc.subr run this once for each instance
1360 run_rc_command start
1363 # To start multiple instances of dovecot set dovecot_config to
1364 # a space separated list of configuration files.
1365 for config in ${dovecot_config}; do
1366 required_files="${config}"
1367 command_args="-c ${config}"
1368 if [ -s ${config} ]; then
1369 ${command} ${command_args} -a 2>&1 >/dev/null
1370 if [ $? -ne 0 ]; then
1372 echo "Configuration file check failed."
1373 # Use dovecot to print the config error.
1374 ${command} ${command_args} -a
1377 base_dir=$(${command} ${command_args} -a 2>/dev/null | /usr/bin/awk -F '= ' '/^base_dir =/ { print $2 }')
1378 pidfile="${base_dir}/master.pid"
1381 echo "Config file ${config} does not exist. If this is"
1382 echo "a new installation, please create the config files as outlined in"
1383 echo " # pkg info -D dovecot"
1389 [FILE:1353:files/pkg-message-primary.in]
1390 ---------------------------------------------------------------------
1392 You must create the configuration files yourself. Copy them over
1393 to %%ETCDIR%% and edit them as desired:
1395 cp -R %%ETCDIR%%/example-config/* \
1398 The default configuration includes IMAP and POP3 services, will
1399 authenticate users agains the system's passwd file, and will use
1400 the default /var/mail/$USER mbox files.
1402 Next, enable dovecot in /etc/rc.conf:
1404 dovecot_enable="YES"
1407 ---------------------------------------------------------------------
1409 To avoid a risk of mailbox corruption, do not set the
1410 security.bsd.see_other_uids or .see_other_gids sysctls to 0
1411 if Dovecot is storing mail for multiple concurrent users (PR 218392).
1413 ---------------------------------------------------------------------
1415 If you want to be able to search within attachments using the
1416 decode2text plugin, you'll need to install textproc/catdoc, and
1417 one of graphics/xpdf or graphics/poppler-utils.
1419 ---------------------------------------------------------------------
1421 There are some potentially breaking changes in Dovecot 2.3. If you
1422 are upgrading from Dovecot 2.2:
1424 * Read https://wiki2.dovecot.org/Upgrading/2.3
1425 * Merge the configuration file changes from
1426 %%ETCDIR%%/examples-config/
1428 ---------------------------------------------------------------------