On 25-Aug-2001 Edinilson J. Santos wrote:
> Davide,
> 
> How to configure XMail correctly to work with M$ Exchange Server 5.5 and
> ETRN?
> The problem is that the client with Exchange will not have a fixed IP
> address and will connect via modem during the day.

What's the problem of not having a fixed IP address ?




> 
> Thanks
> 
> Edinilson
> 
> ps: I saw this for sendmail in http://cgi.shellnet.co.uk/etrn.html but I´m
> in doubt if it works with XMail.
> -----------------------------------------------------------
> 
> Basically (I hope I make myself clear by this), ETRN works like this:
> 
> You set a domain, x.com to have the following MX records:
> 
>         MX      5 mail.x.com
>         MX      10 smtp.you.com
>         MX      15 smtp.fallbackserver.com
> 
> mail.x.com should be the clients machine who wishes to use ETRN, ie,
> the static IP address of their modem. This means, of course, that when
> someone sends a mail to [EMAIL PROTECTED], their mailserver tries to talk
> to mail.x.com, and fails - because your client is not dialed in, for
> example. Their mailserver then takes smtp.you.com, as having the next
> best MX record, and tries to talk to your mail server, succeeding.
> 
> Your mailserver should not be setup to do anything with the mail for
> x.com, but sinmply queue it. i.e, you shouldn't have x.com in either
> your CW file or Virtusertable (if any) - However if you are using
> sendmail8.9.x with Anti-Relaying features you should add x.com into
> the list of allowed domains you relay for.
> 
> When a mail arrives into your sendmail server, you can check to see
> what stage the mail is at by running mailq. You should see someting
> similar to this:
> 
>                 Mail Queue (39 requests)
> --Q-ID-- --Size-- -----Q-Time----- ----Sender/Recipient--------
> HAA27892     3617 Fri Sep 25 07:53
>                  (Deferred: Operation timed out with mail.x.com.)
> 
> 
> Sendmail is trying every 30 minutes (if you run sendmail with -q30m)
> to contact mail.x.com and send the mail.
> 
> When your ETRN client dials in, having been assigned a static IP
> corresponding to mail.x.com, they send the following to sendmail:
> 
> ETRN x.com
> 
> Sendmail takes this as time to process the queue for mail.x.com, so if
> you send such a command to sendmail you'll see the following if you
> run ps axu:
> 
> root      2479  0.3  1.1   704 1076  ??  S     1:54PM    0:00.03
> sendmail: NAA02383 mail.x.com.: user open (sendmail)
> 
> sendmail is trying to connect to mail.x.com and dequeue the relevant
> mail. Assuming your client is dialed in then sendmail will be able to
> ... sendmail :)

Yes it works.



- Davide

Reply via email to