Hi Yutaka, I couldn't get trough posting to your ML, so I send directly this query to pficabdyi-mxhgu4y4q73w.ml@delegate.org, hoping you'll approve it and post it to the newsgroup/ML. Thanks, Regards -- Emmanuel Cerisier. -------- Original Message -------- Subject: Returned mail: see transcript for details Date: Sun, 11 Nov 2001 20:35:01 +0900 (JST) From: Mail Delivery Subsystem <MAILER-DAEMON@etlmail1.etl.go.jp> To: <ppacqbdyi-mxhgu4y4q73w.ml@delegate.org> The original message was received at Tue, 6 Nov 2001 20:17:33 +0900 (JST) from rpdgate2.aist.go.jp [150.29.254.34] ----- The following addresses had permanent fatal errors ----- <delegate-en@smtpgate.etl.go.jp> ----- Transcript of session follows ----- <delegate-en@smtpgate.etl.go.jp>... Deferred: Connection timed out with smtpgate.etl.go.jp. Message could not be delivered for 5 days Message will be deleted from queue --------- Reporting-MTA: dns; etlmail1.etl.go.jp Arrival-Date: Tue, 6 Nov 2001 20:17:33 +0900 (JST) Final-Recipient: RFC822; delegate-en@smtpgate.etl.go.jp Action: failed Status: 4.4.7 Remote-MTA: DNS; smtpgate.etl.go.jp Last-Attempt-Date: Sun, 11 Nov 2001 20:35:01 +0900 (JST) Subject: delegate and Netscape messenging server Date: Tue, 06 Nov 2001 11:17:22 +0000 From: Emmanuel Cerisier <ppacqbdyi-mxhgu4y4q73w.ml@delegate.org> To: delegate-en@smtpgate.etl.go.jp Hi, Thanks for your time, and thanks to Yutaka for providing Delegate ! I'm using the 7.6.0 version. We want to use delegate as a DMZed proxy for the mail services of our Netscape mesenging 4.15 server, i.e. in/outbound SMTP, imap/imaps and http/https webmail. The SSLed services are btwn the roaming client and delegate, and standard cleartext btwn delegate and the server. For this we run rather simple testing cmdlines: ./delegated -v -P443 SERVER=https FCL=./sslway MOUNT="/* http://yyyy.xxxx.com/*" PERMIT="*:*:*.com" ./delegated -P993 SERVER=imap FCL=./sslway MOUNT="* imap://yyyy.xxxx.com/*" PERMIT="*:*:*.com" After a little config, it works fine with imap/imaps. My problem is with http: Once you accepted the certificate, and you logged in providing user/pass, netscape's webmail application embeds hardcoded URL of the server in the protocol URL itself. The URL looks like that: https://yyyy.xxxx.com/en/mail.html?sid=t9em0q3o0hel0v9&lang=en&host=https://yyyy.xxxx.com/&cert=false The embedded URL is then used by the client browser to display the actual frames. I couldn't figure out how to pattern-match this url to be translated by delegate. So when using it, the embeded URL keeps delegated server's public name, and the "http" is not translated to "https", and it fails. I'm pretty sure it's possible to do this and that I'm missing a point; but I've been trying a bunch of %S regexps in the MOUNT command and it failed. Also, i'm not sure wether the best way to achieve this would be using the MOUNToptions, or the URICONV parameters, but as far as I understod, urci rewriting applies to the html payload only... thanks for any help on that, bye -- Emmanuel.