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:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user