diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2010-10-27 07:59:52 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2010-10-27 07:59:52 +0000 |
| commit | e028a2f9bf21023c33f88f5848760acb07c894fb (patch) | |
| tree | b09770bf69c2f77442cdfeb5c43c0a3c84cd3319 /mail/dma/files | |
| parent | - Update to 4.00 (diff) | |
Add rc script to allow to flush queue on startup and shutdown
bump portrevision
Submitted by: bz@ (by email)
Diffstat (limited to 'mail/dma/files')
| -rw-r--r-- | mail/dma/files/pkg-message.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/dma/files/pkg-message.in b/mail/dma/files/pkg-message.in index 84f9ec179a51..222e93c2a2ad 100644 --- a/mail/dma/files/pkg-message.in +++ b/mail/dma/files/pkg-message.in @@ -4,6 +4,7 @@ referring to another MTA with the following: sendmail %%PREFIX%%/libexec/dma send-mail %%PREFIX%%/libexec/dma +mailq %%PREFIX%%/libexec/dma If you not need sendmail anymore, please add in your rc.conf: @@ -12,6 +13,16 @@ 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" + +you can also add a cronjob to do regular mailq flushes using the following +command: + +%%PREFIX%%/libexec/dma -q + And you can disable some sendmail specific daily maintenance routines in your /etc/periodic.conf file: |
