User Tools

Site Tools


unix:linux:debian:asccibeowulf

Differences

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

Link to this comparison view

Next revision
Previous revision
unix:linux:debian:asccibeowulf [2021/05/31 14:06] – created rodolicounix:linux:debian:asccibeowulf [2023/05/17 00:00] (current) rodolico
Line 5: Line 5:
 # change sources.list # change sources.list
 mv /etc/apt/sources.list /etc/apt/sources.list.old mv /etc/apt/sources.list /etc/apt/sources.list.old
-echo deb http://deb.devuan.org/merged beowulf          main >> /etc/apt/sources.list +echo 'deb http://deb.devuan.org/merged beowulf main contrib non-free' >> /etc/apt/sources.list 
-echo deb http://deb.devuan.org/merged beowulf-updates  main >> /etc/apt/sources.list +echo 'deb http://deb.devuan.org/merged beowulf-updates main contrib non-free' >> /etc/apt/sources.list 
-echo deb http://deb.devuan.org/merged beowulf-security main >> /etc/apt/sources.list+echo 'deb http://deb.devuan.org/merged beowulf-security main contrib non-free' >> /etc/apt/sources.list 
 +echo '#deb http://deb.devuan.org/merged beowulf-backports main contrib non-free' >> /etc/apt/sources.list
  
 # NOTE: you should check sources.list.d for any extra listings before you proceed. # NOTE: you should check sources.list.d for any extra listings before you proceed.
Line 16: Line 17:
 apt -y autoremove apt -y autoremove
 reboot reboot
 +</code>
  
 +===== amavisd =====
 +
 +ISPConfig3 fixes amavis do it does not do "normal" stuff; it is enhanced. I'm assuming this is what causes this problem. Basically, when you're doing your update/upgrade, amavisd-new will fail to upgrade since it can not start/stop it. I found the easiest way to fix it is:
 +<code bash>
 +ps ax | grep amavis
 +# for each instance running, beginning with master
 +kill PID_FOUND_ABOVE
 +# that leaves the pid file with insecure permissions, so simply remove it
 +rm /var/run/amavis/amavisd.pid
 +</code>
 +
 +===== Dovecot =====
 +
 +There is a major configuration change on dovecot and, if you're using [[https://www.ispconfig.org|ISPConfig3]], it will break. To fix it, you need comment the ssl_protocols line and add ssl_min_protocol and ssl_dh lines in /etc/dovecot/dovecot.conf
 +<code>
 +#ssl_protocols =  !SSLv3
 +ssl_min_protocol = TLSv1
 +ssl_dh=</etc/dovecot/dh.pem
 +</code>
 +Then, run the following. This probably only works on Debian derivative machines
 +<code bash>
 +dd if=/var/lib/dovecot/ssl-parameters.dat bs=1 skip=88 | openssl dhparam -inform der > /etc/dovecot/dh.pem
 +</code>
 +
 +**Note**: with ISPConfig, postfix relies on dovecot for authentication, so after you fix dovecot, be sure and restart postfix.
 +<code bash>
 +service dovecot restart
 +service postfix restart
 +tail -f /var/log/mail.log
 +</code>
 +
 +===== certbot =====
 +<code bash>
 # remove certbot-auto and install via apt # remove certbot-auto and install via apt
 mkdir ~/trash mkdir ~/trash
unix/linux/debian/asccibeowulf.1622487986.txt.gz · Last modified: 2021/05/31 14:06 by rodolico