commit 3243ea23ffd66c59d65a1c4c40ee59487cfd19df
parent 61c2c2da2e4dbf4f7b2941da8bf74dcba700001e
Author: Jaromil <jaromil@dyne.org>
Date: Wed, 5 Dec 2012 15:13:30 +0100
small fix for tls configuration as suggested by klaus_trainer (bug #356)
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/zlibs/email b/src/zlibs/email
@@ -301,10 +301,14 @@ peek() {
switch_identity
case $transport in
- ssl) act "using secure connection (SSL)"
+ ssl|tls) act "using secure connection (SSL)"
iproto="imaps" ;;
plain) act "using clear text connection"
iproto="imap" ;;
+ *)
+ error "Unknown transport: $transport"
+ error "Configuration error in imap account ${account}"
+ return 1 ;;
esac
# escape at sign in login
ilogin=`print $login | sed 's/@/\\@/'`