[Dovecot] How to configure sendmail using dovecot lmtp

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Mon Aug 5 12:03:16 EEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 5 Aug 2013, alfdc wrote:

> I can't seems to find any posting on how to configure sendmail to use
> dovecot as lmtp. All I see is using it as LDA.  I am particularly interested
> on how to tell sendmail to ask dovecot to deliver the message to the user.
>
> In the wiki for lda it says to add the following in the sendmail  config:
>
> FEATURE(`local_procmail',
> `/usr/local/libexec/dovecot/deliver',`/usr/local/libexec/dovecot/deliver -d
> $u')
> MODIFY_MAILER_FLAGS(`LOCAL', `-f')
> MAILER(procmail)
>
> Is this the same for lmtp? If so how does it know when to use lda or lmtp?
> Beside, is procmail playing any role in any of these? Can the I just replace
> the whole thing as:
>
> FEATURE(`local_lmtp',`/usr/local/libexec/dovecot/deliver',`/usr/local/libexec/dovecot/deliver
> -d $u)
> MAILER(`local')

you are using system users, then you can use:

FEATURE(`local_lmtp',`[IPC]',`FILE /var/run/dovecot2.2/lmtp')dnl

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUf9qVV3r2wJMiz2NAQIe5AgAgpyBIHxno6TZYcqxt4dVpvvKG0gIfedV
ic98tm25zWBCsPA6flKDv5Wo7dCYEROsldA2iiTyBcUcKSwADtzbQwvFWCL52hiV
FQ/K1P0/ibyCd7maMCj1qGVjBtDNp90YXl3CxMRf4hJJ3LnbdQv0EbxrRQxCOmJa
XJu0o+QiAMG50ewYIAVXorp4sUUWIZyKLsgmvhIbGApwWlM8IgBc7EDpWwv4uTry
xtn4f6IlEeV73eCuFET0mhjQx4AGf2sq2WRXAZhcSxqUi9qbZ6AgdQtHZL3h5BRR
ltNi0wCo8caaJ2l5L6/c8gJRcIUjG7hBjYsL2hnfIPseykY0JxCduA==
=DvTP
-----END PGP SIGNATURE-----


More information about the dovecot mailing list