import postfix-3.5.9-19.el9
This commit is contained in:
parent
0e7976d56b
commit
36b1fce143
@ -49,7 +49,7 @@
|
|||||||
Name: postfix
|
Name: postfix
|
||||||
Summary: Postfix Mail Transport Agent
|
Summary: Postfix Mail Transport Agent
|
||||||
Version: 3.5.9
|
Version: 3.5.9
|
||||||
Release: 18%{?dist}
|
Release: 19%{?dist}
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
URL: http://www.postfix.org
|
URL: http://www.postfix.org
|
||||||
License: (IBM and GPLv2+) or (EPL-2.0 and GPLv2+)
|
License: (IBM and GPLv2+) or (EPL-2.0 and GPLv2+)
|
||||||
@ -518,7 +518,7 @@ fi
|
|||||||
# Create self-signed SSL certificate
|
# Create self-signed SSL certificate
|
||||||
if [ ! -f %{sslkey} ]; then
|
if [ ! -f %{sslkey} ]; then
|
||||||
umask 077
|
umask 077
|
||||||
%{_bindir}/openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:4096 -out %{sslkey}
|
%{_bindir}/openssl genpkey -algorithm RSA -pkeyopt rsa_keygen_bits:4096 -out %{sslkey} 2>/dev/null || echo "openssl genpkey failed"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f %{sslcert} ]; then
|
if [ ! -f %{sslcert} ]; then
|
||||||
@ -530,7 +530,7 @@ if [ ! -f %{sslcert} ]; then
|
|||||||
req_cmd="%{_bindir}/openssl req -new -key %{sslkey} -x509 -sha256 -days 365 -set_serial $RANDOM -out %{sslcert} \
|
req_cmd="%{_bindir}/openssl req -new -key %{sslkey} -x509 -sha256 -days 365 -set_serial $RANDOM -out %{sslcert} \
|
||||||
-subj /C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=${FQDN}/emailAddress=root@${FQDN}"
|
-subj /C=--/ST=SomeState/L=SomeCity/O=SomeOrganization/OU=SomeOrganizationalUnit/CN=${FQDN}/emailAddress=root@${FQDN}"
|
||||||
# openssl-3.0 and fallback for backward compatibility with openssl < 3.0
|
# openssl-3.0 and fallback for backward compatibility with openssl < 3.0
|
||||||
$req_cmd -noenc -copy_extensions none 2>/dev/null || $req_cmd
|
$req_cmd -noenc -copy_extensions none 2>/dev/null || $req_cmd 2>/dev/null || echo "openssl req failed"
|
||||||
chmod 644 %{sslcert}
|
chmod 644 %{sslcert}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -803,6 +803,10 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 19 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 2:3.5.9-19
|
||||||
|
- Suppressed openssl output during SSL certificates generation
|
||||||
|
Resolves: rhbz#2041589
|
||||||
|
|
||||||
* Tue Feb 22 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 2:3.5.9-18
|
* Tue Feb 22 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 2:3.5.9-18
|
||||||
- Added SELinux workound for systemd service to work after 'postfix start'
|
- Added SELinux workound for systemd service to work after 'postfix start'
|
||||||
Resolves: rhbz#2055915
|
Resolves: rhbz#2055915
|
||||||
|
Loading…
Reference in New Issue
Block a user