[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LMTP via socket (was: "virtual" local users)
On Tue, Oct 14, 2003 at 05:02:05PM +0400, Alexander Voropay wrote:
> Matti Aarnio [mailto:mea@nic.funet.fi] wrote:
....
> >P.S. As far as I understand, Zmailer and Cyrus-IMAPd both
> >can support local mail delivery via LMTP protocol well.
> >So, I'll try to map _all_ 'localmail' to lmtp-smtp/* .
>
> I have a serious problem to integrate Zmailer and Cyrus-IMAPd
> to perform delivery via LMTP.
>
> The main trouble : LMTP delivery in Cyrus-IMAPd via Inet-socket
> MUST be authentificated as 'cyrus' (or other IMAP administrator).
> However, you sholdn't be authentificated while LMTP delivery via
> local Unix-socket (the Cyrus `deliver` programm is just a front-end
> for this local Unix-socket)
...
> Cyrus-IMAP LMTP daemon can support both Inet- and Unix- sockets.
So can ZMailer smtp too. See the '-F' option in smtp(8zm) man-page.
-F UNIX:/var/lib/imap/socket/lmtp
> === cyrus.conf ===
> # UNIX sockets start with a slash and are put into /var/lib/imap/sockets
> SERVICES {
> # at least one LMTP is required for delivery
> lmtp cmd="lmtpd" listen="lmtp" prefork=0
> lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1
> ===============
> --
> -=AV=-
--
/Matti Aarnio <mea@nic.funet.fi>
-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi