[Dovecot] dovecot lda with sendmail

Rene Luria operator at infomaniak.ch
Wed Jan 18 16:54:27 EET 2006


Michael Surette wrote:
> I'm trying to set up dovecot's deliver program as the lda for sendmail.
>  I seem to need a config file for it '/etc/dovecot-deliver.conf'.  Is
> there any documentation for this configuration file and it's contents?
> 
> sendmail will call it under the recipient's uid, and all it has to do is
> drop the message into the proper maildir as defined in /etc/dovecot.conf
> and update the indexes.

config sendmail to use it like:
FEATURE(`local_procmail', `pathto/libexec/dovecot/deliver', `deliver -c
pathto/dovecot/etc/dovecot-deliver.conf -d $u')
MODIFY_MAILER_FLAGS(`LOCAL', `-f')

Then, in dovecot-deliver.conf, declare the socket to use
auth_socket_path = pathto/dovecot/var/run/dovecot/auth-master

in dovecot.conf, in auth default section, add this:
    socket listen {
        master {
            path = /opt/dovecot/var/run/dovecot/auth-master
            mode = 0666
        }
    }

And you're done :)

(you can find this info in http://wiki.dovecot.org/LDA )

> 
> Mike
> 


-- 
Rene Luria <operator at infomaniak.ch>
CTO - Infomaniak Network SA


More information about the dovecot mailing list