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

Góra strony
Delete this message
Reply to this message
Autor: Brian Candler
Data:  
Dla: Patrice
CC: exim-users
Temat: 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.