chatchai_j

exim4 saslauth + allow file

Jan 10th, 2019
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. # Authenticate against local passwords using sasl2-bin
  2. # Requires exim_uid to be a member of sasl group, see README.Debian.gz
  3. plain_saslauthd_server:
  4. driver = plaintext
  5. public_name = PLAIN
  6. # server_condition = ${if saslauthd{{$auth2}{$auth3}}{1}{0}} # ok
  7. # server_condition = true # ok
  8. # server_condition = ${if or{{1}{1}}} # unknown condition "1" inside "or{...}" condition
  9. # server_condition = ${if or{{true}{true}}} # unknown condition "true" inside "or{...}" condition
  10. server_condition = ${if \
  11. and { \
  12. {saslauthd{{$auth2}{$auth3}}} \
  13. {bool{${lookup{$auth2}lsearch{/etc/exim4/allow}{1}{0}}}} \
  14. } \
  15. {1}{0} \
  16. }
  17. server_set_id = $auth2
  18. server_prompts = :
  19. .ifndef AUTH_SERVER_ALLOW_NOTLS_PASSWORDS
  20. server_advertise_condition = ${if eq{$tls_in_cipher}{}{}{*}}
  21. .endif
Advertisement
Add Comment
Please, Sign In to add comment