exim & lmtp mechs
Ken Murchison
ken at oceana.com
Tue Mar 2 15:45:18 EST 2004
TN wrote:
> I've been trying to crack this problem for over a month, between the
> exim & cyrus lists. Sometimes I think its a exim issue, sometimes cyrus.
> I'm back onto cyrus :)
>
>
> I've posted a lengthy explanation of what I am doing here:
>
> http://groups.yahoo.com/group/exim-users/message/62558
>
> but the short version is:
>
> I have cyrus & exim on the same local server. I am using ldap
> authentication (saslauths -a ldap), with virtual domains and the ldap
> authentication is working fine - I can send & receive emails into my
> ldap users. I am delivering mail from exim to cyus using smtp/lmtp -
> preauthed using "lmtpd -a" in cyrus.conf
> My little problem is that I am trying to use exim's authenticated_sender
> to bypass the requirement of using anyone post acl's in cyrus so I can
> post to suffixes. I can't get it to work - because exim doesn't attach
> the AUTH= param onto the dialog it does with lmtp (verified by debug in
> exim). It appears that this is because I don't have any auth mechanisms
> on offer in the lmtp delivery (I am using lmtpd pre-auth "lmtpd -a"), so
> my questions are:
> how do I get lmtp to offer mechs to exim ?
> Why doesn't pre-auth work ?
> I've always assumed that lmtp would be going via saslauthd, which in
> turn was authing via ldap - but this migth be wrong ?
>
> I've noticed with pre-auth that ltmp says AUTH EXTERNAL as a mech, but
> exim just ignores this it seems, and doesn't attach an AUTH= parameter
> at all onto the MAIL cmd.
I'm not an Exim expert (in fact, I've never used it), but from reading
Philip's post, it appears that Exim will not pass AUTH= unless it has
authenticated to lmtpd (although RFC 2554 states that this is not
required). By pre-authing lmtpd (lmtpd -a), you're preventing Exim from
authenticating, unless you can find a way to tell Exim that it can use
the EXTERNAL mechanism. My guess is that if you remove the -a option
(and connect via TCP) that Exim will do what you want.
--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26 Orchard Park, NY 14127
--PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp
---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
More information about the Info-cyrus
mailing list