Martin, In message <_A3795@delegate-en.ML_> on 07/13/07(23:48:49) I wrote: |In message <_A3793@delegate-en.ML_> on 07/10/07(20:49:16) |you Martin Vetter <p2ehabdyi-mxhgu435z33w.ml@delegate.org> wrote: | |(2) POP3S forwarding hangs? | | | |first I start: | |delegated -f -v -P10995 SERVER="pop3s:-:{*:995}" RELIABLE=localhost | |STLS=mitm | |So far, STLS=mitm has been implemented just for HTTPS/SSL. So you |need to specify it as follows for other protocols: | | FCL=sslway FSV=sslway I'll make it (STLS=mitm for POP3S) be "supported" in the next release (9.6.3-pre2) with the modification as the enclosed patch. |And the condition attached to your SERVER parameter seems never true |and it should be simply as this: | | SERVER=pop3s With the patch it'll work like your original configuration as this: % delegated -fv -P10995 SERVER=pop3s STLS=mitm Also I supported "USER name@host..port" to represent "USER name@host:port" since there are clients which do not accept ":" in user-name, including fechmail :) Cheers, Yutaka -- 9 9 Yutaka Sato <pfqcabdyi-mxhgu435z33w.ml@delegate.org> http://delegate.org/y.sato/ ( ~ ) National Institute of Advanced Industrial Science and Technology _< >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan Do the more with the less -- B. Fuller *** /Users/yutaka/dist/src/delegate9.6.3-pre1/src/pop.c Fri Nov 3 10:31:31 2006 --- src/pop.c Sat Jul 14 03:18:04 2007 *************** *** 446,451 **** --- 446,458 ---- if( dp = strrchr(userhost,'@') ){ QStrncpy(user,userhost,dp-userhost+1); wordScan(dp+1,hostport); + if( (dp = strstr(hostport,"..")) && isdigits(dp+2) ){ + strsubst(QVStr(dp,hostport),"..",":"); + } + if( streq(CLNT_PROTO,"pop3s") && (ClientFlags & PF_MITM_DO) ){ + strcpy(proto,"pop3s"); + ServerFlags |= (PF_SSL_IMPLICIT | PF_STLS_DO); + } if( dp = strrpbrk(user,POP_USERHOST_ESCDELIM) ) *(char*)dp = '@'; /*QA(OW)*/ sprintf(userhost,"//%s/%s",hostport,user);