From 58298abe3a94a4071fead40cbcf6a46b96a51926 Mon Sep 17 00:00:00 2001 From: Brian Read Date: Wed, 8 Jan 2025 10:20:49 +0000 Subject: [PATCH] * Wed Jan 08 2025 Brian Read 1.0-11.sme - reload-or-restart postfix after pseudonym change [SME: 12863] --- createlinks | 7 +++++++ smeserver-postfix.spec | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/createlinks b/createlinks index d17f26b..d86ca02 100644 --- a/createlinks +++ b/createlinks @@ -214,6 +214,13 @@ safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/uqpsmtpd # files(s) to be backed up #)); +#-------------------------------------------------- +# actions for pseudonym-{create,delete,modify} +#-------------------------------------------------- +foreach $event ( qw(pseudonym-create pseudonym-modify pseudonym-delete) ) +{ + safe_symlink("reload-or-restart", "root/etc/e-smith/events/$event/services2adjust/postfix"); +} diff --git a/smeserver-postfix.spec b/smeserver-postfix.spec index b3b75e9..658e040 100644 --- a/smeserver-postfix.spec +++ b/smeserver-postfix.spec @@ -1,6 +1,6 @@ %define name smeserver-postfix %define version 1.0 -%define release 10 +%define release 11 Summary: This is what smeserver-postfix does. Name: %{name} Version: %{version} @@ -24,6 +24,9 @@ AutoReqProv: no Koozali SME Server wrapper to configure postfix %changelog +* Wed Jan 08 2025 Brian Read 1.0-11.sme +- reload-or-restart postfix after pseudonym change [SME: 12863] + * Sun Dec 29 2024 Brian Read 1.0-10.sme - Quotes round smtp-auth-proxy in templates for main.cf and sasl-passwd [SME: 12836]