Article delegate-en/3031 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]
[Reference:<_A3030@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: problem with MOUNT and SMTP
17 Jul 2005 01:17:47 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


On 07/15/05(21:08) you =?windows-1251?Q?=D1=E5=F0=E3=E5=E9=20=D1=FB=F0=E5=F1=EA=E8=ED?= <p3yeqbdyi-6rjyzcjemz3r.ml@ml.delegate.org> wrote
in <_A3030@delegate-en.ML_>
 |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.87 [30826] 0+0: arg[5] RESOLV=cache,file,sys
...
 |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] 

Mapping the domain part of a mail address to the hostname, where a mail
to the domain is to be sent, is a very generic and standardized mechanism
supported by DNS as MX record.  So you should be use it specifying
"dns" in the RESOLV parameter.  "-MX.domain" in DeleGate means to retrieve
the MX host of the domain.  As an example, mail.ru has its MX as follows:

  % dig mail.ru MX
  ...
  ;; QUESTION SECTION:
  ;mail.ru.			IN	MX
  
  ;; ANSWER SECTION:
  mail.ru.		11364	IN	MX	10 mxs.mail.ru.

  ;; ADDITIONAL SECTION:
  mxs.mail.ru.		11364	IN	A	194.67.23.20


There is another extended DNS feature (RFC2782) to define a service for a
domain as

  _service._proto.domain

Using this for POP and IMAP like

  _pop3._tcp.mail.ru
  _imap._tcp.mail.ru

might be a solution.

Now I retrieved web space to find an Internet-Draft proposing it.

><URL:http://ietf.mirror.netmonic.com/draft-bajaj-mail-srv-02.txt>
>      _pop3._tcp SRV 1 0 110 host1.example.com.
>      _pop3._tcp SRV 1 0 110 host2.example.com.
>      _pop3._tcp SRV 0 0 110 host3.example.com.
>      _imap._tcp SRV 1 0 143 host1.example.com.
>      _imap._tcp SRV 1 0 143 host2.example.com.
>      _imap._tcp SRV 0 0 143 host3.example.com.
>      _pop3s._tcp SRV 0 3 995 host1.example.com.
>      _pop3s._tcp SRV 0 1 995 host2.example.com.
>      _imaps._tcp SRV 0 3 993 host1.example.com.
>      _imaps._tcp SRV 0 1 993 host2.example.com.

Cheers,
Yutaka
--
  D G   Yutaka Sato <y.sato@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

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