Guest User

Untitled

a guest
Sep 4th, 2018
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. This is the error:
  2.  
  3. 2011-03-10 15:50:49 login authenticator failed for (WHATEVERHOST) [XXX.XXX.XXX.XXX]: 535 Incorrect authentication data (set_id=user@domain.co.za)
  4.  
  5. This is what i have in exim:
  6. login:
  7. driver = plaintext
  8. public_name = LOGIN
  9. server_prompts = "Username:: : Password::"
  10. server_condition = ${if eq{$2}{${lookup mysql{SELECT password_hash FROM popbox WHERE CONCAT(popbox.local_part,'@',popbox.domain_name) = '$1'}{$value}fail}}{1}{0}}
  11. server_set_id = $1
  12.  
  13. The above works with plain text passwords
  14.  
  15. I tried this to get the md5 working, to no avail:
  16.  
  17. server_condition = ${if eq{md5($2)}{${lookup mysql{SELECT password_hash FROM popbox WHERE CONCAT(popbox.local_part,'@',popbox.domain_name) = '$1'}{$value}fail}}{1}{0}}
Add Comment
Please, Sign In to add comment