opnsense-ports/mail/courier/files/pkg-message.in
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

60 lines
1.9 KiB
Text

RTFM before configuring and running Courier!!!
Check and/or modify the following configuration files to suit your needs:
%%PREFIX%%/etc/courier/courierd
%%PREFIX%%/etc/courier/esmtpd
%%PREFIX%%/etc/courier/esmtpd-msa
%%PREFIX%%/etc/courier/esmtpd-ssl
%%WITHFAX%% %%PREFIX%%/etc/courier/faxcoverpage.tr
%%WITHFAX%% %%PREFIX%%/etc/courier/faxnotifyrc
%%WITHFAX%% %%PREFIX%%/etc/courier/faxrc
%%PREFIX%%/etc/courier/imapd
%%PREFIX%%/etc/courier/imapd-ssl
%%PREFIX%%/etc/courier/ldapaddressbook
%%WITHLDAP%% %%PREFIX%%/etc/courier/ldapaliasrc
%%PREFIX%%/etc/courier/pop3d
%%PREFIX%%/etc/courier/pop3d-ssl
Do not forget to update /etc/pam.d/ or /etc/pam.conf with the contents of
%%PREFIX%%/etc/courier/*.authpam.
To enable Courier-MTA to start at boot time, set these variables in your
/etc/rc.conf file:
courier_enable="YES"
sendmail_enable="NONE"
Note: as in newer OS versions NONE for sendmail_enable is deprecated and
will be not supported in future, use following instead:
courier_enable="YES"
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
Usually editing /etc/mail/mailer.conf is necessary, too, so it contains
following lines:
sendmail %%PREFIX%%/bin/sendmail
send-mail %%PREFIX%%/bin/sendmail
mailq %%PREFIX%%/bin/mailq
newaliases %%PREFIX%%/sbin/makealiases
Also, you will want to disable some Sendmail specific daily maintenance
routines in your /etc/periodic.conf file:
daily_clean_hoststat_enable="NO"
daily_status_mail_rejects_enable="NO"
daily_status_include_submit_mailq="NO"
daily_submit_queuerun="NO"
Documentation (if installed locally) is located in %%DOCSDIR%%,
otherwise see http://www.Courier-MTA.org/
If you are planning to serve shared maildirs, then you should create a cron
job that runs at regular intervals (once every few hours is fine) that
executes the following script to update the shared folder index:
%%PREFIX%%/share/courier/sharedindexupdate