fixes #1498
This commit is contained in:
parent
1911c12d11
commit
e48bed562e
|
@ -362,10 +362,13 @@ else
|
|||
postfix_conf=/etc/alternc/postfix/postfix.cf
|
||||
fi
|
||||
grep -v '^\ *#' $postfix_conf |while read line ; do
|
||||
if echo "$line" | grep -qi '^smtpd_tls_cert_file' ;then
|
||||
if echo "$line" | grep -qi '^smtpd_tls_dcert_file' ;then
|
||||
line_strip=`echo "$line"|tr -d '[:blank:]'`
|
||||
pattern="*="
|
||||
cert_file=${line_strip#$pattern}
|
||||
echo $cert_file
|
||||
echo $line
|
||||
echo $line_strip
|
||||
if [ -e $cert_file ];then
|
||||
postconf -e "$line"
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue