* Tue Nov 19 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.0-3.sme

- add requirements [SME: 12737]
- add conf-postfix
This commit is contained in:
Jean-Philippe Pialasse 2024-11-19 11:28:57 -05:00
parent 77e9c3660c
commit e037fa4736
3 changed files with 17 additions and 2 deletions

View File

@ -22,7 +22,7 @@ Koozali SME Server wrapper to configure postfix
## Development and testing
```
mkdir -p /etc/e-smith/templates-custom/var/service/{qpsmtpd,sqpsmtpd,uqpsmtpd}/config/peers/{0,local}/90queue-qmail-queue
echo 'return "queue/postfix-queue";' > /etc/e-smith/templates-custom/var/service/{qpsmtpd,sqpsmtpd,uqpsmtpd}/config/peers/{0,local}/90queue-qmail-queue
echo 'queue/postfix-queue' > /etc/e-smith/templates-custom/var/service/{qpsmtpd,sqpsmtpd,uqpsmtpd}/config/peers/{0,local}/90queue-qmail-queue
config setprop qmail status disabled
systemctl stop qmail
signal-event email-update

View File

@ -0,0 +1,8 @@
#!/bin/bash
#first we set postfix sendmail as default one
/usr/sbin/alternatives --set mta /usr/sbin/sendmail.postfix
# we add qpsmtpd to the group to allow to send email to postfix sockets
/usr/sbin/usermod -a -G postdrop qpsmtpd

View File

@ -1,6 +1,6 @@
%define name smeserver-postfix
%define version 1.0
%define release 2
%define release 3
Summary: This is what smeserver-postfix does.
Name: %{name}
Version: %{version}
@ -13,6 +13,9 @@ Prefix: %{_prefix}
BuildArchitectures: noarch
BuildRequires: e-smith-devtools
Requires: e-smith-release >= 10.0
Requires: postfix
Requires: postfix-perl-scripts
Requires: postfix-pcre
Requires: zsh
AutoReqProv: no
@ -20,6 +23,10 @@ AutoReqProv: no
Koozali SME Server wrapper to configure postfix
%changelog
* Tue Nov 19 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.0-3.sme
- add requirements [SME: 12737]
- add conf-postfix
* Sun Nov 17 2024 <jpp@koozali.org> 1.0-2.sme
- listen only via sockets
- use both unix user and virtual users