Bitnami Roundcube

From Coolscript
Revision as of 22:24, 20 January 2023 by Admin (talk | contribs)
Jump to navigation Jump to search
  • Configure Mail Target: /opt/bitnami/roundcube/config/config.inc.php
$config['imap_host'] = 'ssl://mail.domain.com:993';
$config['smtp_host'] = 'tls://mail.domain.com:587';
#Consider to do this!
$config['smtp_auth_type'] = 'PLAIN';
  • Letsencryp install (2023)
apt install snapd
snap install core
snap refresh core
snap install --classic certbot
ln -s /snap/bin/certbot /usr/bin/certbot
  • Automatic Cert Renewal
systemctl stop bitnami
certonly --domain mail.coolscript.org --renew-by-default  --standalone
cp /etc/letsencrypt/live/mail.domain.org/cert.pem  /opt/bitnami/apache2/conf/bitnami/certs/server.crt
cp /etc/letsencrypt/live/mail.domain.org/privkey.pem  /opt/bitnami/apache2/conf/bitnami/certs/server.key
systemctl start bitnami
  • Crontab

shutdown -P +1