HCoop
/
hcoop
/
zz_old
/
config
/
exim4-hopper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ae57a97
)
Get saslauthd and Exim really working this time
author
root
<root@deleuze.hcoop.net>
Wed, 21 Nov 2007 01:32:17 +0000
(20:32 -0500)
committer
root
<root@deleuze.hcoop.net>
Tue, 17 Jun 2008 04:21:52 +0000
(
00:21
-0400)
conf.d/auth/30_exim4-config_examples
patch
|
blob
|
blame
|
history
diff --git
a/conf.d/auth/30_exim4-config_examples
b/conf.d/auth/30_exim4-config_examples
index
cf1bbeb
..
3cb9f1f
100644
(file)
--- a/
conf.d/auth/30_exim4-config_examples
+++ b/
conf.d/auth/30_exim4-config_examples
@@
-216,25
+216,28
@@
cram_md5:
hcoop_plain:
driver = plaintext
public_name = PLAIN
hcoop_plain:
driver = plaintext
public_name = PLAIN
+ server_prompts = :
server_condition = \
server_condition = \
- ${if or {{crypteq {$3} \
- {${extract{systempw}{${tr{${lookup{$2} \
+ ${if or {{crypteq {$
auth
3} \
+ {${extract{systempw}{${tr{${lookup{$
auth
2} \
dbm{/etc/courier/exim.dat} \
}}{|}{ }}}}}} \
dbm{/etc/courier/exim.dat} \
}}{|}{ }}}}}} \
- {saslauthd {{$2}{$3}}}}}
- server_set_id = $2
+ {saslauthd {{$auth2}{$auth3}{exim4}}}}}
+ server_set_id = $auth2
+ server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
hcoop_login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:: : Password::"
server_condition = \
hcoop_login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:: : Password::"
server_condition = \
- ${if or {{crypteq {$2} \
- {${extract{systempw}{${tr{${lookup{$1} \
+ ${if or {{crypteq {$
auth
2} \
+ {${extract{systempw}{${tr{${lookup{$
auth
1} \
dbm{/etc/courier/exim.dat} \
}}{|}{ }}}}}} \
dbm{/etc/courier/exim.dat} \
}}{|}{ }}}}}} \
- {saslauthd {{$1}{$2}}}}}
- server_set_id = $1
+ {saslauthd {{$auth1}{$auth2}{exim4}}}}}
+ server_set_id = $auth1
+ server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
# this returns the matching line from passwd.client and doubles all ^
PASSWDLINE=${sg{\
# this returns the matching line from passwd.client and doubles all ^
PASSWDLINE=${sg{\