Article delegate-en/889 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]

Newsgroups: mail-lists.delegate-en

[DeleGate-En] Question about delegate software, using SSLway, etc.
27 Sep 2000 22:01:44 GMT Christine Ye <ppebqbdyi-pbcajt7zjb3r.ml@ml.delegate.org>
Sendmail, Inc.


Dear Mr. Sato, 

 Currently I am evaulating some proxy softwares for my company, and yor
delegate is on the list. After spending a couple of days running this
program, I am very impressed by your product. If you don't mind, may I
ask you a couple questions about delegate. 
 We are a mail server software company, and looking for a software
acting as a frontend proxy for dispatching e-mail retrieving  and
delivering requests. The backend servers can be imap/pop/smtp servers.
When frontend proxy server receives a request from a client, depends on
the user name and domain name, proxy will dispatch the request to the
proper backend server. 

 1. For delegate acts as imap/pop proxy server, 

 if I start this, 

 #delegated -P110 server=pop

 %telent proxy-server 110
 ......
 user cye@sendmail..

 ......

 If cye has mailbox on pop-server machine, then it works fine. But if I
want to retrieve mails by giving the e-mail address ppebqbdyi-pbcajt7zjb3r.ml@ml.delegate.org
instead of machine name, then it fails because sendmail.com doesn't have
a mailbox of cye. Is there way to achieve this from delegate
configuration file or setting up? 

 I notice you have SMTPGATE machiem for this purpose. I created a conf
file as this, 

  SERVER-HOST: smtp.sendmail.com
  INHERIT: sendmail
  RECIPIENT: ppebqbdyi-pbcajt7zjb3r.ml@ml.delegate.org
  ACCEPT/From: !%, !MAILER_DAEMON@, !hotmail.com
  OUTPUT/to: ppebqbdyi-pbcajt7zjb3r.ml@ml.delegate.org

 The smtp proxy works exactly what I wanted. It sends the request to
host smtp.sendmail.com with e-mail address ppebqbdyi-pbcajt7zjb3r.ml@ml.delegate.org 

 Is there similar way I can for imap/pop proxy server? 


 2. If I want to store conf information in a ldap server database, can
delegate support this? 



 This is a question for using SSLway. What I need is to set up IMAP
proxy with SSL to accept the connection from clinets using netscape
messenger. I followed your instructions to create SSLway program, and
start the IMAP with this:

 turbo-1#./delegated -v -P143 SERVER=imap FCL=sslway
 
 When I enabled the "SSL connection" on netscape messenger side, the
pop-up
window shows: 

  Netscape's network connection was refused by the server
turbo-1.partner-lab.sendmail.com. The server may not be accepting
connections or may be busy. 


 If I don't enable the "SSL connection" on netscape messenger side, the
server complains about: 
  .......
 ## SSLway[28522](eme110-177.Sendmail.COM) accept failed
  28522:error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown
protocol:s23_srvr.c:557:
  09/27 13:56:38.47 [28521] 1+0: PollIn.POLLHUP (6) errno=0
  09/27 13:56:38.47 [28521] 1+0: PollIn(6,10000) = POLLHUP
  09/27 13:56:38.47 [28521] 1+0: C: EOF"

Could you give me some suggestions how to correct this? 
Thank you very much for your time and help, 

Best wishes, 

Christine




The following is the log file for client side without "SSL connection", 

