generated from smedev/Template-for-SMEServer-Core-Package
* 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:
parent
77e9c3660c
commit
e037fa4736
@ -22,7 +22,7 @@ Koozali SME Server wrapper to configure postfix
|
|||||||
## Development and testing
|
## Development and testing
|
||||||
```
|
```
|
||||||
mkdir -p /etc/e-smith/templates-custom/var/service/{qpsmtpd,sqpsmtpd,uqpsmtpd}/config/peers/{0,local}/90queue-qmail-queue
|
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
|
config setprop qmail status disabled
|
||||||
systemctl stop qmail
|
systemctl stop qmail
|
||||||
signal-event email-update
|
signal-event email-update
|
||||||
|
8
root/etc/e-smith/events/actions/conf-postfix
Executable file
8
root/etc/e-smith/events/actions/conf-postfix
Executable 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
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
%define name smeserver-postfix
|
%define name smeserver-postfix
|
||||||
%define version 1.0
|
%define version 1.0
|
||||||
%define release 2
|
%define release 3
|
||||||
Summary: This is what smeserver-postfix does.
|
Summary: This is what smeserver-postfix does.
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
@ -13,6 +13,9 @@ Prefix: %{_prefix}
|
|||||||
BuildArchitectures: noarch
|
BuildArchitectures: noarch
|
||||||
BuildRequires: e-smith-devtools
|
BuildRequires: e-smith-devtools
|
||||||
Requires: e-smith-release >= 10.0
|
Requires: e-smith-release >= 10.0
|
||||||
|
Requires: postfix
|
||||||
|
Requires: postfix-perl-scripts
|
||||||
|
Requires: postfix-pcre
|
||||||
Requires: zsh
|
Requires: zsh
|
||||||
AutoReqProv: no
|
AutoReqProv: no
|
||||||
|
|
||||||
@ -20,6 +23,10 @@ AutoReqProv: no
|
|||||||
Koozali SME Server wrapper to configure postfix
|
Koozali SME Server wrapper to configure postfix
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sun Nov 17 2024 <jpp@koozali.org> 1.0-2.sme
|
||||||
- listen only via sockets
|
- listen only via sockets
|
||||||
- use both unix user and virtual users
|
- use both unix user and virtual users
|
||||||
|
Loading…
Reference in New Issue
Block a user