doc:appunti:linux:sa:postfix_courier_authdaemon_debian_12
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
doc:appunti:linux:sa:postfix_courier_authdaemon_debian_12 [2023/10/24 10:55] – [ClamAV] niccolo | doc:appunti:linux:sa:postfix_courier_authdaemon_debian_12 [2024/02/26 10:08] – [Moving the Courier Authdaemon socket into the Postfix chroot] niccolo | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Postfix with Courier Authdaemon in Debian 12 ====== | + | ====== Postfix with Courier Authdaemon in Debian 12 Bookworm |
- | + | ||
- | ===== Configuring the Courier Authdaemon | + | |
We want to enable authentication on **virtual users** (i.e. using a login name which is not an Unix username), e.g. we want to use an email address as a login name. | We want to enable authentication on **virtual users** (i.e. using a login name which is not an Unix username), e.g. we want to use an email address as a login name. | ||
+ | |||
+ | We want the same authentication schema to work on both authenticated SMTP sumbission (sending mail via Postfix) and on POP3/IMAP (incoming mail via Courier daemons). | ||
+ | |||
+ | ===== Configuring the Courier Authdaemon ===== | ||
Into the configuration file **/ | Into the configuration file **/ | ||
Line 64: | Line 66: | ||
</ | </ | ||
- | To enable the bind mount at bootstrap we create | + | To enable the bind mount at bootstrap we define |
< | < | ||
[Unit] | [Unit] | ||
Description=Mount Courier Authdaemon into Postfix chroot | Description=Mount Courier Authdaemon into Postfix chroot | ||
- | Requires=courier-authdaemon.service | + | Wants=courier-authdaemon.service |
- | After=courier-authdaemon.service | + | |
[Mount] | [Mount] | ||
- | What=/var/ | + | What=/ |
Where=/ | Where=/ | ||
Type=bind | Type=bind | ||
Line 81: | Line 82: | ||
WantedBy=postfix.service | WantedBy=postfix.service | ||
</ | </ | ||
+ | |||
+ | **NOTICE**: The weak dependency '' | ||
This is a **[[https:// | This is a **[[https:// | ||
Line 95: | Line 98: | ||
systemctl restart postfix | systemctl restart postfix | ||
</ | </ | ||
+ | |||
+ | * **[[https:// | ||
+ | * **[[https:// | ||
+ | * **[[https:// | ||
====== Spamassassin ====== | ====== Spamassassin ====== |
doc/appunti/linux/sa/postfix_courier_authdaemon_debian_12.txt · Last modified: 2024/02/26 10:13 by niccolo