* Sun Dec 15 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.0-6.sme

- add mini-qmail as Message delivery agent  [SME: 12737]
  few other fixes; +x on needed executable files
  migrate old qmail properties used in postfix
  catch all non existing recipient / check BCC working
This commit is contained in:
Jean-Philippe Pialasse 2024-12-17 07:05:35 -05:00
parent 77135e244f
commit fddc92eb16
2 changed files with 7 additions and 29 deletions

View File

@ -20,33 +20,11 @@ Show list of outstanding bugs:
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}
echo 'queue/postfix-queue' | tee /etc/e-smith/templates-custom/var/service/{qpsmtpd,sqpsmtpd,uqpsmtpd}/config/peers/{0,local}/90queue-qmail-queue > /dev/null
config setprop qmail status disabled
systemctl stop qmail
signal-event email-update
dnf install smeserver-postfix
```
then test
```
echo "This email confirms that Postfix is working" | mail -s "Testing Posfix" emailuser@example.com
```
or using roundcube/ mail client
to remove
```
rm -rf /etc/e-smith/templates-custom/var/service/{qpsmtpd,sqpsmtpd,uqpsmtpd}/config/peers/{0,local}/
config setprop qmail status enabled
systemctl start qmail
signal-event email-update
dnf remove smeserver-postfix
```
DONE
* main domain
* listen only socket
@ -56,7 +34,7 @@ DONE
* .qmail support using mini-qmail + wrapper and seakablepipe
* maildrop/procmail support directly via .qmail
* check /usr/sbin/sendmail -> /etc/alternatives/mta -> /usr/sbin/sendmail.postfix
* EmailUnknownUser support use luser_relay. if we had virtual domain we could not use it
* EmailUnknownUser support in virtual
* migrate and remove qmail properties to postfix
* make a copy of /var/qmail/control/smtproutes to (su)qpsmtpd/config/smtproutes
@ -66,8 +44,8 @@ TODO
FUTURE
* .foward support, when/if .qmail support is dropped
* TODO VirtualMail for domain with catchall and EmailUnknownUser ( we can not use luser_relay if we use virtual_alias
* ldap / AD user support
* throttle for some destination
TO CHECK
$prop->{Blacklist} = $smtp_proxy_rec->prop('Blacklist') || " ";

View File

@ -1,6 +1,6 @@
%define name smeserver-postfix
%define version 1.0
%define release 5
%define release 6
Summary: This is what smeserver-postfix does.
Name: %{name}
Version: %{version}
@ -24,7 +24,7 @@ AutoReqProv: no
Koozali SME Server wrapper to configure postfix
%changelog
* Sun Dec 15 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.0-5.sme
* Sun Dec 15 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.0-6.sme
- add mini-qmail as Message delivery agent [SME: 12737]
few other fixes; +x on needed executable files
migrate old qmail properties used in postfix
@ -64,9 +64,9 @@ rm -f %{name}-%{version}-filelist
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
--file /sbin/e-smith/systemd/postfix-reload 'attr(750,root,root)' \
--file /sbin/e-smith/systemd/postfix-pre 'attr(750,root,root)' \
--file /usr/bin/dotqmail 'attr(0554,root,root)' \
--file /usr/bin/postqmail-local 'attr(0554,root,root)' \
--file /usr/local/bin/seekablepipe 'attr(0554,root,root)' \
--file /usr/bin/dotqmail 'attr(0555,root,root)' \
--file /usr/bin/postqmail-local 'attr(0555,root,root)' \
--file /usr/local/bin/seekablepipe 'attr(0555,root,root)' \
> %{name}-%{version}-filelist
%clean