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.20.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 caa832eb968148abdf35ee9d0f534b779fa732c0ce4a913d9ab8c3469b218552 7805735 dovecot-2.3.20.tar.gz
102 [FILE:16427: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
619 push-notification-drivers.h
620 push-notification-event-flagsclear.h
621 push-notification-event-flagsset.h
622 push-notification-event-mailboxcreate.h
623 push-notification-event-mailboxdelete.h
624 push-notification-event-mailboxrename.h
625 push-notification-event-mailboxsubscribe.h
626 push-notification-event-mailboxunsubscribe.h
627 push-notification-event-message-common.h
628 push-notification-event-messageappend.h
629 push-notification-event-messageexpunge.h
630 push-notification-event-messagenew.h
631 push-notification-event-messageread.h
632 push-notification-event-messagetrash.h
633 push-notification-events-rfc5423.h
634 push-notification-events.h
635 push-notification-plugin.h
636 push-notification-triggers.h
637 push-notification-txn-mbox.h
638 push-notification-txn-msg.h
651 restrict-process-size.h
674 smtp-client-command.h
675 smtp-client-connection.h
676 smtp-client-private.h
677 smtp-client-transaction.h
679 smtp-command-parser.h
686 smtp-server-private.h
688 smtp-submit-settings.h
707 submission-backend-relay.h
710 submission-commands.h
712 submission-recipient.h
713 submission-settings.h
717 test-mail-storage-common.h
738 lib02_imap_acl_plugin.a
739 lib02_imap_acl_plugin.so
740 lib02_lazy_expunge_plugin.a
741 lib02_lazy_expunge_plugin.so
742 lib05_mail_crypt_acl_plugin.a
743 lib05_mail_crypt_acl_plugin.so
744 lib05_pop3_migration_plugin.a
745 lib05_pop3_migration_plugin.so
746 lib10_last_login_plugin.a
747 lib10_last_login_plugin.so
748 lib10_mail_crypt_plugin.a
749 lib10_mail_crypt_plugin.so
751 lib10_quota_plugin.so
752 lib11_imap_quota_plugin.a
753 lib11_imap_quota_plugin.so
755 lib11_trash_plugin.so
756 lib15_notify_plugin.a
757 lib15_notify_plugin.so
758 lib20_charset_alias_plugin.a
759 lib20_charset_alias_plugin.so
762 lib20_listescape_plugin.a
763 lib20_listescape_plugin.so
764 lib20_mail_log_plugin.a
765 lib20_mail_log_plugin.so
766 lib20_mailbox_alias_plugin.a
767 lib20_mailbox_alias_plugin.so
768 lib20_notify_status_plugin.a
769 lib20_notify_status_plugin.so
770 lib20_push_notification_plugin.a
771 lib20_push_notification_plugin.so
772 lib20_quota_clone_plugin.a
773 lib20_quota_clone_plugin.so
774 lib20_replication_plugin.a
775 lib20_replication_plugin.so
776 lib20_var_expand_crypt.a
777 lib20_var_expand_crypt.so
778 lib20_virtual_plugin.a
779 lib20_virtual_plugin.so
782 lib21_fts_lucene_plugin.a
783 lib21_fts_lucene_plugin.so
784 lib21_fts_squat_plugin.a
785 lib21_fts_squat_plugin.so
786 lib30_imap_zlib_plugin.a
787 lib30_imap_zlib_plugin.so
788 lib90_old_stats_plugin.a
789 lib90_old_stats_plugin.so
790 lib95_imap_old_stats_plugin.a
791 lib95_imap_old_stats_plugin.so
792 lib99_welcome_plugin.a
793 lib99_welcome_plugin.so
796 libdovecot-compression.a
797 libdovecot-compression.so
798 libdovecot-compression.so.0
799 libdovecot-compression.so.0.0.0
802 libdovecot-dsync.so.0
803 libdovecot-dsync.so.0.0.0
807 libdovecot-fts.so.0.0.0
811 libdovecot-lda.so.0.0.0
814 libdovecot-login.so.0
815 libdovecot-login.so.0.0.0
819 libdovecot-sql.so.0.0.0
821 libdovecot-storage.so
822 libdovecot-storage.so.0
823 libdovecot-storage.so.0.0.0
834 libssl_iostream_openssl.a
835 libssl_iostream_openssl.so
837 lib20_auth_var_expand_crypt.a
838 lib20_auth_var_expand_crypt.so
842 lib10_doveadm_acl_plugin.a
843 lib10_doveadm_acl_plugin.so
844 lib10_doveadm_quota_plugin.a
845 lib10_doveadm_quota_plugin.so
846 lib20_doveadm_fts_lucene_plugin.a
847 lib20_doveadm_fts_lucene_plugin.so
848 lib20_doveadm_fts_plugin.a
849 lib20_doveadm_fts_plugin.so
850 libdoveadm_mail_crypt_plugin.a
851 libdoveadm_mail_crypt_plugin.so
852 lib/dovecot/old-stats/
897 share/aclocal/dovecot.m4
898 share/dovecot/stopwords/
922 doveadm-deduplicate.1.gz
923 doveadm-director.1.gz
929 doveadm-force-resync.1.gz
935 doveadm-instance.1.gz
938 doveadm-mailbox-cryptokey.1.gz
948 doveadm-replicator.1.gz
959 dovecot-sysreport.1.gz
962 share/man/man7/doveadm-search-query.7.gz
963 @postunexec echo "If you are removing dovecot2 permanently, you should 'rm -rf /var/db/dovecot' to clear out any remaining data."
966 [FILE:6949:manifests/plist.docs]
972 solr-config-7.7.0.xml
973 solr-schema-7.7.0.xml
976 share/doc/dovecot/wiki/
978 AixPluginsSupport.txt
979 AttachmentIndicator.txt
980 AuthDatabase.CheckPassword.txt
981 AuthDatabase.Dict.txt
982 AuthDatabase.LDAP.AuthBinds.txt
983 AuthDatabase.LDAP.PasswordLookups.txt
984 AuthDatabase.LDAP.Userdb.txt
985 AuthDatabase.LDAP.txt
987 AuthDatabase.Passwd.txt
988 AuthDatabase.PasswdFile.txt
990 AuthDatabase.VPopMail.txt
992 Authentication.Caching.txt
993 Authentication.Kerberos.txt
994 Authentication.MasterUsers.txt
995 Authentication.Mechanisms.DigestMD5.txt
996 Authentication.Mechanisms.NTLM.txt
997 Authentication.Mechanisms.Winbind.txt
998 Authentication.Mechanisms.txt
999 Authentication.MultipleDatabases.txt
1000 Authentication.PasswordSchemes.txt
1001 Authentication.Penalty.txt
1002 Authentication.Policy.txt
1003 Authentication.RestrictAccess.txt
1005 BasicConfiguration.txt
1007 Clients.NegativeUIDs.txt
1011 Debugging.Authentication.txt
1012 Debugging.ProcessTracing.txt
1013 Debugging.Rawlog.txt
1014 Debugging.Thunderbird.txt
1016 Design.AuthProcess.txt
1017 Design.AuthProtocol.txt
1021 Design.DoveadmProtocol.HTTP.txt
1022 Design.DoveadmProtocol.txt
1025 Design.Indexes.Cache.txt
1026 Design.Indexes.MailIndexApi.txt
1027 Design.Indexes.MainIndex.txt
1028 Design.Indexes.TransactionLog.txt
1030 Design.InputStreams.txt
1032 Design.MailProcess.txt
1034 Design.OutputStreams.txt
1035 Design.ParameterForwarding.txt
1037 Design.Processes.txt
1038 Design.Storage.ErrorHandling.txt
1039 Design.Storage.Mail.txt
1040 Design.Storage.MailNamespace.txt
1041 Design.Storage.MailStorage.txt
1042 Design.Storage.MailUser.txt
1043 Design.Storage.Mailbox.Save.txt
1044 Design.Storage.Mailbox.Search.txt
1045 Design.Storage.Mailbox.Sync.txt
1046 Design.Storage.Mailbox.Transaction.txt
1047 Design.Storage.Mailbox.txt
1048 Design.Storage.MailboxList.txt
1049 Design.Storage.Plugins.txt
1056 Errors.ChgrpNoPerm.txt
1058 FindMailLocation.txt
1059 FinishBasicConfiguration.txt
1061 HowTo.AntispamWithSieve.txt
1062 HowTo.EximAndDovecotSASL.txt
1063 HowTo.ImapcProxy.txt
1064 HowTo.PopBSMTPAndDovecot.txt
1066 HowTo.PostfixAndDovecotSASL.txt
1068 HowTo.SimpleVirtualInstall.txt
1069 HowTo.WriteConfiguration.txt
1071 IMAPServer.Hibernation.txt
1087 MailLocation.LocalDisk.txt
1088 MailLocation.Maildir.txt
1089 MailLocation.SharedDisk.txt
1090 MailLocation.dbox.txt
1091 MailLocation.mbox.txt
1093 MailboxFormat.Cydir.txt
1094 MailboxFormat.MH.txt
1095 MailboxFormat.Maildir.txt
1096 MailboxFormat.dbox.txt
1097 MailboxFormat.imapc.txt
1098 MailboxFormat.mailstore.txt
1099 MailboxFormat.mbox.txt
1100 MailboxFormat.mbx.txt
1103 MboxChildFolders.txt
1106 Migration.BincIMAP.txt
1107 Migration.Courier.txt
1111 Migration.Linuxconf.txt
1112 Migration.MailFormat.txt
1113 Migration.Online.txt
1114 Migration.Teapop.txt
1116 Migration.Vm-pop3d.txt
1118 MissingMailboxes.txt
1124 PasswordDatabase.BSDAuth.txt
1125 PasswordDatabase.ExtraFields.AllowNets.txt
1126 PasswordDatabase.ExtraFields.Host.txt
1127 PasswordDatabase.ExtraFields.NoDelay.txt
1128 PasswordDatabase.ExtraFields.NoLogin.txt
1129 PasswordDatabase.ExtraFields.Proxy.txt
1130 PasswordDatabase.ExtraFields.User.txt
1131 PasswordDatabase.ExtraFields.txt
1132 PasswordDatabase.IMAP.txt
1133 PasswordDatabase.PAM.txt
1134 PasswordDatabase.Shadow.txt
1135 PasswordDatabase.Static.txt
1136 PasswordDatabase.oauth2.txt
1137 PasswordDatabase.txt
1138 PerformanceTuning.txt
1139 Pigeonhole.Installation.txt
1140 Pigeonhole.ManageSieve.Clients.txt
1141 Pigeonhole.ManageSieve.Configuration.txt
1142 Pigeonhole.ManageSieve.Install.txt
1143 Pigeonhole.ManageSieve.Troubleshooting.txt
1144 Pigeonhole.ManageSieve.txt
1145 Pigeonhole.Sieve.Configuration.Dict.txt
1146 Pigeonhole.Sieve.Configuration.File.txt
1147 Pigeonhole.Sieve.Configuration.LDAP.txt
1148 Pigeonhole.Sieve.Configuration.txt
1149 Pigeonhole.Sieve.Examples.txt
1150 Pigeonhole.Sieve.Extensions.Duplicate.txt
1151 Pigeonhole.Sieve.Extensions.Editheader.txt
1152 Pigeonhole.Sieve.Extensions.Include.txt
1153 Pigeonhole.Sieve.Extensions.SpamtestVirustest.txt
1154 Pigeonhole.Sieve.Extensions.Vacation.txt
1155 Pigeonhole.Sieve.Extensions.Variables.txt
1156 Pigeonhole.Sieve.Extensions.txt
1157 Pigeonhole.Sieve.Plugins.Extdata.txt
1158 Pigeonhole.Sieve.Plugins.Extprograms.txt
1159 Pigeonhole.Sieve.Plugins.IMAPFilterSieve.txt
1160 Pigeonhole.Sieve.Plugins.IMAPSieve.txt
1161 Pigeonhole.Sieve.Plugins.Pipe.txt
1162 Pigeonhole.Sieve.Plugins.txt
1163 Pigeonhole.Sieve.Troubleshooting.txt
1164 Pigeonhole.Sieve.Usage.txt
1165 Pigeonhole.Sieve.txt
1167 Plugins.Apparmor.txt
1168 Plugins.Autocreate.txt
1169 Plugins.CharsetAlias.txt
1170 Plugins.Compress.txt
1172 Plugins.FTS.Lucene.txt
1173 Plugins.FTS.Solr.txt
1174 Plugins.FTS.Squat.txt
1176 Plugins.LastLogin.txt
1177 Plugins.Lazyexpunge.txt
1178 Plugins.Listescape.txt
1179 Plugins.MailCrypt.txt
1180 Plugins.MailFilter.txt
1182 Plugins.MailboxAlias.txt
1184 Plugins.NotifyStatus.txt
1185 Plugins.PushNotification.txt
1186 Plugins.QuotaClone.txt
1190 Plugins.VarExpandCrypt.txt
1195 PostLoginScripting.txt
1197 QuickConfiguration.txt
1198 Quota.Configuration.txt
1207 SSL.CertificateClientImporting.txt
1208 SSL.CertificateCreation.txt
1209 SSL.DovecotConfiguration.txt
1210 SSL.SNIClientSupport.txt
1215 SharedMailboxes.ClusterSetup.txt
1216 SharedMailboxes.Permissions.txt
1217 SharedMailboxes.Public.txt
1218 SharedMailboxes.Shared.txt
1219 SharedMailboxes.Symlinks.txt
1221 SocketUnavailable.txt
1226 TestInstallation.txt
1227 TestPop3Installation.txt
1228 TimeMovedBackwards.txt
1238 UserDatabase.ExtraFields.txt
1239 UserDatabase.NSS.txt
1240 UserDatabase.Prefetch.txt
1241 UserDatabase.Static.txt
1245 VirtualUsers.Home.txt
1247 WhyDoesItNotWork.txt
1253 [FILE:284:patches/patch-src_lib-master_test-event-stats.c]
1254 --- src/lib-master/test-event-stats.c.orig 2022-12-21 08:49:12 UTC
1255 +++ src/lib-master/test-event-stats.c
1257 #include "stats-client.h"
1258 #include "test-common.h"
1260 +#include <signal.h>
1263 #include <sys/socket.h>
1266 [FILE:457:patches/patch-src_master_main.c]
1267 --- src/master/main.c.orig 2022-12-21 08:49:12 UTC
1268 +++ src/master/main.c
1269 @@ -886,6 +886,8 @@ int main(int argc, char *argv[])
1270 i_fatal("dup2(dev_null_fd) failed: %m");
1271 if (!foreground && dup2(dev_null_fd, STDOUT_FILENO) < 0)
1272 i_fatal("dup2(dev_null_fd) failed: %m");
1273 + if (!foreground && dup2(dev_null_fd, STDERR_FILENO) < 0)
1274 + i_fatal("dup2(dev_null_fd) failed: %m");
1277 i_strconcat(set->base_dir, "/"MASTER_PID_FILE_NAME, NULL);
1280 [FILE:1073:patches/patch-src_plugins_fts_decode2text.sh]
1281 /usr gets changed to ${LOCALBASE} in post-patch:, so we
1282 cheat and set xpdf's path to /usr/lib.
1284 --- src/plugins/fts/decode2text.sh.orig 2022-12-21 08:49:12 UTC
1285 +++ src/plugins/fts/decode2text.sh
1286 @@ -79,16 +79,20 @@ wait_timeout() {
1289 if [ $fmt = "pdf" ]; then
1290 - /usr/bin/pdftotext $path - 2>/dev/null&
1291 + if [ -x /usr/lib/xpdf/pdftotext ]; then
1292 + /usr/lib/xpdf/pdftotext $path - 2>/dev/null&
1294 + /usr/local/bin/pdftotext $path - 2>/dev/null&
1296 wait_timeout 2>/dev/null
1297 elif [ $fmt = "doc" ]; then
1298 - (/usr/bin/catdoc $path; true) 2>/dev/null&
1299 + (/usr/local/bin/catdoc $path; true) 2>/dev/null&
1300 wait_timeout 2>/dev/null
1301 elif [ $fmt = "ppt" ]; then
1302 - (/usr/bin/catppt $path; true) 2>/dev/null&
1303 + (/usr/local/bin/catppt $path; true) 2>/dev/null&
1304 wait_timeout 2>/dev/null
1305 elif [ $fmt = "xls" ]; then
1306 - (/usr/bin/xls2csv $path; true) 2>/dev/null&
1307 + (/usr/local/bin/xls2csv $path; true) 2>/dev/null&
1308 wait_timeout 2>/dev/null
1309 elif [ $fmt = "odt" -o $fmt = "ods" -o $fmt = "odp" ]; then
1310 xmlunzip "content.xml"
1313 [FILE:2204:files/dovecot.in]
1317 # REQUIRE: %%REQUIRE%%
1321 # dovecot_enable (bool): Set it to YES to enable dovecot
1323 # dovecot_config (str): Path to dovecot.conf
1324 # Default: %%PREFIX%%/etc/dovecot.conf
1325 # Set it to a space-separated list to start
1326 # multiple dovecot instances
1327 # dovecot_flags (str): Extra flags to pass to dovecot
1330 # Define dovecot_* variables in one of these files:
1332 # /etc/rc.conf.local
1333 # /etc/rc.conf.d/dovecot
1338 rcvar=dovecot_enable
1340 # read configuration and set defaults
1341 load_rc_config ${name}
1342 : ${dovecot_enable:="NO"}
1343 : ${dovecot_config:="%%PREFIX%%/etc/${name}.conf"}
1345 command="%%PREFIX%%/sbin/${name}"
1346 start_precmd="start_precmd"
1347 stop_postcmd="stop_postcmd"
1348 restart_cmd="restart_cmd"
1349 extra_commands="reload"
1352 { # Ensure runtime directory exists with correct permissions
1353 /usr/bin/install -o root -g wheel -m 0755 -d ${base_dir}
1357 { # Cleanup runtime directory. The dovecot.conf link has to stay.
1358 /usr/bin/find ${base_dir} ! -type l -delete
1362 { # Overriding makes rc.subr run this once for each instance
1364 run_rc_command start
1367 # To start multiple instances of dovecot set dovecot_config to
1368 # a space separated list of configuration files.
1369 for config in ${dovecot_config}; do
1370 required_files="${config}"
1371 command_args="-c ${config}"
1372 if [ -s ${config} ]; then
1373 ${command} ${command_args} -a 2>&1 >/dev/null
1374 if [ $? -ne 0 ]; then
1376 echo "Configuration file check failed."
1377 # Use dovecot to print the config error.
1378 ${command} ${command_args} -a
1381 base_dir=$(${command} ${command_args} -a 2>/dev/null | /usr/bin/awk -F '= ' '/^base_dir =/ { print $2 }')
1382 pidfile="${base_dir}/master.pid"
1385 echo "Config file ${config} does not exist. If this is"
1386 echo "a new installation, please create the config files as outlined in"
1387 echo " # pkg info -D dovecot"
1393 [FILE:1353:files/pkg-message-primary.in]
1394 ---------------------------------------------------------------------
1396 You must create the configuration files yourself. Copy them over
1397 to %%ETCDIR%% and edit them as desired:
1399 cp -R %%ETCDIR%%/example-config/* \
1402 The default configuration includes IMAP and POP3 services, will
1403 authenticate users agains the system's passwd file, and will use
1404 the default /var/mail/$USER mbox files.
1406 Next, enable dovecot in /etc/rc.conf:
1408 dovecot_enable="YES"
1411 ---------------------------------------------------------------------
1413 To avoid a risk of mailbox corruption, do not set the
1414 security.bsd.see_other_uids or .see_other_gids sysctls to 0
1415 if Dovecot is storing mail for multiple concurrent users (PR 218392).
1417 ---------------------------------------------------------------------
1419 If you want to be able to search within attachments using the
1420 decode2text plugin, you'll need to install textproc/catdoc, and
1421 one of graphics/xpdf or graphics/poppler-utils.
1423 ---------------------------------------------------------------------
1425 There are some potentially breaking changes in Dovecot 2.3. If you
1426 are upgrading from Dovecot 2.2:
1428 * Read https://wiki2.dovecot.org/Upgrading/2.3
1429 * Merge the configuration file changes from
1430 %%ETCDIR%%/examples-config/
1432 ---------------------------------------------------------------------