[root@turbo-1 src]# ./delegated -v -P143 SERVER=imap FCL=sslway
09/27 14:50:09.45 [28584] 0+0: PORT> -P143
09/27 14:50:09.45 [28584] 0+0: --INITIALIZATION START: 6.1.18 on
Linux/2.2.14-3--
09/27 14:50:09.45 [28584] 0+0: server_open(delegate,:143,listen=20)
09/27 14:50:09.45 [28584] 0+0: server_open(delegate,:143) BOUND
09/27 14:50:09.45 [28584] 0+0: ##DeleGate/6.X:
DGROOT=/var/spool/delegate-nobody is set automatically. DGROOT="" will
make it compatible with former versions.
09/27 14:50:09.45 [28584] 0+0: DGROOT=/var/spool/delegate-nobody^M
09/27 14:50:09.45 [28584] 0+0: <DeleGate/6.1.18 by ysato@delegate.org>
[28584] -P143 READY^M
<DeleGate/6.1.18 by ysato@delegate.org> [28584] -P143 READY
DGROOT=/var/spool/delegate-nobody
AIST Research Product No. 1994-ETL-8715-1
Copyright (c) 1994-2000 Yutaka Sato
Copyright (c) 1994-2000 Electrotechnical Laboratory (ETL), AIST, MITI
09/27 14:50:09.45 [28584] 0+0: PORT= 143/6 (0,143)
09/27 14:50:09.45 [28584] 0+0: OWNER=nobody =>
OWNER=nobody/nobody(nobody/nobody)
09/27 14:50:09.45 [28584] 0+0: ##DeleGate/6.X: MIMECONV=thru is set by
default. MIMECONV="" will make it compatible with former versions.
09/27 14:50:09.45 [28584] 0+0: REMITTABLE = imap
09/27 14:50:09.46 [28584] 0+0: LIBPATH: sslway ->
/var/spool/delegate-nobody/lib/sslway
09/27 14:50:09.46 [28584] 0+0:
ADMIN=dgate@sendmail.. protocol=imap(specialist)
-delegated[28584]- WARNING! ADMIN="your_mail_address" should be
specified.
-delegated[28584]- INFO: using
ADMIN=dgate@sendmail.. given at compile time.
09/27 14:50:09.46 [28584] 0+0: ##DeleGate/6.X: created directory/file
will be non-sharable. SHARE="" will make it compatible with former
versions.
09/27 14:50:09.46 [28584] 0+0: #### CACHE DISABLED #### Cache directory
seems not exist: /var/spool/delegate-nobody/cache
09/27 14:50:09.46 [28584] 0+0: env[22]
LIBPATH=.:/usr/local/work/dgate/delegate6.1.18/src:/var/spool/delegate-nobody/lib:.
09/27 14:50:09.46 [28584] 0+0: arg[3] SERVER=imap
09/27 14:50:09.46 [28584] 0+0: arg[4] FCL=sslway
09/27 14:50:09.46 [28584] 0+0: DELEGATE_Modified[1]: 39d26b91
09/27 14:50:09.46 [28584] 0+0: --INITIALIZATION DONE--

09/27 14:50:21.81 [28585] 1+0: -- Fork(OnetimeServer): 28584 -> 28585
09/27 14:50:21.82 [28585] 1+0: (0) accepted [43]
-@[10.210.110.177]eme110-177.Sendmail.COM:2475 (0.003s)(1)
09/27 14:50:21.82 [28585] 1+0: PATH:
imap://-:143!turbo-1.partner-lab.Sendmail.COM:143!eme110-177.Sendmail.COM:2475!anonymous@eme110-177.Sendmail.COM;970091421
09/27 14:50:21.82 [28586] 1+0: -- Fork(FCL): 28585 -> 28586
09/27 14:50:21.82 [28586] 1+0: #### execFilter[FCL]
[/var/spool/delegate-nobody/lib/sslway]sslway
## SSLway[28586](eme110-177.Sendmail.COM) start
09/27 14:50:21.83 [28585] 1+0: Free proxy -- imap://-/
09/27 14:50:21.83 [28585] 1+0: D: * OK turbo-1.partner-lab.Sendmail.COM
Proxy IMAP4 server DeleGate/6.1.18^M
## SSLway[28586](eme110-177.Sendmail.COM) accept failed
28586:error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown
protocol:s23_srvr.c:557:
09/27 14:50:32.68 [28585] 1+0: C: EOF
09/27 14:50:32.68 [28585] 1+0: disconnected [43]
-@[10.210.110.177]eme110-177.Sendmail.COM:2475 (10.871s)(0)
09/27 14:50:32.68 [28585] 1+0: CFI process [28586] done (1/1 AFT-0)

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V