Summary: IMAP and POP3 server written with security primarily in mind
Summary(pl.UTF-8): Serwer IMAP i POP3 pisany głównie z myślą o bezpieczeństwie
Name: dovecot
-Version: 2.0.6
-Release: 5
+Version: 2.0.8
+Release: 1
Epoch: 1
License: MIT (libraries), LGPL v2.1 (the rest)
Group: Networking/Daemons
Source0: http://dovecot.org/releases/2.0/%{name}-%{version}.tar.gz
-# Source0-md5: 6226485f95def28ecb4ff8fc52915762
+# Source0-md5: 01b1c193469dfd14bf026a1516bea30c
Source1: %{name}.pamd
Source2: %{name}.init
Source3: %{name}.sysconfig
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
+%triggerin -- pam
+# restart devocot if pam is upgraded
+# (dovecot is linked with old libpam but tries to open modules linked with new libpam)
+if [ "$2" != 1 ]; then
+ %service -q dovecot restart
+fi
+
%triggerpostun -- dovecot < 1:2.0.0
# upgrading dovecot < 1.1
echo "Configuration change default_mail_env -> mail_location"