%define name smeserver-postfix %define version 1.0 %define release 7 Summary: This is what smeserver-postfix does. Name: %{name} Version: %{version} Release: %{release}%{?dist} Source: %{name}-%{version}.tar.gz License: GNU GPL version 2 Group: SMEserver/addon BuildRoot: %{_tmppath}/%{name}-buildroot 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 Requires: smeserver-mini-qmail AutoReqProv: no %description Koozali SME Server wrapper to configure postfix %changelog * Fri Dec 20 2024 Jean-Philippe Pialasse 1.0-7.sme - fix catch-all behaviour [SME: 12382] myorigin now is hostname in case email sent outside by deamon generic rewrite occurs * Sun Dec 15 2024 Jean-Philippe Pialasse 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 * Tue Nov 19 2024 Jean-Philippe Pialasse 1.0-3.sme - add requirements [SME: 12737] - add conf-postfix * Sun Nov 17 2024 1.0-2.sme - listen only via sockets - use both unix user and virtual users - groups and pseudonyms implemented in virtual maps - support smarthost with and without auth - support global and per domain delegated mail server - support ssl - uses qmail - recipient delimiter in left part of email. - all domains set as local domains in mydestination - message_size_limit - local and remote concurency limit * Tue Oct 15 2024 1.0-1.sme - Initial code - create RPM [SME: 12737] templates from Stefano Zamboni %prep %setup -q %build perl createlinks %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) 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(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 cd .. rm -rf %{name}-%{version} %pre %preun %post %postun #uninstall %files -f %{name}-%{version}-filelist %defattr(-,root,root)