generate a new self-signed SSL certificate for Virtualmin/Webmin

Virtualmin/Webmin ships with a self-signed SSL certificate. In case you want to generate a new one, here’s how: openssl rsa -in webmin.key -out webmin.pem openssl req -new -key webmin.key -out webmin.csr openssl x509 -req -days 1095 -in webmin.csr -signkey webmin.key -out webmin.crt cat webmin.crt >> webmin.pem cd /etc/webmin/ cp miniserv.pem miniserv.pem.bak cp /root/ssl/webmin.pem miniserv.pem service webmin restart

April 9, 2014

Virtualmin: Enable Sieve for Dovecot and Procmail

aptitude install dovecot-sieve dovecot-managesieved /etc/dovecot/conf.d/15-lda.conf # Address to use when sending rejection mails. # Default is postmaster@<your domain>. postmaster_address = mail@domain.tld protocol lda { # Space separated list of plugins to load (default is global mail_plugins). mail_plugins = $mail_plugins sieve } /etc/dovecot/conf.d/20-managesieve.conf service managesieve-login { inet_listener sieve { port = 4190 } } Edit /etc/procmailrc and fill in the DELIVER parts. I’ts important to make continued use of procmail because spam filtering is done there....

July 15, 2013