I picked this up from documentation somewhere:- /etc/cron.daily/postfix_pfs_edh_regenerate #!/bin/bash cd /etc/postfix umask 022 for legth in 512 1024 2048 do openssl dhparam -out dh_$legth.tmp $legth && mv dh_$legth.tmp dh_$legth.pem chmod 644 dh_$legth.pem done
-- Regards =dn
