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 BUILD_DEPENDS= krb5:dev:standard
23 BUILDRUN_DEPENDS= krb5:primary:standard
24 clucene:single:standard
26 USERS= dovecot dovenull
27 GROUPS= dovecot dovenull
28 USERGROUP_SPKG= primary
30 USES= cpe iconv libtool pkgconfig ssl sqlite lz4 mbsdfix
32 LICENSE= MIT:primary LGPL21:primary
33 LICENSE_TERMS= primary:{{WRKSRC}}/COPYING
34 LICENSE_FILE= MIT:{{WRKSRC}}/COPYING.MIT
35 LGPL21:{{WRKSRC}}/COPYING.LGPL
38 FPC_EQUIVALENT= mail/dovecot
41 CONFIGURE_ARGS= --localstatedir=/var
42 --with-statedir=/var/db/dovecot
62 INSTALL_TARGET= install-strip
63 INSTALL_REQ_TOOLCHAIN= yes
64 PLIST_SUB= REQUIRE="LOGIN"
65 RC_SUBR= dovecot:primary
66 SUB_FILES= pkg-message-primary
68 CPPFLAGS= -I{{OPENSSLINC}}
69 LDFLAGS= -L{{OPENSSLLIB}}
70 VAR_OPSYS[dragonfly]= CONFIGURE_ENV=i_cv_fd_passing=yes
74 -e 's|/usr/bin|${LOCALBASE}/bin|g' \
75 -e 's|/usr/local|${PREFIX}|g' \
76 ${WRKSRC}/src/plugins/fts/decode2text.sh
77 ${REINPLACE_CMD} -e 's,/etc/dovecot,${PREFIX}/etc/dovecot,g; \
78 s,sysconfdir=/etc,sysconfdir=${PREFIX}/etc,g' \
79 ${WRKSRC}/doc/example-config/*.conf ${WRKSRC}/doc/example-config/conf.d/*
80 ${REINPLACE_CMD} -e '/^LIBS =/s/$$/ @LTLIBICONV@/' \
81 ${WRKSRC}/src/lib-mail/Makefile.in
82 # Install the sample config files into ETCDIR/example-config/
83 ${REINPLACE_CMD} -e '/^exampledir =/s|\$$(docdir)|${PREFIX}/etc/dovecot|' \
84 ${WRKSRC}/doc/example-config/Makefile.in \
85 ${WRKSRC}/doc/example-config/conf.d/Makefile.in
87 [FILE:531:descriptions/desc.primary]
88 Dovecot is an open source IMAP and POP3 email server for Linux/UNIX-like
89 systems, written with security primarily in mind. Dovecot is an excellent
90 choice for both small and large installations. It's fast, simple to set up,
91 requires no special administration and it uses very little memory.
93 Dovecot is high-performing, self-optimizing, self-healing, and easily
94 extensible. It includes IMAP4rev1 and POP3 support. IPv6, SSL and TLS are
95 supported. It supports multiple commonly used IMAP extensions, including SORT,
100 caa832eb968148abdf35ee9d0f534b779fa732c0ce4a913d9ab8c3469b218552 7805735 dovecot-2.3.20.tar.gz
103 [FILE:16427:manifests/plist.primary]
110 etc/dovecot/example-config/
111 dovecot-dict-auth.conf.ext
112 dovecot-dict-sql.conf.ext
113 dovecot-ldap.conf.ext
114 dovecot-oauth2.conf.ext
117 etc/dovecot/example-config/conf.d/
134 auth-checkpassword.conf.ext
139 auth-passwdfile.conf.ext
158 auth-client-connection.h
159 auth-client-interface.h
160 auth-client-private.h
164 auth-master-connection.h
168 auth-request-handler-private.h
169 auth-request-handler.h
171 auth-request-var-expand.h
186 charset-utf8-private.h
193 config-parser-private.h
217 dict-transaction-memory.h
226 doveadm-mailbox-list-iter.h
227 doveadm-print-private.h
233 dsasl-client-private.h
239 event-filter-parser.h
240 event-filter-private.h
275 fts-tokenizer-common.h
276 fts-tokenizer-generic-private.h
277 fts-tokenizer-private.h
295 http-client-private.h
301 http-message-parser.h
303 http-request-parser.h
305 http-response-parser.h
307 http-server-private.h
327 imap-login-commands.h
328 imap-login-settings.h
347 imap-urlauth-backend.h
348 imap-urlauth-connection.h
350 imap-urlauth-private.h
354 imapc-client-private.h
370 index-search-private.h
371 index-search-result.h
377 index-thread-private.h
387 iostream-rawlog-private.h
389 iostream-ssl-private.h
398 istream-attachment-connector.h
399 istream-attachment-extractor.h
401 istream-binary-converter.h
409 istream-file-private.h
413 istream-header-filter.h
458 mail-index-alloc-cache.h
462 mail-index-sync-private.h
463 mail-index-transaction-private.h
465 mail-index-view-private.h
469 mail-search-mime-build.h
470 mail-search-mime-register.h
472 mail-search-parser-private.h
474 mail-search-register.h
478 mail-storage-private.h
479 mail-storage-service.h
480 mail-storage-settings.h
483 mail-transaction-log-private.h
484 mail-transaction-log-view-private.h
485 mail-transaction-log.h
489 mailbox-attribute-internal.h
490 mailbox-attribute-private.h
493 mailbox-list-delete.h
495 mailbox-list-index-storage.h
496 mailbox-list-index-sync.h
498 mailbox-list-iter-private.h
500 mailbox-list-maildir.h
501 mailbox-list-notify-tree.h
502 mailbox-list-notify.h
503 mailbox-list-private.h
504 mailbox-list-subscriptions.h
507 mailbox-match-plugin.h
508 mailbox-recent-flags.h
509 mailbox-search-result-private.h
511 mailbox-uidvalidity.h
513 maildir-filename-flags.h
526 master-service-private.h
527 master-service-settings-cache.h
528 master-service-settings.h
529 master-service-ssl-settings.h
545 mdbox-storage-rebuild.h
548 mech-digest-md5-private.h
556 message-binary-part.h
559 message-header-decode.h
560 message-header-encode.h
561 message-header-hash.h
562 message-header-parser.h
566 message-part-serialize.h
579 notify-plugin-private.h
587 ostream-file-private.h
620 push-notification-drivers.h
621 push-notification-event-flagsclear.h
622 push-notification-event-flagsset.h
623 push-notification-event-mailboxcreate.h
624 push-notification-event-mailboxdelete.h
625 push-notification-event-mailboxrename.h
626 push-notification-event-mailboxsubscribe.h
627 push-notification-event-mailboxunsubscribe.h
628 push-notification-event-message-common.h
629 push-notification-event-messageappend.h
630 push-notification-event-messageexpunge.h
631 push-notification-event-messagenew.h
632 push-notification-event-messageread.h
633 push-notification-event-messagetrash.h
634 push-notification-events-rfc5423.h
635 push-notification-events.h
636 push-notification-plugin.h
637 push-notification-triggers.h
638 push-notification-txn-mbox.h
639 push-notification-txn-msg.h
652 restrict-process-size.h
675 smtp-client-command.h
676 smtp-client-connection.h
677 smtp-client-private.h
678 smtp-client-transaction.h
680 smtp-command-parser.h
687 smtp-server-private.h
689 smtp-submit-settings.h
708 submission-backend-relay.h
711 submission-commands.h
713 submission-recipient.h
714 submission-settings.h
718 test-mail-storage-common.h
739 lib02_imap_acl_plugin.a
740 lib02_imap_acl_plugin.so
741 lib02_lazy_expunge_plugin.a
742 lib02_lazy_expunge_plugin.so
743 lib05_mail_crypt_acl_plugin.a
744 lib05_mail_crypt_acl_plugin.so
745 lib05_pop3_migration_plugin.a
746 lib05_pop3_migration_plugin.so
747 lib10_last_login_plugin.a
748 lib10_last_login_plugin.so
749 lib10_mail_crypt_plugin.a
750 lib10_mail_crypt_plugin.so
752 lib10_quota_plugin.so
753 lib11_imap_quota_plugin.a
754 lib11_imap_quota_plugin.so
756 lib11_trash_plugin.so
757 lib15_notify_plugin.a
758 lib15_notify_plugin.so
759 lib20_charset_alias_plugin.a
760 lib20_charset_alias_plugin.so
763 lib20_listescape_plugin.a
764 lib20_listescape_plugin.so
765 lib20_mail_log_plugin.a
766 lib20_mail_log_plugin.so
767 lib20_mailbox_alias_plugin.a
768 lib20_mailbox_alias_plugin.so
769 lib20_notify_status_plugin.a
770 lib20_notify_status_plugin.so
771 lib20_push_notification_plugin.a
772 lib20_push_notification_plugin.so
773 lib20_quota_clone_plugin.a
774 lib20_quota_clone_plugin.so
775 lib20_replication_plugin.a
776 lib20_replication_plugin.so
777 lib20_var_expand_crypt.a
778 lib20_var_expand_crypt.so
779 lib20_virtual_plugin.a
780 lib20_virtual_plugin.so
783 lib21_fts_lucene_plugin.a
784 lib21_fts_lucene_plugin.so
785 lib21_fts_squat_plugin.a
786 lib21_fts_squat_plugin.so
787 lib30_imap_zlib_plugin.a
788 lib30_imap_zlib_plugin.so
789 lib90_old_stats_plugin.a
790 lib90_old_stats_plugin.so
791 lib95_imap_old_stats_plugin.a
792 lib95_imap_old_stats_plugin.so
793 lib99_welcome_plugin.a
794 lib99_welcome_plugin.so
797 libdovecot-compression.a
798 libdovecot-compression.so
799 libdovecot-compression.so.0
800 libdovecot-compression.so.0.0.0
803 libdovecot-dsync.so.0
804 libdovecot-dsync.so.0.0.0
808 libdovecot-fts.so.0.0.0
812 libdovecot-lda.so.0.0.0
815 libdovecot-login.so.0
816 libdovecot-login.so.0.0.0
820 libdovecot-sql.so.0.0.0
822 libdovecot-storage.so
823 libdovecot-storage.so.0
824 libdovecot-storage.so.0.0.0
835 libssl_iostream_openssl.a
836 libssl_iostream_openssl.so
838 lib20_auth_var_expand_crypt.a
839 lib20_auth_var_expand_crypt.so
843 lib10_doveadm_acl_plugin.a
844 lib10_doveadm_acl_plugin.so
845 lib10_doveadm_quota_plugin.a
846 lib10_doveadm_quota_plugin.so
847 lib20_doveadm_fts_lucene_plugin.a
848 lib20_doveadm_fts_lucene_plugin.so
849 lib20_doveadm_fts_plugin.a
850 lib20_doveadm_fts_plugin.so
851 libdoveadm_mail_crypt_plugin.a
852 libdoveadm_mail_crypt_plugin.so
853 lib/dovecot/old-stats/
898 share/aclocal/dovecot.m4
899 share/dovecot/stopwords/
923 doveadm-deduplicate.1.gz
924 doveadm-director.1.gz
930 doveadm-force-resync.1.gz
936 doveadm-instance.1.gz
939 doveadm-mailbox-cryptokey.1.gz
949 doveadm-replicator.1.gz
960 dovecot-sysreport.1.gz
963 share/man/man7/doveadm-search-query.7.gz
964 @postunexec echo "If you are removing dovecot2 permanently, you should 'rm -rf /var/db/dovecot' to clear out any remaining data."
967 [FILE:6949:manifests/plist.docs]
973 solr-config-7.7.0.xml
974 solr-schema-7.7.0.xml
977 share/doc/dovecot/wiki/
979 AixPluginsSupport.txt
980 AttachmentIndicator.txt
981 AuthDatabase.CheckPassword.txt
982 AuthDatabase.Dict.txt
983 AuthDatabase.LDAP.AuthBinds.txt
984 AuthDatabase.LDAP.PasswordLookups.txt
985 AuthDatabase.LDAP.Userdb.txt
986 AuthDatabase.LDAP.txt
988 AuthDatabase.Passwd.txt
989 AuthDatabase.PasswdFile.txt
991 AuthDatabase.VPopMail.txt
993 Authentication.Caching.txt
994 Authentication.Kerberos.txt
995 Authentication.MasterUsers.txt
996 Authentication.Mechanisms.DigestMD5.txt
997 Authentication.Mechanisms.NTLM.txt
998 Authentication.Mechanisms.Winbind.txt
999 Authentication.Mechanisms.txt
1000 Authentication.MultipleDatabases.txt
1001 Authentication.PasswordSchemes.txt
1002 Authentication.Penalty.txt
1003 Authentication.Policy.txt
1004 Authentication.RestrictAccess.txt
1006 BasicConfiguration.txt
1008 Clients.NegativeUIDs.txt
1012 Debugging.Authentication.txt
1013 Debugging.ProcessTracing.txt
1014 Debugging.Rawlog.txt
1015 Debugging.Thunderbird.txt
1017 Design.AuthProcess.txt
1018 Design.AuthProtocol.txt
1022 Design.DoveadmProtocol.HTTP.txt
1023 Design.DoveadmProtocol.txt
1026 Design.Indexes.Cache.txt
1027 Design.Indexes.MailIndexApi.txt
1028 Design.Indexes.MainIndex.txt
1029 Design.Indexes.TransactionLog.txt
1031 Design.InputStreams.txt
1033 Design.MailProcess.txt
1035 Design.OutputStreams.txt
1036 Design.ParameterForwarding.txt
1038 Design.Processes.txt
1039 Design.Storage.ErrorHandling.txt
1040 Design.Storage.Mail.txt
1041 Design.Storage.MailNamespace.txt
1042 Design.Storage.MailStorage.txt
1043 Design.Storage.MailUser.txt
1044 Design.Storage.Mailbox.Save.txt
1045 Design.Storage.Mailbox.Search.txt
1046 Design.Storage.Mailbox.Sync.txt
1047 Design.Storage.Mailbox.Transaction.txt
1048 Design.Storage.Mailbox.txt
1049 Design.Storage.MailboxList.txt
1050 Design.Storage.Plugins.txt
1057 Errors.ChgrpNoPerm.txt
1059 FindMailLocation.txt
1060 FinishBasicConfiguration.txt
1062 HowTo.AntispamWithSieve.txt
1063 HowTo.EximAndDovecotSASL.txt
1064 HowTo.ImapcProxy.txt
1065 HowTo.PopBSMTPAndDovecot.txt
1067 HowTo.PostfixAndDovecotSASL.txt
1069 HowTo.SimpleVirtualInstall.txt
1070 HowTo.WriteConfiguration.txt
1072 IMAPServer.Hibernation.txt
1088 MailLocation.LocalDisk.txt
1089 MailLocation.Maildir.txt
1090 MailLocation.SharedDisk.txt
1091 MailLocation.dbox.txt
1092 MailLocation.mbox.txt
1094 MailboxFormat.Cydir.txt
1095 MailboxFormat.MH.txt
1096 MailboxFormat.Maildir.txt
1097 MailboxFormat.dbox.txt
1098 MailboxFormat.imapc.txt
1099 MailboxFormat.mailstore.txt
1100 MailboxFormat.mbox.txt
1101 MailboxFormat.mbx.txt
1104 MboxChildFolders.txt
1107 Migration.BincIMAP.txt
1108 Migration.Courier.txt
1112 Migration.Linuxconf.txt
1113 Migration.MailFormat.txt
1114 Migration.Online.txt
1115 Migration.Teapop.txt
1117 Migration.Vm-pop3d.txt
1119 MissingMailboxes.txt
1125 PasswordDatabase.BSDAuth.txt
1126 PasswordDatabase.ExtraFields.AllowNets.txt
1127 PasswordDatabase.ExtraFields.Host.txt
1128 PasswordDatabase.ExtraFields.NoDelay.txt
1129 PasswordDatabase.ExtraFields.NoLogin.txt
1130 PasswordDatabase.ExtraFields.Proxy.txt
1131 PasswordDatabase.ExtraFields.User.txt
1132 PasswordDatabase.ExtraFields.txt
1133 PasswordDatabase.IMAP.txt
1134 PasswordDatabase.PAM.txt
1135 PasswordDatabase.Shadow.txt
1136 PasswordDatabase.Static.txt
1137 PasswordDatabase.oauth2.txt
1138 PasswordDatabase.txt
1139 PerformanceTuning.txt
1140 Pigeonhole.Installation.txt
1141 Pigeonhole.ManageSieve.Clients.txt
1142 Pigeonhole.ManageSieve.Configuration.txt
1143 Pigeonhole.ManageSieve.Install.txt
1144 Pigeonhole.ManageSieve.Troubleshooting.txt
1145 Pigeonhole.ManageSieve.txt
1146 Pigeonhole.Sieve.Configuration.Dict.txt
1147 Pigeonhole.Sieve.Configuration.File.txt
1148 Pigeonhole.Sieve.Configuration.LDAP.txt
1149 Pigeonhole.Sieve.Configuration.txt
1150 Pigeonhole.Sieve.Examples.txt
1151 Pigeonhole.Sieve.Extensions.Duplicate.txt
1152 Pigeonhole.Sieve.Extensions.Editheader.txt
1153 Pigeonhole.Sieve.Extensions.Include.txt
1154 Pigeonhole.Sieve.Extensions.SpamtestVirustest.txt
1155 Pigeonhole.Sieve.Extensions.Vacation.txt
1156 Pigeonhole.Sieve.Extensions.Variables.txt
1157 Pigeonhole.Sieve.Extensions.txt
1158 Pigeonhole.Sieve.Plugins.Extdata.txt
1159 Pigeonhole.Sieve.Plugins.Extprograms.txt
1160 Pigeonhole.Sieve.Plugins.IMAPFilterSieve.txt
1161 Pigeonhole.Sieve.Plugins.IMAPSieve.txt
1162 Pigeonhole.Sieve.Plugins.Pipe.txt
1163 Pigeonhole.Sieve.Plugins.txt
1164 Pigeonhole.Sieve.Troubleshooting.txt
1165 Pigeonhole.Sieve.Usage.txt
1166 Pigeonhole.Sieve.txt
1168 Plugins.Apparmor.txt
1169 Plugins.Autocreate.txt
1170 Plugins.CharsetAlias.txt
1171 Plugins.Compress.txt
1173 Plugins.FTS.Lucene.txt
1174 Plugins.FTS.Solr.txt
1175 Plugins.FTS.Squat.txt
1177 Plugins.LastLogin.txt
1178 Plugins.Lazyexpunge.txt
1179 Plugins.Listescape.txt
1180 Plugins.MailCrypt.txt
1181 Plugins.MailFilter.txt
1183 Plugins.MailboxAlias.txt
1185 Plugins.NotifyStatus.txt
1186 Plugins.PushNotification.txt
1187 Plugins.QuotaClone.txt
1191 Plugins.VarExpandCrypt.txt
1196 PostLoginScripting.txt
1198 QuickConfiguration.txt
1199 Quota.Configuration.txt
1208 SSL.CertificateClientImporting.txt
1209 SSL.CertificateCreation.txt
1210 SSL.DovecotConfiguration.txt
1211 SSL.SNIClientSupport.txt
1216 SharedMailboxes.ClusterSetup.txt
1217 SharedMailboxes.Permissions.txt
1218 SharedMailboxes.Public.txt
1219 SharedMailboxes.Shared.txt
1220 SharedMailboxes.Symlinks.txt
1222 SocketUnavailable.txt
1227 TestInstallation.txt
1228 TestPop3Installation.txt
1229 TimeMovedBackwards.txt
1239 UserDatabase.ExtraFields.txt
1240 UserDatabase.NSS.txt
1241 UserDatabase.Prefetch.txt
1242 UserDatabase.Static.txt
1246 VirtualUsers.Home.txt
1248 WhyDoesItNotWork.txt
1254 [FILE:284:patches/patch-src_lib-master_test-event-stats.c]
1255 --- src/lib-master/test-event-stats.c.orig 2022-12-21 08:49:12 UTC
1256 +++ src/lib-master/test-event-stats.c
1258 #include "stats-client.h"
1259 #include "test-common.h"
1261 +#include <signal.h>
1264 #include <sys/socket.h>
1267 [FILE:457:patches/patch-src_master_main.c]
1268 --- src/master/main.c.orig 2022-12-21 08:49:12 UTC
1269 +++ src/master/main.c
1270 @@ -886,6 +886,8 @@ int main(int argc, char *argv[])
1271 i_fatal("dup2(dev_null_fd) failed: %m");
1272 if (!foreground && dup2(dev_null_fd, STDOUT_FILENO) < 0)
1273 i_fatal("dup2(dev_null_fd) failed: %m");
1274 + if (!foreground && dup2(dev_null_fd, STDERR_FILENO) < 0)
1275 + i_fatal("dup2(dev_null_fd) failed: %m");
1278 i_strconcat(set->base_dir, "/"MASTER_PID_FILE_NAME, NULL);
1281 [FILE:1073:patches/patch-src_plugins_fts_decode2text.sh]
1282 /usr gets changed to ${LOCALBASE} in post-patch:, so we
1283 cheat and set xpdf's path to /usr/lib.
1285 --- src/plugins/fts/decode2text.sh.orig 2022-12-21 08:49:12 UTC
1286 +++ src/plugins/fts/decode2text.sh
1287 @@ -79,16 +79,20 @@ wait_timeout() {
1290 if [ $fmt = "pdf" ]; then
1291 - /usr/bin/pdftotext $path - 2>/dev/null&
1292 + if [ -x /usr/lib/xpdf/pdftotext ]; then
1293 + /usr/lib/xpdf/pdftotext $path - 2>/dev/null&
1295 + /usr/local/bin/pdftotext $path - 2>/dev/null&
1297 wait_timeout 2>/dev/null
1298 elif [ $fmt = "doc" ]; then
1299 - (/usr/bin/catdoc $path; true) 2>/dev/null&
1300 + (/usr/local/bin/catdoc $path; true) 2>/dev/null&
1301 wait_timeout 2>/dev/null
1302 elif [ $fmt = "ppt" ]; then
1303 - (/usr/bin/catppt $path; true) 2>/dev/null&
1304 + (/usr/local/bin/catppt $path; true) 2>/dev/null&
1305 wait_timeout 2>/dev/null
1306 elif [ $fmt = "xls" ]; then
1307 - (/usr/bin/xls2csv $path; true) 2>/dev/null&
1308 + (/usr/local/bin/xls2csv $path; true) 2>/dev/null&
1309 wait_timeout 2>/dev/null
1310 elif [ $fmt = "odt" -o $fmt = "ods" -o $fmt = "odp" ]; then
1311 xmlunzip "content.xml"
1314 [FILE:2204:files/dovecot.in]
1318 # REQUIRE: %%REQUIRE%%
1322 # dovecot_enable (bool): Set it to YES to enable dovecot
1324 # dovecot_config (str): Path to dovecot.conf
1325 # Default: %%PREFIX%%/etc/dovecot.conf
1326 # Set it to a space-separated list to start
1327 # multiple dovecot instances
1328 # dovecot_flags (str): Extra flags to pass to dovecot
1331 # Define dovecot_* variables in one of these files:
1333 # /etc/rc.conf.local
1334 # /etc/rc.conf.d/dovecot
1339 rcvar=dovecot_enable
1341 # read configuration and set defaults
1342 load_rc_config ${name}
1343 : ${dovecot_enable:="NO"}
1344 : ${dovecot_config:="%%PREFIX%%/etc/${name}.conf"}
1346 command="%%PREFIX%%/sbin/${name}"
1347 start_precmd="start_precmd"
1348 stop_postcmd="stop_postcmd"
1349 restart_cmd="restart_cmd"
1350 extra_commands="reload"
1353 { # Ensure runtime directory exists with correct permissions
1354 /usr/bin/install -o root -g wheel -m 0755 -d ${base_dir}
1358 { # Cleanup runtime directory. The dovecot.conf link has to stay.
1359 /usr/bin/find ${base_dir} ! -type l -delete
1363 { # Overriding makes rc.subr run this once for each instance
1365 run_rc_command start
1368 # To start multiple instances of dovecot set dovecot_config to
1369 # a space separated list of configuration files.
1370 for config in ${dovecot_config}; do
1371 required_files="${config}"
1372 command_args="-c ${config}"
1373 if [ -s ${config} ]; then
1374 ${command} ${command_args} -a 2>&1 >/dev/null
1375 if [ $? -ne 0 ]; then
1377 echo "Configuration file check failed."
1378 # Use dovecot to print the config error.
1379 ${command} ${command_args} -a
1382 base_dir=$(${command} ${command_args} -a 2>/dev/null | /usr/bin/awk -F '= ' '/^base_dir =/ { print $2 }')
1383 pidfile="${base_dir}/master.pid"
1386 echo "Config file ${config} does not exist. If this is"
1387 echo "a new installation, please create the config files as outlined in"
1388 echo " # pkg info -D dovecot"
1394 [FILE:1353:files/pkg-message-primary.in]
1395 ---------------------------------------------------------------------
1397 You must create the configuration files yourself. Copy them over
1398 to %%ETCDIR%% and edit them as desired:
1400 cp -R %%ETCDIR%%/example-config/* \
1403 The default configuration includes IMAP and POP3 services, will
1404 authenticate users agains the system's passwd file, and will use
1405 the default /var/mail/$USER mbox files.
1407 Next, enable dovecot in /etc/rc.conf:
1409 dovecot_enable="YES"
1412 ---------------------------------------------------------------------
1414 To avoid a risk of mailbox corruption, do not set the
1415 security.bsd.see_other_uids or .see_other_gids sysctls to 0
1416 if Dovecot is storing mail for multiple concurrent users (PR 218392).
1418 ---------------------------------------------------------------------
1420 If you want to be able to search within attachments using the
1421 decode2text plugin, you'll need to install textproc/catdoc, and
1422 one of graphics/xpdf or graphics/poppler-utils.
1424 ---------------------------------------------------------------------
1426 There are some potentially breaking changes in Dovecot 2.3. If you
1427 are upgrading from Dovecot 2.2:
1429 * Read https://wiki2.dovecot.org/Upgrading/2.3
1430 * Merge the configuration file changes from
1431 %%ETCDIR%%/examples-config/
1433 ---------------------------------------------------------------------