summaryrefslogtreecommitdiff
path: root/mail/dma/files/pkg-message.in
blob: 56989bd39f2b1ce0a851eaa9e7d694088fd4cc30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[
{ type: install
  message: <<EOM

Please note that dma is now also available in FreeBSD's base, currently under 
/usr/libexec/dma, and with config files in /etc/mail/dma.

These may not track the same version of dma.  Users are encouraged to check
releases notes to see which best suits their needs.

===

To enable dma please edit /etc/mail/mailer.conf to replace all lines
referring to another MTA with the following:

sendmail	%%PREFIX%%/libexec/dma
send-mail	%%PREFIX%%/libexec/dma
mailq		%%PREFIX%%/libexec/dma

If you do not need sendmail anymore, please add in your rc.conf:

sendmail_enable="NONE"

or, for more granular control:

sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"

if you want anything in your queue to be flushed at on boot or before
shutdown, add the following to rc.conf as well:

dma_flushq_enable="YES"

A crontab configuration to flush every 30 minutes was added to
%%PREFIX%%/etc/cron.d/dma.

And you can 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"
EOM
}
]