1
0
mirror of https://github.com/hukl/freebsd-toolbox.git synced 2025-11-20 03:08:43 +01:00

Update mailserver.md

This commit is contained in:
John-Paul Bader
2024-04-30 14:09:15 +02:00
committed by GitHub
parent 86084770fe
commit 2ec6cd33a8

View File

@ -1,3 +1,35 @@
# Upgrading Postfix & Dovecot
First lock the ports so they don't get upgraded by pkg
```
sudo pkg lock postfix dovecot dovecot-pigeonhole
```
Upgrade all other packages through pkg
```
sudo pkg upgrade
```
Unlock postfix, dovecot and dovecot-pigeonhole
```
sudo pkg unlock postfix dovecot dovecot-pigeonhole
```
Upgrade postfix, dovecot and dovecot-pigeonhole via ports
```
cd /usr/ports/mail/postfix
sudo make deinstall clean reinstall
cd /usr/ports/mail/dovecot
sudo make deinstall clean reinstall
cd /usr/ports/mail/dovecot-pigeonhole
sudo make deinstall clean reinstall
```
After that, lock ports again to prevent accidental binary upgrades
```
sudo pkg lock postfix dovecot dovecot-pigeonhole
```
# Dovecot # Dovecot
### Create Password ### Create Password