Article delegate-en/3030 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] problem with MOUNT and SMTP
15 Jul 2005 12:08:41 GMT =?windows-1251?Q?=D1=E5=F0=E3=E5=E9=20=D1=FB=F0=E5=F1=EA=E8=ED?= <p3yeqbdyi-qjyh54n2mtxr.ml@ml.delegate.org>


Hello, Yutaka!

I have another problem with MOUNT. You remember my recent post about a free internet mail server mail.ru with dedicated servers for pop, imap and smtp and user accounts like usename@mail..

While your patch works with IMAP and POP, rewriting hostname with MOUNT fails on SMTP. See the log file:

07/15 15:32:45.81 [30826] 0+0: --INITIALIZATION START: 9.0.3-pre29 on Linux/2.4.25-MCBC3.2.5--
07/15 15:32:45.81 [30826] 0+0: BINSHELL=/bin/sh
07/15 15:32:45.81 [30826] 0+0: DGROOT=/opt/delegate^M
07/15 15:32:45.81 [30826] 0+0: <DeleGate/9.0.3-pre29> [30826] -P192.168.2.250:8025 READY^M
07/15 15:32:45.81 [30826] 0+0: PORT= 192.168.2.250:8025/8 (0,192)
07/15 15:32:45.83 [30826] 0+0: OWNER=delegate/delegate => OWNER=delegate/delegate(delegate/delegate)
07/15 15:32:45.84 [30826] 0+0: REMITTABLE = smtp,smtp-data
07/15 15:32:45.84 [30826] 0+0: SMTPGATE=${ETCDIR}/smtpgate [/opt/delegate/etc/smtpgate]
07/15 15:32:45.84 [30826] 0+0: --- [z] 8245330 libz.so
07/15 15:32:45.84 [30826] 0+0: ---- [z] loaded 5 syms, unknown=0, already=0
07/15 15:32:45.85 [30826] 0+0: #### gzip/gunzip = dynamically linked
07/15 15:32:45.85 [30826] 0+0: ADMIN=root@localhost protocol=smtp(specialist)
07/15 15:32:45.85 [30826] 0+0: WORKDIR=/opt/delegate/work/192.168.2.250:8025
07/15 15:32:45.85 [30826] 0+0: #### %S/%S >> %(0):25/%(1)@%(0) ####
07/15 15:32:45.85 [30826] 0+0: #### %(0)/%(1) << %S:25/%S@%S ####
07/15 15:32:45.86 [30826] 0+0: MOUNT[0]X[3] /-/builtin/icons/* = default
07/15 15:32:45.86 [30826] 0+0: MOUNT[1]X[4] /-/* = forbidden,from=!.RELIABLE,default
07/15 15:32:45.86 [30826] 0+0: MOUNT[2]X[0] /-* = default
07/15 15:32:45.86 [30826] 0+0: MOUNT[3]X[1] /=* = default
07/15 15:32:45.86 [30826] 0+0: MOUNT[4]X[2] //*%S/%S smtp://smtp.*%(0):25/%(1)@%(0) 
07/15 15:32:45.86 [30826] 0+0: {R} retrying AAAA [smtp.]
07/15 15:32:45.86 [30826] 0+0: gethostbyname(smtp.) unknown[0.01s] 
07/15 15:32:45.86 [30826] 0+0: ERROR MOUNT.rhost[1] smtp. ? unknown
07/15 15:32:45.87 [30826] 0+0: env[7] LIBPATH=.;/;/opt/delegate/lib;/opt/delegate/bin;/opt/delegate/etc
07/15 15:32:45.87 [30826] 0+0: ext[0] SERVER=smtp
07/15 15:32:45.87 [30826] 0+0: ext[1] MOUNT=//*%S/%S smtp://smtp.*%(0):25/%(1)@%(0)
07/15 15:32:45.87 [30826] 0+0: ext[2] PERMIT=*:*:*,&,{!*,*}@*
07/15 15:32:45.87 [30826] 0+0: ext[3] AUTHORIZER=-any
07/15 15:32:45.87 [30826] 0+0: ext[4] PROTOLOG=192.168.2.250:8025.smtp
07/15 15:32:45.87 [30826] 0+0: arg[1] DGROOT=/opt/delegate
07/15 15:32:45.87 [30826] 0+0: arg[2] TMPDIR=/opt/delegate/tmp
07/15 15:32:45.87 [30826] 0+0: arg[3] OWNER=delegate/delegate
07/15 15:32:45.87 [30826] 0+0: arg[4] ADMIN=root@localhost
07/15 15:32:45.87 [30826] 0+0: arg[5] RESOLV=cache,file,sys
07/15 15:32:45.87 [30826] 0+0: arg[6] TIMEOUT=restart:3h
07/15 15:32:45.87 [30826] 0+0: arg[7] TIMEOUT=shutout:24h
07/15 15:32:45.87 [30826] 0+0: arg[8] TIMEOUT=dns:2
07/15 15:32:45.87 [30826] 0+0: arg[9] TIMEOUT=dnsinv:2
07/15 15:32:45.87 [30826] 0+0: arg[10] MAXIMA=delegated:64
07/15 15:32:45.87 [30826] 0+0: arg[11] CACHE=no
07/15 15:32:45.88 [30826] 0+0: DELEGATE_Modified[0]: 42d79ec0
07/15 15:32:45.88 [30826] 0+0: --INITIALIZATION DONE: 9.0.3-pre29 on Linux/2.4.25-MCBC3.2.5--
07/15 15:32:45.88 [30826] 0+0: RESTART at 15/Jul/2005:16:00:00 +0300
07/15 15:32:45.91 [30849] 1+0: -- Fork(OnetimeServer): 30826 -> 30849
07/15 15:32:45.94 [30849] 1+0: bind_insock(8,192.168.2.250,0) = 0, errno=0
07/15 15:32:45.94 [30849] 1+0: ## connect[8] TIMEOUT(1000)
07/15 15:32:45.94 [30849] 1+0: ### IDENT CONNECT(int.kin.org:113) TIMEOUT(1000ms) (110)
07/15 15:32:45.95 [30849] 1+0: (0) accepted [40] -@[192.168.2.2]int.kin.org:34419 (0.042s)(2)
07/15 15:32:45.95 [30849] 1+0: PATH: smtp://-:25!kaa:8025!int.kin.org:34419!anonymous@int.kin.org;1121427165
07/15 15:32:45.97 [30849] 1+0: Free proxy -- smtp://-/
07/15 15:32:47.14 [30849] 1+0: gethostbyname(-) unknown[0.00s] 
07/15 15:32:47.14 [30849] 1+0: ## Auth/any = 0 <:>
07/15 15:32:47.14 [30849] 1+0: ##[doAUTH] set ClientAuth [@-any]
07/15 15:32:48.15 [30849] 1+0: 220 192.168.2.250 SMTP/DeleGate/9.0.3-pre29 ready at Fri, 15 Jul 2005 15:32:48 +0300^M
07/15 15:32:48.16 [30849] 1+0: >>> EHLO int.kin.org^M
07/15 15:32:48.16 [30849] 1+0: SMTP [EHLO][int.kin.org]^M
07/15 15:32:48.16 [30849] 1+0: CALLBACK[192.168.2.2] 1 02.2/02.2 EHLO: 1 <int.kin.org> int.kin.org 
07/15 15:32:48.16 [30849] 1+0: 250-192.168.2.250 Hello int.kin.org (int.kin.org)^M
07/15 15:32:48.16 [30849] 1+0: 250-AUTH PLAIN LOGIN^M
07/15 15:32:48.16 [30849] 1+0: 250-AUTH=LOGIN^M
07/15 15:32:48.16 [30849] 1+0: 250 XECHO^M
07/15 15:32:48.17 [30849] 1+0: >>> AUTH LOGIN^M
07/15 15:32:48.17 [30849] 1+0: SMTP [AUTH][LOGIN]^M
07/15 15:32:48.17 [30849] 1+0: 334 xxxxxxxxxxx^M
07/15 15:32:48.18 [30849] 1+0: 334 yyyyyyyyyyy^M
07/15 15:32:48.18 [30849] 1+0: ## Auth/any = 0 <username@mail.ru:****>
07/15 15:32:48.18 [30849] 1+0: ##[doAUTH] set ClientAuth [username@mail.ru@-any]
07/15 15:32:48.19 [30849] 1+0: AUTHORIZER=-any host=[-any] user=[username@mail..ru] -> OK
07/15 15:32:48.19 [30849] 1+0: 235 Authenticated and Authorized.^M
07/15 15:32:48.19 [30849] 1+0: >>> MAIL FROM: <username@mail..ru>^M
07/15 15:32:48.19 [30849] 1+0: SMTP [MAIL][FROM: <username@mail..ru>]^M
07/15 15:32:48.19 [30849] 1+0: Sender: <username@mail..ru> FROM: <username@..ru>
07/15 15:32:48.19 [30849] 1+0: 250 username@.. Sender ok^M
07/15 15:32:48.19 [30849] 1+0: >>> RCPT TO: <username@mail..ru>^M
07/15 15:32:48.20 [30849] 1+0: SMTP [RCPT][TO: <username@mail..ru>]^M
07/15 15:32:48.20 [30849] 1+0: <username@mail..ru> => username@..ru
07/15 15:32:48.20 [30849] 1+0: Recipient: <username@mail..ru> TO: <username@..ru>
07/15 15:32:48.20 [30849] 1+0: 250 TO: <username@mail..ru>... Recipient ok^M
07/15 15:32:48.20 [30849] 1+0: >>> DATA^M
07/15 15:32:48.20 [30849] 1+0: SMTP [DATA][]^M
07/15 15:32:48.20 [30849] 1+0: 354 Enter mail, end with "." on a line by itself^M
07/15 15:32:48.25 [30849] 1+0: >>> .^M
07/15 15:32:48.25 [30849] 1+0: GWNAME = username 
07/15 15:32:48.25 [30849] 1+0: Content-MD5 = 0be9466273f968ba4c717ebd3ba71d8e
07/15 15:32:48.26 [30849] 1+0: cannot read config. file -- SMTPGATE//username/conf
07/15 15:32:48.26 [30849] 1+0: GWNAME = @default (default gateway)
07/15 15:32:48.26 [30849] 1+0: cannot read config. file -- SMTPGATE//@default/conf
07/15 15:32:48.27 [30849] 1+0: conf + CONTROL/INHERIT:sendmail^M
07/15 15:32:48.27 [30849] 1+0: conf + CONTROL/RECIPIENT:${recipient}^M
07/15 15:32:48.27 [30849] 1+0: conf + CONTROL/SERVER-HOST:${recipient.mx}^M
07/15 15:32:48.27 [30849] 1+0: GWNAME = sendmail (built-in)
07/15 15:32:48.27 [30849] 1+0: substitute -- ${recipient} => username@mail..ru
07/15 15:32:48.27 [30849] 1+0: {R} retrying AAAA [-MX.mail.ru]
07/15 15:32:48.27 [30849] 1+0: gethostbyname(-MX.mail.ru) unknown[0.00s] 
07/15 15:32:58.28 [30849] 1+0: *** CON_TIMEOUT: 10.00/10s -> 194.67.57.26:25
07/15 15:32:58.28 [30849] 1+0: [20] ConnectToServer connect failed 194.67.57.26:25 [10.00s] errno=110
07/15 15:32:58.28 [30849] 1+0: ERROR: cannot connect to smtp://mail.ru:25 - -1
07/15 15:32:58.28 [30849] 1+0: E-C: Can't connect: int.kin.org:34419 => smtp://mail.ru (timeout)
07/15 15:32:58.28 [30849] 1+0: willSTLS_SV: ServerFlags=10
07/15 15:32:58.28 [30849] 1+0: 421 cannot open SMTP for forwarding.^M
07/15 15:32:58.28 [30849] 1+0: END(-1) username@mail..ru <- username@..ru
07/15 15:32:58.28 [30849] 1+0: CALLBACK[192.168.2.2] 5 12.3/10.1 DATA: sent=-1, size=316
07/15 15:32:58.30 [30849] 1+0: disconnected [40] -@[192.168.2.2]int.kin.org:34419 (12.399s)(1)


With best regards,
      Serge Sireskin




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