RE: [exim] cygiwin / authentication in exim

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Herb Martin
日付:  
To: exim-users
題目: RE: [exim] cygiwin / authentication in exim
> Could anyone help me get it right? I need to run exim on
> Windows under cygwin. Also, I would need your help with
> /etc/authpwd file.
> How do I create it and enter user/password in it? It would be
> enough if you point me to a file explaining how to get this done.


IIRC, makepasswd creates a pseudo-/etc/passwd file on
CygWin by using the Windows local accounts (on NT-class
machines) -- and you can add additional users following
the same format.

> Last thing that I need to know is how to setup logs in the following
> format: yyyy-mm-dd so that I can inspect incoming and
> outgoing connections on daily basis?
>


This line in the general Exim configuration sets up
"daily" logs of the form erejectDATE.log, emainDATE.log,
but epanic.log remains a "single" log since it is not
supposed to have very many entries (on a working system):

log_file_path      = /var/log/exim/e%s%D.log


Hopefully someone else will be kind enough to help you with
the authentication issues since I am not an expert on those.

--
Herb Martin
http://LearnQuick.Com
Accelerated MCSE in a Week Seminars

> -----Original Message-----
> From: exim-users-bounces@???
> [mailto:exim-users-bounces@exim.org] On Behalf Of Zbigniew Szalbot
> Sent: Tuesday, August 23, 2005 12:56 PM
> To: exim-users@???
> Subject: [exim] cygiwin / authentication in exim
>
> Hello,
>
> Best greetings from Poland.
>
> I am new to exim and count on your helpful tips.
>
> I am trying to setup authenticating relaying in exim. I guess
> it is probably pretty simple but given my lack of knowledge
> so far I hope you can help.
>
> I tested this:
> > # <more authenticators>
> >
> > plain:
> >     driver           = plaintext
> >     public_name      = PLAIN
> >     server_prompts   = :
> >     server_condition = ${lookup{$2}lsearch{/etc/authpwd}\
> >       {${if eq{$value}{$3}{yes}{no}}}{no}}
> >     server_set_id    = $2

> >
> > # <more authenticators>
> and it worked.
>
> However, when I tried this:
>
> fixed_login:
> driver = plaintext
> public_name = LOGIN
> client_send = : MYLOGIN : MYPASSWORD
> server_prompts = <; User Name: ; Password:
> server_set_id = dom
>
> I could not relay. It gave me information about wrong login/password, 
> etc.    
> 535 Incorrect authentication data
> 550 relay not permitted

>
> but I never managed to authenticate and realy.
>