setup_basic_mailserver_with_postfix_dovecot_sieve

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
setup_basic_mailserver_with_postfix_dovecot_sieve [02.01.2020 11:57] – [proxmox mail gateway] Pascal Sutersetup_basic_mailserver_with_postfix_dovecot_sieve [28.05.2020 10:31] Pascal Suter
Line 65: Line 65:
 to make sure letsencrypt will restart all our servers once the ssh keys change, we need to add this:  to make sure letsencrypt will restart all our servers once the ssh keys change, we need to add this: 
 <code> <code>
-echo -e "\npost-hook = service postfix restart service dovecot restart ; service apache2 restart" >> /etc/letsencrypt/cli.ini+cat > /etc/letsencrypt/renewal-hooks/post/restart_services.sh <<EOF 
 +#!/bin/bash 
 +service postfix restart 
 +service dovecot reload 
 +service apache2 reload 
 +EOF 
 +chmod +x /etc/letsencrypt/renewal-hooks/post/restart_services.sh 
 </code> </code>
  
  • setup_basic_mailserver_with_postfix_dovecot_sieve.txt
  • Last modified: 20.03.2021 07:47
  • by Pascal Suter