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
|
||||
```
|
||||
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
|
||||
|
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 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
|
||||
|
Loading…
Reference in New Issue
Block a user