Advertisement
Guest User

Untitled

a guest
Jun 30th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. begin authenticators
  2.  
  3. cram:
  4. driver = cram_md5
  5. public_name = CRAM-MD5
  6. # server_secret = ${if eq{$1}{user}{password}fail}
  7. server_secret = ${lookup{$1}lsearch{/etc/mail/auth}{$value}fail}
  8. server_set_id = $1
  9.  
  10. login:
  11. driver = plaintext
  12. public_name = LOGIN
  13. server_prompts = "Username:: : Password::"
  14. # server_condition = ${if and{ {eq{$1}{user}} {eq{$2}{password}} } {1}{0}}
  15. server_condition = "\
  16. ${if and {{!eq{$1}{}}{!eq{$2}{}} \
  17. {eq{$2}{${extract{1}{:} \
  18. {${lookup{$1}lsearch{/etc/mail/auth}{$value}{*:*}}}}}}}{1}{0}}"
  19. server_set_id = $1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement