summaryrefslogtreecommitdiffstats
path: root/doc/wiki/LDA.Qmail.txt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:51:24 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:51:24 +0000
commitf7548d6d28c313cf80e6f3ef89aed16a19815df1 (patch)
treea3f6f2a3f247293bee59ecd28e8cd8ceb6ca064a /doc/wiki/LDA.Qmail.txt
parentInitial commit. (diff)
downloaddovecot-f7548d6d28c313cf80e6f3ef89aed16a19815df1.tar.xz
dovecot-f7548d6d28c313cf80e6f3ef89aed16a19815df1.zip
Adding upstream version 1:2.3.19.1+dfsg1.upstream/1%2.3.19.1+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/wiki/LDA.Qmail.txt')
-rw-r--r--doc/wiki/LDA.Qmail.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/wiki/LDA.Qmail.txt b/doc/wiki/LDA.Qmail.txt
new file mode 100644
index 0000000..d13756d
--- /dev/null
+++ b/doc/wiki/LDA.Qmail.txt
@@ -0,0 +1,31 @@
+Dovecot LDA with Qmail
+======================
+
+System users
+------------
+
+The delivery command you need is
+
+---%<-------------------------------------------------------------------------
+|/var/qmail/bin/preline -f /usr/local/libexec/dovecot/dovecot-lda
+---%<-------------------------------------------------------------------------
+
+(You may need to adjust the paths to match your qmail and dovecot
+installations.) The 'preline' command will add the 'Return-Path:' and
+'Delivered-To:' lines, because 'dovecot-lda' doesn't recognize qmail's
+environment variables.
+
+For site-wide usage, put that in '/var/qmail/control/defaultdelivery' (assuming
+you installed qmail according to LWQ [http://www.lifewithqmail.org/lwq.html]).
+Or, save it as '.qmail' in selected users' home directories.
+
+Virtual users
+-------------
+
+Add the '-d' parameter to specify the destination username:
+
+---%<-------------------------------------------------------------------------
+|/var/qmail/bin/preline -f /usr/local/libexec/dovecot/dovecot-lda -d $EXT@$USER
+---%<-------------------------------------------------------------------------
+
+(This file was created from the wiki on 2019-06-19 12:42)