diff options
author | schmonz <schmonz@pkgsrc.org> | 2018-11-14 16:46:58 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2018-11-14 16:46:58 +0000 |
commit | c3a0ca3ea2ad1e870b555605e8d2923c5ed25ef1 (patch) | |
tree | 9971941b90afb20a6fa2450aeca626c65768691e /mail/qmail-run/INSTALL | |
parent | 8161409655a8e0ec1c70b4a83e1209b4c3711ee0 (diff) | |
download | pkgsrc-c3a0ca3ea2ad1e870b555605e8d2923c5ed25ef1.tar.gz |
On second thought, greylisting isn't a sensible default. Comment it out
in control/smtpplugins. Extract a "Greylisting" stanza in MESSAGE. Merge
"Local non-root users to see the queue" into previous section (and
provide qmail-qread-client in example mailer.conf to begin with).
Mention port numbers where applicable.
Enable defaults that are sensible: realrcptto in control/rcptchecks and
viruscan in control/smtpfilters.
Add fixsmtpio rules to make greylisting-spp's tempfails look more like
qmail's other messages.
Bump dependency on qmail for config-fast-pkgsrc, which is like
config-fast but lets us simulate CONF_FILES-like behavior. As before, we
install these minimal config files, and won't deinstall them. (But the
updated qmail package will.)
Bump version.
Diffstat (limited to 'mail/qmail-run/INSTALL')
-rw-r--r-- | mail/qmail-run/INSTALL | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/mail/qmail-run/INSTALL b/mail/qmail-run/INSTALL index c933e81ef6c..a15a6937df7 100644 --- a/mail/qmail-run/INSTALL +++ b/mail/qmail-run/INSTALL @@ -6,11 +6,17 @@ psmsg='# case ${STAGE} in POST-INSTALL) - cd ${PREFIX}/share/qmail/setup && ./config-fast `./hostname` + cd ${PREFIX}/share/qmail/setup && ./config-fast-pkgsrc `./hostname` - cd ${PKG_SYSCONFDIR}/control + cd ${PKG_SYSCONFDIR}/.pkgsrc-defaults-do-not-edit for i in locals rcpthosts; do - ${SORT} -u ${i} > ${i}.tmp && mv ${i}.tmp ${i} + ${SORT} -u ${i} > ${i}.tmp && ${MV} ${i}.tmp ${i} + done + + cd ${PKG_SYSCONFDIR} + for i in defaultdomain locals me plusdomain rcpthosts; do + [ -f control/${i} ] \ + || ${CP} .pkgsrc-defaults-do-not-edit/${i} control done cd ${PKG_SYSCONFDIR}/alias |