On Sun, Dec 31, 2023 at 06:47:25PM +0100, toganm--- via Postfix-users wrote:

> When the documentation lacks what I am looking for then is there another way?
> 
>     WVvP> To integrate Dovecot, see Dovecot documentation for examples.
> 
> That does not help because dovecot is not running on the same machine.

The Postfix LMTP delivery agent supports LMTP delivery over TCP
(possibly also with STARTTLS or TLS wrapper mode).  This is documented
in the lmtp(8) manpage.

You should not generally set the LMTP recipient limit to 1.  LMTP
supports multiple mailbox recipients efficiently, and some
implementations even deduplicate the storage of large attachments sent
to multiple recipients.

> The final step is to tell Postfix to use this socket for final delivery, in 
> this case in a virtual user scenario:
> 
> virtual_transport = lmtp:unix:private/dovecot-lmtp

I would expect you'd find more examples at the Dovecot Wiki.

> The above is assuming dovecot lmtp server is local, and in my case it is not.

It does not matter.  The LMTP protocol is the same either way.  Just
specify the appropriate endpoint, along the lines of:

    inet:[192.0.2.1]:24

or 

    inet:[some.host.name]:24

Provided LMTP is not chrooted, or if DNS is correctly configured in the
chroot jail, the hostname form may be easier to manage.

-- 
    Viktor.
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to