Re: [exim] exim delivering via lmtp (tcp/ip) , how to ??

Top Page
Delete this message
Reply to this message
Author: Brian Candler
Date:  
To: Patrice
CC: exim-users
Subject: Re: [exim] exim delivering via lmtp (tcp/ip) , how to ??
On Wed, Mar 30, 2005 at 03:24:18PM +0200, Patrice wrote:
> I try to make lmtp authentication over tcp/ip to a cyrus-imap server
> for my test I configured lmtpd with '-a' option to not use authentication.

..
> I haven't found the way to make it work, can someone help me to do this ?


On your lmtp transport, put

hosts_try_auth = *

Then you need to add a suitable authenticator. Something like this should
do:

begin authenticators

  fixed_plain:
    driver = plaintext
    public_name = PLAIN
    client_send = ${lookup{$host}lsearch{/usr/local/etc/exim/clientauth}{$value}fail}


Then in /usr/local/etc/exim/clientauth you put

name.of.host    ^username^password


Or if there's only one lmtp host, you can get rid of the lookup and hardcode:

    hide client_send = ^username^password


See the details in spec.txt about authenticators for more information.

HTH,

Brian.