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.17.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 224412cd77a23a3ffb857da294da200883d956082cff7257942eff2789bd2df9 7699294 dovecot-2.3.17.tar.gz
102 [FILE:16392: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
216 dict-transaction-memory.h
225 doveadm-mailbox-list-iter.h
226 doveadm-print-private.h
232 dsasl-client-private.h
238 event-filter-parser.h
239 event-filter-private.h
274 fts-tokenizer-common.h
275 fts-tokenizer-generic-private.h
276 fts-tokenizer-private.h
294 http-client-private.h
300 http-message-parser.h
302 http-request-parser.h
304 http-response-parser.h
306 http-server-private.h
326 imap-login-commands.h
327 imap-login-settings.h
346 imap-urlauth-backend.h
347 imap-urlauth-connection.h
349 imap-urlauth-private.h
353 imapc-client-private.h
369 index-search-private.h
370 index-search-result.h
376 index-thread-private.h
386 iostream-rawlog-private.h
388 iostream-ssl-private.h
397 istream-attachment-connector.h
398 istream-attachment-extractor.h
400 istream-binary-converter.h
408 istream-file-private.h
412 istream-header-filter.h
457 mail-index-alloc-cache.h
461 mail-index-sync-private.h
462 mail-index-transaction-private.h
464 mail-index-view-private.h
468 mail-search-mime-build.h
469 mail-search-mime-register.h
471 mail-search-parser-private.h
473 mail-search-register.h
477 mail-storage-private.h
478 mail-storage-service.h
479 mail-storage-settings.h
482 mail-transaction-log-private.h
483 mail-transaction-log-view-private.h
484 mail-transaction-log.h
488 mailbox-attribute-internal.h
489 mailbox-attribute-private.h
492 mailbox-list-delete.h
494 mailbox-list-index-storage.h
495 mailbox-list-index-sync.h
497 mailbox-list-iter-private.h
499 mailbox-list-maildir.h
500 mailbox-list-notify-tree.h
501 mailbox-list-notify.h
502 mailbox-list-private.h
503 mailbox-list-subscriptions.h
506 mailbox-match-plugin.h
507 mailbox-recent-flags.h
508 mailbox-search-result-private.h
510 mailbox-uidvalidity.h
512 maildir-filename-flags.h
525 master-service-private.h
526 master-service-settings-cache.h
527 master-service-settings.h
528 master-service-ssl-settings.h
544 mdbox-storage-rebuild.h
547 mech-digest-md5-private.h
555 message-binary-part.h
558 message-header-decode.h
559 message-header-encode.h
560 message-header-hash.h
561 message-header-parser.h
565 message-part-serialize.h
578 notify-plugin-private.h
586 ostream-file-private.h
618 push-notification-drivers.h
619 push-notification-event-flagsclear.h
620 push-notification-event-flagsset.h
621 push-notification-event-mailboxcreate.h
622 push-notification-event-mailboxdelete.h
623 push-notification-event-mailboxrename.h
624 push-notification-event-mailboxsubscribe.h
625 push-notification-event-mailboxunsubscribe.h
626 push-notification-event-message-common.h
627 push-notification-event-messageappend.h
628 push-notification-event-messageexpunge.h
629 push-notification-event-messagenew.h
630 push-notification-event-messageread.h
631 push-notification-event-messagetrash.h
632 push-notification-events-rfc5423.h
633 push-notification-events.h
634 push-notification-plugin.h
635 push-notification-triggers.h
636 push-notification-txn-mbox.h
637 push-notification-txn-msg.h
650 restrict-process-size.h
672 smtp-client-command.h
673 smtp-client-connection.h
674 smtp-client-private.h
675 smtp-client-transaction.h
677 smtp-command-parser.h
684 smtp-server-private.h
686 smtp-submit-settings.h
705 submission-backend-relay.h
708 submission-commands.h
710 submission-recipient.h
711 submission-settings.h
715 test-mail-storage-common.h
736 lib02_imap_acl_plugin.a
737 lib02_imap_acl_plugin.so
738 lib02_lazy_expunge_plugin.a
739 lib02_lazy_expunge_plugin.so
740 lib05_mail_crypt_acl_plugin.a
741 lib05_mail_crypt_acl_plugin.so
742 lib05_pop3_migration_plugin.a
743 lib05_pop3_migration_plugin.so
744 lib10_last_login_plugin.a
745 lib10_last_login_plugin.so
746 lib10_mail_crypt_plugin.a
747 lib10_mail_crypt_plugin.so
749 lib10_quota_plugin.so
750 lib11_imap_quota_plugin.a
751 lib11_imap_quota_plugin.so
753 lib11_trash_plugin.so
754 lib15_notify_plugin.a
755 lib15_notify_plugin.so
756 lib20_charset_alias_plugin.a
757 lib20_charset_alias_plugin.so
760 lib20_listescape_plugin.a
761 lib20_listescape_plugin.so
762 lib20_mail_log_plugin.a
763 lib20_mail_log_plugin.so
764 lib20_mailbox_alias_plugin.a
765 lib20_mailbox_alias_plugin.so
766 lib20_notify_status_plugin.a
767 lib20_notify_status_plugin.so
768 lib20_push_notification_plugin.a
769 lib20_push_notification_plugin.so
770 lib20_quota_clone_plugin.a
771 lib20_quota_clone_plugin.so
772 lib20_replication_plugin.a
773 lib20_replication_plugin.so
774 lib20_var_expand_crypt.a
775 lib20_var_expand_crypt.so
776 lib20_virtual_plugin.a
777 lib20_virtual_plugin.so
780 lib21_fts_lucene_plugin.a
781 lib21_fts_lucene_plugin.so
782 lib21_fts_squat_plugin.a
783 lib21_fts_squat_plugin.so
784 lib30_imap_zlib_plugin.a
785 lib30_imap_zlib_plugin.so
786 lib90_old_stats_plugin.a
787 lib90_old_stats_plugin.so
788 lib95_imap_old_stats_plugin.a
789 lib95_imap_old_stats_plugin.so
790 lib99_welcome_plugin.a
791 lib99_welcome_plugin.so
794 libdovecot-compression.a
795 libdovecot-compression.so
796 libdovecot-compression.so.0
797 libdovecot-compression.so.0.0.0
800 libdovecot-dsync.so.0
801 libdovecot-dsync.so.0.0.0
805 libdovecot-fts.so.0.0.0
809 libdovecot-lda.so.0.0.0
812 libdovecot-login.so.0
813 libdovecot-login.so.0.0.0
817 libdovecot-sql.so.0.0.0
819 libdovecot-storage.so
820 libdovecot-storage.so.0
821 libdovecot-storage.so.0.0.0
832 libssl_iostream_openssl.a
833 libssl_iostream_openssl.so
835 lib20_auth_var_expand_crypt.a
836 lib20_auth_var_expand_crypt.so
840 lib10_doveadm_acl_plugin.a
841 lib10_doveadm_acl_plugin.so
842 lib10_doveadm_quota_plugin.a
843 lib10_doveadm_quota_plugin.so
844 lib20_doveadm_fts_lucene_plugin.a
845 lib20_doveadm_fts_lucene_plugin.so
846 lib20_doveadm_fts_plugin.a
847 lib20_doveadm_fts_plugin.so
848 libdoveadm_mail_crypt_plugin.a
849 libdoveadm_mail_crypt_plugin.so
850 lib/dovecot/old-stats/
895 share/aclocal/dovecot.m4
896 share/dovecot/stopwords/
920 doveadm-deduplicate.1.gz
921 doveadm-director.1.gz
927 doveadm-force-resync.1.gz
933 doveadm-instance.1.gz
936 doveadm-mailbox-cryptokey.1.gz
946 doveadm-replicator.1.gz
957 dovecot-sysreport.1.gz
960 share/man/man7/doveadm-search-query.7.gz
961 @postunexec echo "If you are removing dovecot2 permanently, you should 'rm -rf /var/db/dovecot' to clear out any remaining data."
964 [FILE:6949:manifests/plist.docs]
970 solr-config-7.7.0.xml
971 solr-schema-7.7.0.xml
974 share/doc/dovecot/wiki/
976 AixPluginsSupport.txt
977 AttachmentIndicator.txt
978 AuthDatabase.CheckPassword.txt
979 AuthDatabase.Dict.txt
980 AuthDatabase.LDAP.AuthBinds.txt
981 AuthDatabase.LDAP.PasswordLookups.txt
982 AuthDatabase.LDAP.Userdb.txt
983 AuthDatabase.LDAP.txt
985 AuthDatabase.Passwd.txt
986 AuthDatabase.PasswdFile.txt
988 AuthDatabase.VPopMail.txt
990 Authentication.Caching.txt
991 Authentication.Kerberos.txt
992 Authentication.MasterUsers.txt
993 Authentication.Mechanisms.DigestMD5.txt
994 Authentication.Mechanisms.NTLM.txt
995 Authentication.Mechanisms.Winbind.txt
996 Authentication.Mechanisms.txt
997 Authentication.MultipleDatabases.txt
998 Authentication.PasswordSchemes.txt
999 Authentication.Penalty.txt
1000 Authentication.Policy.txt
1001 Authentication.RestrictAccess.txt
1003 BasicConfiguration.txt
1005 Clients.NegativeUIDs.txt
1009 Debugging.Authentication.txt
1010 Debugging.ProcessTracing.txt
1011 Debugging.Rawlog.txt
1012 Debugging.Thunderbird.txt
1014 Design.AuthProcess.txt
1015 Design.AuthProtocol.txt
1019 Design.DoveadmProtocol.HTTP.txt
1020 Design.DoveadmProtocol.txt
1023 Design.Indexes.Cache.txt
1024 Design.Indexes.MailIndexApi.txt
1025 Design.Indexes.MainIndex.txt
1026 Design.Indexes.TransactionLog.txt
1028 Design.InputStreams.txt
1030 Design.MailProcess.txt
1032 Design.OutputStreams.txt
1033 Design.ParameterForwarding.txt
1035 Design.Processes.txt
1036 Design.Storage.ErrorHandling.txt
1037 Design.Storage.Mail.txt
1038 Design.Storage.MailNamespace.txt
1039 Design.Storage.MailStorage.txt
1040 Design.Storage.MailUser.txt
1041 Design.Storage.Mailbox.Save.txt
1042 Design.Storage.Mailbox.Search.txt
1043 Design.Storage.Mailbox.Sync.txt
1044 Design.Storage.Mailbox.Transaction.txt
1045 Design.Storage.Mailbox.txt
1046 Design.Storage.MailboxList.txt
1047 Design.Storage.Plugins.txt
1054 Errors.ChgrpNoPerm.txt
1056 FindMailLocation.txt
1057 FinishBasicConfiguration.txt
1059 HowTo.AntispamWithSieve.txt
1060 HowTo.EximAndDovecotSASL.txt
1061 HowTo.ImapcProxy.txt
1062 HowTo.PopBSMTPAndDovecot.txt
1064 HowTo.PostfixAndDovecotSASL.txt
1066 HowTo.SimpleVirtualInstall.txt
1067 HowTo.WriteConfiguration.txt
1069 IMAPServer.Hibernation.txt
1085 MailLocation.LocalDisk.txt
1086 MailLocation.Maildir.txt
1087 MailLocation.SharedDisk.txt
1088 MailLocation.dbox.txt
1089 MailLocation.mbox.txt
1091 MailboxFormat.Cydir.txt
1092 MailboxFormat.MH.txt
1093 MailboxFormat.Maildir.txt
1094 MailboxFormat.dbox.txt
1095 MailboxFormat.imapc.txt
1096 MailboxFormat.mailstore.txt
1097 MailboxFormat.mbox.txt
1098 MailboxFormat.mbx.txt
1101 MboxChildFolders.txt
1104 Migration.BincIMAP.txt
1105 Migration.Courier.txt
1109 Migration.Linuxconf.txt
1110 Migration.MailFormat.txt
1111 Migration.Online.txt
1112 Migration.Teapop.txt
1114 Migration.Vm-pop3d.txt
1116 MissingMailboxes.txt
1122 PasswordDatabase.BSDAuth.txt
1123 PasswordDatabase.ExtraFields.AllowNets.txt
1124 PasswordDatabase.ExtraFields.Host.txt
1125 PasswordDatabase.ExtraFields.NoDelay.txt
1126 PasswordDatabase.ExtraFields.NoLogin.txt
1127 PasswordDatabase.ExtraFields.Proxy.txt
1128 PasswordDatabase.ExtraFields.User.txt
1129 PasswordDatabase.ExtraFields.txt
1130 PasswordDatabase.IMAP.txt
1131 PasswordDatabase.PAM.txt
1132 PasswordDatabase.Shadow.txt
1133 PasswordDatabase.Static.txt
1134 PasswordDatabase.oauth2.txt
1135 PasswordDatabase.txt
1136 PerformanceTuning.txt
1137 Pigeonhole.Installation.txt
1138 Pigeonhole.ManageSieve.Clients.txt
1139 Pigeonhole.ManageSieve.Configuration.txt
1140 Pigeonhole.ManageSieve.Install.txt
1141 Pigeonhole.ManageSieve.Troubleshooting.txt
1142 Pigeonhole.ManageSieve.txt
1143 Pigeonhole.Sieve.Configuration.Dict.txt
1144 Pigeonhole.Sieve.Configuration.File.txt
1145 Pigeonhole.Sieve.Configuration.LDAP.txt
1146 Pigeonhole.Sieve.Configuration.txt
1147 Pigeonhole.Sieve.Examples.txt
1148 Pigeonhole.Sieve.Extensions.Duplicate.txt
1149 Pigeonhole.Sieve.Extensions.Editheader.txt
1150 Pigeonhole.Sieve.Extensions.Include.txt
1151 Pigeonhole.Sieve.Extensions.SpamtestVirustest.txt
1152 Pigeonhole.Sieve.Extensions.Vacation.txt
1153 Pigeonhole.Sieve.Extensions.Variables.txt
1154 Pigeonhole.Sieve.Extensions.txt
1155 Pigeonhole.Sieve.Plugins.Extdata.txt
1156 Pigeonhole.Sieve.Plugins.Extprograms.txt
1157 Pigeonhole.Sieve.Plugins.IMAPFilterSieve.txt
1158 Pigeonhole.Sieve.Plugins.IMAPSieve.txt
1159 Pigeonhole.Sieve.Plugins.Pipe.txt
1160 Pigeonhole.Sieve.Plugins.txt
1161 Pigeonhole.Sieve.Troubleshooting.txt
1162 Pigeonhole.Sieve.Usage.txt
1163 Pigeonhole.Sieve.txt
1165 Plugins.Apparmor.txt
1166 Plugins.Autocreate.txt
1167 Plugins.CharsetAlias.txt
1168 Plugins.Compress.txt
1170 Plugins.FTS.Lucene.txt
1171 Plugins.FTS.Solr.txt
1172 Plugins.FTS.Squat.txt
1174 Plugins.LastLogin.txt
1175 Plugins.Lazyexpunge.txt
1176 Plugins.Listescape.txt
1177 Plugins.MailCrypt.txt
1178 Plugins.MailFilter.txt
1180 Plugins.MailboxAlias.txt
1182 Plugins.NotifyStatus.txt
1183 Plugins.PushNotification.txt
1184 Plugins.QuotaClone.txt
1188 Plugins.VarExpandCrypt.txt
1193 PostLoginScripting.txt
1195 QuickConfiguration.txt
1196 Quota.Configuration.txt
1205 SSL.CertificateClientImporting.txt
1206 SSL.CertificateCreation.txt
1207 SSL.DovecotConfiguration.txt
1208 SSL.SNIClientSupport.txt
1213 SharedMailboxes.ClusterSetup.txt
1214 SharedMailboxes.Permissions.txt
1215 SharedMailboxes.Public.txt
1216 SharedMailboxes.Shared.txt
1217 SharedMailboxes.Symlinks.txt
1219 SocketUnavailable.txt
1224 TestInstallation.txt
1225 TestPop3Installation.txt
1226 TimeMovedBackwards.txt
1236 UserDatabase.ExtraFields.txt
1237 UserDatabase.NSS.txt
1238 UserDatabase.Prefetch.txt
1239 UserDatabase.Static.txt
1243 VirtualUsers.Home.txt
1245 WhyDoesItNotWork.txt
1251 [FILE:284:patches/patch-src_lib-master_test-event-stats.c]
1252 --- src/lib-master/test-event-stats.c.orig 2021-06-14 13:40:37 UTC
1253 +++ src/lib-master/test-event-stats.c
1255 #include "stats-client.h"
1256 #include "test-common.h"
1258 +#include <signal.h>
1261 #include <sys/socket.h>
1264 [FILE:457:patches/patch-src_master_main.c]
1265 --- src/master/main.c.orig 2021-06-14 13:40:37 UTC
1266 +++ src/master/main.c
1267 @@ -881,6 +881,8 @@ int main(int argc, char *argv[])
1268 i_fatal("dup2(dev_null_fd) failed: %m");
1269 if (!foreground && dup2(dev_null_fd, STDOUT_FILENO) < 0)
1270 i_fatal("dup2(dev_null_fd) failed: %m");
1271 + if (!foreground && dup2(dev_null_fd, STDERR_FILENO) < 0)
1272 + i_fatal("dup2(dev_null_fd) failed: %m");
1275 i_strconcat(set->base_dir, "/"MASTER_PID_FILE_NAME, NULL);
1278 [FILE:1073:patches/patch-src_plugins_fts_decode2text.sh]
1279 /usr gets changed to ${LOCALBASE} in post-patch:, so we
1280 cheat and set xpdf's path to /usr/lib.
1282 --- src/plugins/fts/decode2text.sh.orig 2021-06-14 13:40:37 UTC
1283 +++ src/plugins/fts/decode2text.sh
1284 @@ -79,16 +79,20 @@ wait_timeout() {
1287 if [ $fmt = "pdf" ]; then
1288 - /usr/bin/pdftotext $path - 2>/dev/null&
1289 + if [ -x /usr/lib/xpdf/pdftotext ]; then
1290 + /usr/lib/xpdf/pdftotext $path - 2>/dev/null&
1292 + /usr/local/bin/pdftotext $path - 2>/dev/null&
1294 wait_timeout 2>/dev/null
1295 elif [ $fmt = "doc" ]; then
1296 - (/usr/bin/catdoc $path; true) 2>/dev/null&
1297 + (/usr/local/bin/catdoc $path; true) 2>/dev/null&
1298 wait_timeout 2>/dev/null
1299 elif [ $fmt = "ppt" ]; then
1300 - (/usr/bin/catppt $path; true) 2>/dev/null&
1301 + (/usr/local/bin/catppt $path; true) 2>/dev/null&
1302 wait_timeout 2>/dev/null
1303 elif [ $fmt = "xls" ]; then
1304 - (/usr/bin/xls2csv $path; true) 2>/dev/null&
1305 + (/usr/local/bin/xls2csv $path; true) 2>/dev/null&
1306 wait_timeout 2>/dev/null
1307 elif [ $fmt = "odt" -o $fmt = "ods" -o $fmt = "odp" ]; then
1308 xmlunzip "content.xml"
1311 [FILE:2204:files/dovecot.in]
1315 # REQUIRE: %%REQUIRE%%
1319 # dovecot_enable (bool): Set it to YES to enable dovecot
1321 # dovecot_config (str): Path to dovecot.conf
1322 # Default: %%PREFIX%%/etc/dovecot.conf
1323 # Set it to a space-separated list to start
1324 # multiple dovecot instances
1325 # dovecot_flags (str): Extra flags to pass to dovecot
1328 # Define dovecot_* variables in one of these files:
1330 # /etc/rc.conf.local
1331 # /etc/rc.conf.d/dovecot
1336 rcvar=dovecot_enable
1338 # read configuration and set defaults
1339 load_rc_config ${name}
1340 : ${dovecot_enable:="NO"}
1341 : ${dovecot_config:="%%PREFIX%%/etc/${name}.conf"}
1343 command="%%PREFIX%%/sbin/${name}"
1344 start_precmd="start_precmd"
1345 stop_postcmd="stop_postcmd"
1346 restart_cmd="restart_cmd"
1347 extra_commands="reload"
1350 { # Ensure runtime directory exists with correct permissions
1351 /usr/bin/install -o root -g wheel -m 0755 -d ${base_dir}
1355 { # Cleanup runtime directory. The dovecot.conf link has to stay.
1356 /usr/bin/find ${base_dir} ! -type l -delete
1360 { # Overriding makes rc.subr run this once for each instance
1362 run_rc_command start
1365 # To start multiple instances of dovecot set dovecot_config to
1366 # a space separated list of configuration files.
1367 for config in ${dovecot_config}; do
1368 required_files="${config}"
1369 command_args="-c ${config}"
1370 if [ -s ${config} ]; then
1371 ${command} ${command_args} -a 2>&1 >/dev/null
1372 if [ $? -ne 0 ]; then
1374 echo "Configuration file check failed."
1375 # Use dovecot to print the config error.
1376 ${command} ${command_args} -a
1379 base_dir=$(${command} ${command_args} -a 2>/dev/null | /usr/bin/awk -F '= ' '/^base_dir =/ { print $2 }')
1380 pidfile="${base_dir}/master.pid"
1383 echo "Config file ${config} does not exist. If this is"
1384 echo "a new installation, please create the config files as outlined in"
1385 echo " # pkg info -D dovecot"
1391 [FILE:1353:files/pkg-message-primary.in]
1392 ---------------------------------------------------------------------
1394 You must create the configuration files yourself. Copy them over
1395 to %%ETCDIR%% and edit them as desired:
1397 cp -R %%ETCDIR%%/example-config/* \
1400 The default configuration includes IMAP and POP3 services, will
1401 authenticate users agains the system's passwd file, and will use
1402 the default /var/mail/$USER mbox files.
1404 Next, enable dovecot in /etc/rc.conf:
1406 dovecot_enable="YES"
1409 ---------------------------------------------------------------------
1411 To avoid a risk of mailbox corruption, do not set the
1412 security.bsd.see_other_uids or .see_other_gids sysctls to 0
1413 if Dovecot is storing mail for multiple concurrent users (PR 218392).
1415 ---------------------------------------------------------------------
1417 If you want to be able to search within attachments using the
1418 decode2text plugin, you'll need to install textproc/catdoc, and
1419 one of graphics/xpdf or graphics/poppler-utils.
1421 ---------------------------------------------------------------------
1423 There are some potentially breaking changes in Dovecot 2.3. If you
1424 are upgrading from Dovecot 2.2:
1426 * Read https://wiki2.dovecot.org/Upgrading/2.3
1427 * Merge the configuration file changes from
1428 %%ETCDIR%%/examples-config/
1430 ---------------------------------------------------------------------