Apologies for following up on my own post - something I forgot which is
probably where you're problem lies. You will notice the
"authenticate_hosts" line in the transport configuration. As you will
no doubt be aware, this forces exim to authenticate with the lmtp
server, so you also need to do the following:
Add an authenticator to the exim configuration as follows:
auth_cram:
driver = cram_md5
public_name = CRAM-MD5
client_name = mail
client_secret = <password>
...replacing <password> as necessary, and also add to your cyrus
configuration an user for delivering mail. In the above case, I've
called the account 'mail', and we use CRAM-MD5 to authenticate.
Once again, apologies for not mentioning this with my original post,
it's been a while since I set it all up.
Ben.
----------------------------------------------------------------------
Ben Strawson ben.strawson@???
Good Technology +44 20 7565 8725
332B Ladbroke Grove, London, W10 5AH, UK www.goodtechnology.com
> -----Original Message-----
> From: Ben Strawson [mailto:ben.strawson@goodtechnology.com]
> Sent: 25 September 2001 10:02
> To: 'exim-users@???'
> Cc: 'randall@???'
> Subject: [Exim] Re: exim - cyrus deliver
>
>
> I have an LMTP setup that uses TCP/IP and works fine. We are
> using exim-3.20 and cyrus-2.0.11. Details as follows:
>
> In configure:
>
> # TRANSPORTS
>
> localuser_transport:
> driver = smtp
> protocol = lmtp
> batch_max = 20
> return_path_add
> delivery_date_add
> hosts = 127.0.0.1
> allow_localhost
> authenticate_hosts = localhost
>
> # DIRECTORS
>
> userdelivery_director:
> driver = aliasfile
> file = EXIMDIR/etc/mailboxes
> search_type = lsearch
> transport = localuser_transport
>
> It's not the most efficient way for us, as we are actually
> delivering to the local machine using LMTP over TCP/IP - we
> should really change to using a socket ourselves. However,
> we're not a high volume site though, and it does seem to work nicely.
>
> Hope that helps,
>
> Regards, Ben.
>
> ----------------------------------------------------------------------
> Ben Strawson ben.strawson@???
> Good Technology +44 20 7565 8725
> 332B Ladbroke Grove, London, W10 5AH, UK www.goodtechnology.com
>
>
>
> "randall ehren" <randall@???> wrote in message
> news:<Pine.BSF.4.33.0109240837080.11037-100000@???>
...
> > > ------ |/usr/cyrus/bin/deliver -m bob -a cyrus ------ couldn't
> > > connect to lmtpd: Transport endpoint is not connected 421 4.3.0
> > > deliver: couldn't connect to lmtpd can you please help!
> >
> > Start the cyrus imap process - see if lmtpd is up and running.
>
> i think it's been previously noted but exim appears only to work with
> the socket lmtpd:
>
> sample /etc/cyrus.conf:
> ...
> # at least one LMTP is required for delivery
> #lmtp cmd="lmtpd" listen="lmtp" prefork=5
> # use lmtpunix for exim 3.3x
> lmtpunix cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=5 ...
>
> -randall ehren
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> Exim details at http://www.exim.org/ ##
>