From 77395f0e481815abe532e90d24ac33212b58d6ff Mon Sep 17 00:00:00 2001 From: Jean-Philippe Pialasse Date: Mon, 9 Dec 2024 23:46:23 -0500 Subject: [PATCH] * Tue Dec 03 2024 Jean-Philippe Pialasse 11.0.1-1.sme - initial release of smeserver-mini-qmail from former smeserver-qmail [SME: 12793] . only for final delivery or forward behind qpsmtpd and postfix . set /var/qmail/control/qmqpservers server file . set junkmail delivery to dovecot-lda . we only need configs idhost, qmqpservers, me, defaultdomain, plusdomain, rcpthosts . removing controls badrcptto,helohost,smtproutes,rcpthosts,badmailfrom,databytes,bouncefrom, bouncehost,concurrencylocal,concurrencyremote,doublebouncehost,doublebounceto,envnoathost . removing /var/qmail/users . removing alias . cleaning actions scripts (TODO: move pseudonym-cleanup to smeserver-email) --- root/etc/e-smith/db/configuration/defaults/qmail/type | 2 +- root/etc/e-smith/db/configuration/migrate/qmail | 4 ++++ smeserver-mini-qmail.spec | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 root/etc/e-smith/db/configuration/migrate/qmail diff --git a/root/etc/e-smith/db/configuration/defaults/qmail/type b/root/etc/e-smith/db/configuration/defaults/qmail/type index 24e1098..f92f363 100644 --- a/root/etc/e-smith/db/configuration/defaults/qmail/type +++ b/root/etc/e-smith/db/configuration/defaults/qmail/type @@ -1 +1 @@ -service +configuration diff --git a/root/etc/e-smith/db/configuration/migrate/qmail b/root/etc/e-smith/db/configuration/migrate/qmail new file mode 100644 index 0000000..dad56a8 --- /dev/null +++ b/root/etc/e-smith/db/configuration/migrate/qmail @@ -0,0 +1,4 @@ +{ + # mini-qmail does not run as service, this is configuration + $DB->set_prop("qmail", "type", "configuration") if ${qmail}{type} eq "service"; +} diff --git a/smeserver-mini-qmail.spec b/smeserver-mini-qmail.spec index b97d6bf..761d811 100644 --- a/smeserver-mini-qmail.spec +++ b/smeserver-mini-qmail.spec @@ -29,7 +29,7 @@ AutoReqProv: no %changelog * Tue Dec 03 2024 Jean-Philippe Pialasse 11.0.1-1.sme -- initial release of smeserver-mini-qmail from former smeserver-qmail +- initial release of smeserver-mini-qmail from former smeserver-qmail [SME: 12793] . only for final delivery or forward behind qpsmtpd and postfix . set /var/qmail/control/qmqpservers server file . set junkmail delivery to dovecot-lda