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 revision | ||
doc:appunti:linux:sa:postfix_courier_authdaemon_debian_12 [2024/02/23 18:11] – [Moving the Courier Authdaemon socket into the Postfix chroot] niccolo | doc:appunti:linux:sa:postfix_courier_authdaemon_debian_12 [2024/02/26 10:13] (current) – [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 |
< | < | ||
Line 70: | Line 72: | ||
Description=Mount Courier Authdaemon into Postfix chroot | Description=Mount Courier Authdaemon into Postfix chroot | ||
Wants=courier-authdaemon.service | Wants=courier-authdaemon.service | ||
- | # The dependency Requires= and After= may be too strong | ||
- | # and can generate and ordering cycle problem. | ||
- | # | ||
- | # | ||
[Mount] | [Mount] | ||
- | What=/var/ | + | What=/ |
Where=/ | Where=/ | ||
Type=bind | Type=bind | ||
Line 84: | Line 82: | ||
WantedBy=postfix.service | WantedBy=postfix.service | ||
</ | </ | ||
+ | |||
+ | **NOTICE**: The weak dependency '' | ||
This is a **[[https:// | This is a **[[https:// |
doc/appunti/linux/sa/postfix_courier_authdaemon_debian_12.txt · Last modified: 2024/02/26 10:13 by niccolo