Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- begin authenticators
- cram:
- driver = cram_md5
- public_name = CRAM-MD5
- # server_secret = ${if eq{$1}{user}{password}fail}
- server_secret = ${lookup{$1}lsearch{/etc/mail/auth}{$value}fail}
- server_set_id = $1
- login:
- driver = plaintext
- public_name = LOGIN
- server_prompts = "Username:: : Password::"
- # server_condition = ${if and{ {eq{$1}{user}} {eq{$2}{password}} } {1}{0}}
- server_condition = "\
- ${if and {{!eq{$1}{}}{!eq{$2}{}} \
- {eq{$2}{${extract{1}{:} \
- {${lookup{$1}lsearch{/etc/mail/auth}{$value}{*:*}}}}}}}{1}{0}}"
- server_set_id = $1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement