RE: [exim] Show auth in logs?

Góra strony
Delete this message
Reply to this message
Autor: j2
Data:  
Dla: 'Sam Michaels'
CC: exim-users
Temat: RE: [exim] Show auth in logs?
>Populate server_set_id in your authenticator. Example:
>
>2006-01-20 11:50:08 1EzzSh-0001BA-S4 <= myemail@???
>H=myhomeaddress.com ([127.0.0.1]) [1.2.3.4] P=esmtpsa
>X=TLSv1:AES256-SHA:256 A=plain:sam S=5706
>id=43D11422.4000406@???
>
>Shows my authenticated name as "sam" from plaintext.



I have as below, but I do not get that in my logs?

begin authenticators

plain:
  driver = plaintext
  public_name = PLAIN
  server_condition = ${if !eq {} \
    {${if eq {} {${domain:$2}} \
        {${lookup SQL_AUTH_UNIQUE_PLAIN{1}}} \
        {${lookup SQL_AUTH_PLAIN{1}}} \
    }} \
    {yes}{no} \
  }
  server_set_id = $2


login:
  driver = plaintext
  public_name = LOGIN
  server_prompts = "Username:: : Password::"
  server_condition = ${if !eq {} \
    {${if eq {} {${domain:$1}} \
        {${lookup SQL_AUTH_UNIQUE_LOGIN{1}}} \
        {${lookup SQL_AUTH_LOGIN{1}}} \
    }} \
    {yes}{no} \
  }
  server_set_id = $1


# End of Exim configuration file