1 |
RTFM before configuring and running Courier!!! |
2 |
|
3 |
Check and/or modify the following configuration files to |
4 |
suit your needs: |
5 |
|
6 |
%%PREFIX%%/etc/courier/courierd |
7 |
%%PREFIX%%/etc/courier/esmtpd |
8 |
%%PREFIX%%/etc/courier/esmtpd-msa |
9 |
%%PREFIX%%/etc/courier/esmtpd-ssl |
10 |
%%WITHFAX%% %%PREFIX%%/etc/courier/faxcoverpage.tr |
11 |
%%WITHFAX%% %%PREFIX%%/etc/courier/faxnotifyrc |
12 |
%%WITHFAX%% %%PREFIX%%/etc/courier/faxrc |
13 |
%%PREFIX%%/etc/courier/imapd |
14 |
%%PREFIX%%/etc/courier/imapd-ssl |
15 |
%%PREFIX%%/etc/courier/ldapaddressbook |
16 |
%%WITHLDAP%% %%PREFIX%%/etc/courier/ldapaliasrc |
17 |
%%PREFIX%%/etc/courier/pop3d |
18 |
%%PREFIX%%/etc/courier/pop3d-ssl |
19 |
|
20 |
Do not forget to update /etc/pam.d/ or /etc/pam.conf with |
21 |
the contents of %%PREFIX%%/etc/courier/*.authpam. |
22 |
|
23 |
To enable Courier-MTA to start at boot time, |
24 |
set these variables in your /etc/rc.conf file: |
25 |
|
26 |
courier_enable="YES" |
27 |
sendmail_enable="NONE" |
28 |
|
29 |
Note: in newer OS versions you should change variables |
30 |
used in /etc/rc.conf file, as NONE for sendmail_enable |
31 |
is deprecated and will be not supported in future: |
32 |
|
33 |
courier_enable="YES" |
34 |
sendmail_enable="NO" |
35 |
sendmail_submit_enable="NO" |
36 |
sendmail_outbound_enable="NO" |
37 |
sendmail_msp_queue_enable="NO" |
38 |
|
39 |
Also, you will want to disable some Sendmail |
40 |
specific daily maintenance routines in your |
41 |
/etc/periodic.conf file: |
42 |
|
43 |
daily_clean_hoststat_enable="NO" |
44 |
daily_status_mail_rejects_enable="NO" |
45 |
daily_status_include_submit_mailq="NO" |
46 |
daily_submit_queuerun="NO" |
47 |
|
48 |
Documentation (if installed locally) is located in |
49 |
%%DOCSDIR%%/ otherwise see |
50 |
http://www.Courier-MTA.org/ |
51 |
|
52 |
If you are planning to serve shared maildirs, then |
53 |
you should create a cron job that runs at regular |
54 |
intervals (once every few hours is fine) that |
55 |
executes the following script to update the |
56 |
shared folder index: |
57 |
|
58 |
%%PREFIX%%/share/courier/sharedindexupdate |