Viktor,

In this piece of code, why write to a .tmp file then immediately rename it 
without any prior processing ? 


> # umask 077
> # openssl pkcs12 -nodes -in /some/where/keypair.pfx \
> -out /etc/postfix/certkey.pem.tmp
> # mv /etc/postfix/certkey.pem.tmp /etc/postfix/certkey.pem
> # postconf -e "smtpd_tls_cert_file = /etc/postfix/certkey.pem"

  -- Yassine

Reply via email to