Re: [exim] log_selector and SMTP authentication

Top Page
Delete this message
Reply to this message
Author: Luciano Rinetti
Date:  
To: Exim-users
Subject: Re: [exim] log_selector and SMTP authentication
Thank You Jeremy,
looking at the log file "mainlog" in my server,
i see some messages are reporting A=plain and others A=login.
I uncomment the "server_set_id = $1" in the following section:

# LOGIN authenticator
#login:
#  driver = plaintext
#  public_name = LOGIN
#  server_prompts = Username:: : Password::
#  server_condition = ${extract {address} {${readsocket{AUTHDAEMON_SOCKET} \
#    {AUTH ${strlen:exim\nlogin\n$1\n$2\n}\nexim\nlogin\n$1\n$2\n} }} 
{yes} fail}
server_set_id = $1


But, again, i need som ehelp on this: what i'd like to obtain is the log
of the credentials (not the password)
of who is using the SMPT server.

Regards,


On 2016-03-05 15:36, Jeremy Harris wrote:
> On 05/03/16 15:12, Luciano Rinetti wrote:
>
> That can be part of what's needed, depending on what use your
> configuration makes of AUTH= arguments on MAIL RROM: smtp
> commands.
>
> What you're mainly asking about though is the AUTH smtp command,
> which is separate from the above. Info from that is logged
> in the A= element of the message acceptance line by default -
> however, the useful part is only the thing selected by the
> server_set_id option of the authenticator. Usually this
> will be an account name, but it depends on the config.
>
> That covers messages accepted once auth has succeded.
> For auth attempts that fail a different line is
> logged, again carrying the server_set_id value.
>
> The password is not logged.
> --
> Cheers,
> Jeremy
>
>
>


--
Cordiali Saluti / Best Regards

Luciano Rinetti
l.rinetti@???
Mob. 335.7878.602

Movimatica S.r.l.
www.movimatica.com
______________________________________________
sede Operativa:
Centro Pier della Francesca
Fabbricato 4, Scala P, 2° Piano
C.so Svizzera, 185 - 10149 Torino - Italy
Tel. +39 011 7767694 - Fax +39 011 746179
______________________________________________