This documentation is for Dovecot v1.x, see wiki2 for v2.x documentation.

Dovecot LDA with Qmail

System users

The delivery command you need is

|/var/qmail/bin/preline -f /usr/local/libexec/dovecot/deliver

(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 deliver 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). 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/deliver -d $EXT@$USER

None: LDA/Qmail (last edited 2011-03-24 15:27:13 by 174-17-83-247)