On Wed, Sep 10, 2003 at 11:21:52PM +0200, Luca Olivetti wrote:
Luca Berra wrote:

step 2 is incorrect anyway

I'd like to know where it is incorrect since I am receiving mail using this method.
well, not much incorrect, anyway cyrus creates the socket as root, so no
need to create the directory containing the socket as cyrus owned.
if the socket went into /var/spool/postfix/private,
method 2 could become:
----------------
2) secure configuration

if you want only postfix to be able to talk to the lmtp socket you can use
this configuration:

 2.a) edit /etc/cyrus.conf and modify the lmtpunix line to use
      a socket in the previously created directory

lmtpunix cmd="lmtpd" listen="/var/spool/postfix/cyrus_socket" prefork 1

2.b) issue the command:

postconf -e "mailbox_transport = lmtp:unix:private/cyrus_socket"

2.c) do not ever create a postfix service called cyrus_socket (unlikely you ever will)

---------------
this could be one of the paranoid settings, more restricted that having a
nonchrooted privileged lmtp cyrus service as i propose in the postfix readme

what i would like is having one method chosen as the default, and having
it autoconfigured by installation of the cyrus rpm.

regards,
L.

--
Luca Berra -- [EMAIL PROTECTED]
       Communication Media & Services S.r.l.
/"\
\ /     ASCII RIBBON CAMPAIGN
 X        AGAINST HTML MAIL
/ \



Reply via email to