* Thu Apr 25 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-8.sme

- move qmail template from qpsmtpd [SME: 9492]
  badrcptto,badmailfrom,rcpthosts are for qmail-smtpd, they were used by qpsmtpd
  as a direct remplacement, some file override them now, moving to qmail
  alternative would be to drop them as long as qpsmptd is used in front
This commit is contained in:
Jean-Philippe Pialasse 2024-09-24 22:29:24 -04:00
parent 2ac5875c1c
commit 012fda3ba9
2 changed files with 27 additions and 27 deletions

View File

@ -6,7 +6,7 @@ use File::Path;
# email-conf - console-save, bootstrap-console-save, domain-create, domain-delete, # email-conf - console-save, bootstrap-console-save, domain-create, domain-delete,
# ip-change, email-update, host-create, host-delete, host-modify, post-upgrade # ip-change, email-update, host-create, host-delete, host-modify, post-upgrade
# rcpthosts template was in smeserver qpsmtpd, and not used if qpsmtpd in use anymore
foreach (qw( foreach (qw(
badmailfrom badmailfrom
@ -29,31 +29,31 @@ foreach (qw(
virtualdomains virtualdomains
)) ))
{ {
templates2events("/var/qmail/control/$_", qw( templates2events("/var/qmail/control/$_", qw(
console-save console-save
bootstrap-console-save bootstrap-console-save
domain-create domain-create
domain-delete domain-delete
ip-change ip-change
email-update email-update
host-create host-create
host-delete host-delete
host-modify host-modify
post-upgrade post-upgrade
smeserver-qmail-update smeserver-qmail-update
)); ));
}
templates2events("/var/qmail/control/badrcptto", qw(
user-create templates2events("/var/qmail/control/badrcptto", qw(
user-delete user-create
user-modify user-delete
group-create user-modify
group-delete group-create
group-modify group-delete
pseudonym-create group-modify
pseudonym-delete pseudonym-create
pseudonym-modify pseudonym-delete
pseudonym-modify
)); ));
} }

View File

@ -4,7 +4,7 @@ Summary: startup scripts for Dan Bernstein's qmail package
%define name smeserver-qmail %define name smeserver-qmail
Name: %{name} Name: %{name}
%define version 11.0.0 %define version 11.0.0
%define release 7 %define release 8
Version: %{version} Version: %{version}
Release: %{release}%{?dist} Release: %{release}%{?dist}
License: GPL License: GPL
@ -29,7 +29,7 @@ Provides: e-smith-qmail
AutoReqProv: no AutoReqProv: no
%changelog %changelog
* Thu Apr 25 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-7.sme * Thu Apr 25 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-8.sme
- move qmail template from qpsmtpd [SME: 9492] - move qmail template from qpsmtpd [SME: 9492]
badrcptto,badmailfrom,rcpthosts are for qmail-smtpd, they were used by qpsmtpd badrcptto,badmailfrom,rcpthosts are for qmail-smtpd, they were used by qpsmtpd
as a direct remplacement, some file override them now, moving to qmail as a direct remplacement, some file override them now, moving to qmail