diff --git a/postfix-bdb.changes b/postfix-bdb.changes index 9ab5a86..d18ade2 100644 --- a/postfix-bdb.changes +++ b/postfix-bdb.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 6 09:17:20 UTC 2022 - Ludwig Nussel + +- own /var/spool/mail (boo#1179574) + ------------------------------------------------------------------- Thu Aug 4 19:09:34 UTC 2022 - chris@computersalat.de diff --git a/postfix-bdb.spec b/postfix-bdb.spec index d64fd4b..ab7e8ab 100644 --- a/postfix-bdb.spec +++ b/postfix-bdb.spec @@ -274,6 +274,8 @@ mkdir -p %{buildroot}/%{pf_sample_directory} mkdir -p %{buildroot}/%{pf_html_directory} mkdir -p %{buildroot}%{_includedir}/postfix mkdir -p %{buildroot}%{_sysconfdir}/pam.d +mkdir -p %{buildroot}/var/spool/mail +ln -s spool/mail %{buildroot}/var/mail install -m 644 postfix-SUSE/smtp %{buildroot}%{_sysconfdir}/pam.d/smtp mkdir -p %{buildroot}%{_fillupdir} sed -e 's;@lib@;%{_lib};g' postfix-SUSE/sysconfig.postfix > %{buildroot}%{_fillupdir}/sysconfig.postfix @@ -551,6 +553,8 @@ fi %if 0%{?suse_version} >= 1330 %{_sysusersdir}/postfix-user.conf %endif +%dir %attr(1777,root,root) /var/spool/mail +/var/mail %if %{with lmdb} %files lmdb diff --git a/postfix.changes b/postfix.changes index 9ab5a86..d18ade2 100644 --- a/postfix.changes +++ b/postfix.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 6 09:17:20 UTC 2022 - Ludwig Nussel + +- own /var/spool/mail (boo#1179574) + ------------------------------------------------------------------- Thu Aug 4 19:09:34 UTC 2022 - chris@computersalat.de diff --git a/postfix.spec b/postfix.spec index 3c71365..b6358b4 100644 --- a/postfix.spec +++ b/postfix.spec @@ -289,6 +289,8 @@ mkdir -p %{buildroot}/%{pf_sample_directory} mkdir -p %{buildroot}/%{pf_html_directory} mkdir -p %{buildroot}%{_includedir}/%{name} mkdir -p %{buildroot}%{_sysconfdir}/pam.d +mkdir -p %{buildroot}/var/spool/mail +ln -s spool/mail %{buildroot}/var/mail install -pm 0644 %{name}-SUSE/smtp %{buildroot}%{_sysconfdir}/pam.d/smtp mkdir -p %{buildroot}%{_fillupdir} sed -e 's;@lib@;%{_lib};g' %{name}-SUSE/sysconfig.%{name} > %{buildroot}%{_fillupdir}/sysconfig.%{name} @@ -587,6 +589,8 @@ fi %dir %attr(0730,%{name},maildrop) /%{pf_queue_directory}/maildrop %dir %attr(0710,%{name},maildrop) /%{pf_queue_directory}/public %{_sysusersdir}/postfix-user.conf +%dir %attr(1777,root,root) /var/spool/mail +/var/mail %files devel %{_includedir}/%{name}/