- dovenull is unauthorized user, needs own dovenull group

This commit is contained in:
Michal Hlavinka 2010-05-18 12:17:10 +00:00
parent 84d3af1913
commit 54620ffdc5

View File

@ -5,7 +5,7 @@ Summary: Secure imap and pop3 server
Name: dovecot
Epoch: 1
Version: 2.0
Release: 0.11%{?betasuffix}.%{?snapsuffix}%{?dist}
Release: 0.12%{?betasuffix}.%{?snapsuffix}%{?dist}
#dovecot itself is MIT, a few sources are PD, (manage)sieve is LGPLv2, perfect_maildir.pl is GPLv2+
License: MIT and LGPLv2 and GPLv2+
Group: System Environment/Daemons
@ -234,10 +234,11 @@ rm -rf $RPM_BUILD_ROOT
%pre
getent group dovecot >/dev/null || groupadd -r dovecot
getent group dovenull >/dev/null || groupadd -r dovenull
getent passwd dovecot >/dev/null || \
useradd -r -g dovecot -d /usr/libexec/dovecot -s /sbin/nologin -c "Dovecot IMAP server" dovecot
getent passwd dovenull >/dev/null || \
useradd -r -g dovecot -d /usr/libexec/dovecot -s /sbin/nologin -c "Dovecot login process" dovenull
useradd -r -g dovenull -d /usr/libexec/dovecot -s /sbin/nologin -c "Dovecot's unauthorized user" dovenull
exit 0
%post
@ -372,6 +373,9 @@ make check
%{_libdir}/%{name}/dict/libdriver_pgsql.so
%changelog
* Tue May 18 2010 Michal Hlavinka <mhlavink@redhat.com> - 1:2.0-0.12.beta5.20100515
- dovenull is unauthorized user, needs own dovenull group
* Tue May 18 2010 Michal Hlavinka <mhlavink@redhat.com> - 1:2.0-0.11.beta5.20100515
- fix typo in dovenull username