Re: qmail not listening

From: Mark Johnston (mjohnston_at_skyweb.ca)
Date: 06/27/03

  • Next message: Murat USTUNTAS: "Unix mail home to microsoft dbx format"
    To: <guilherme@nortenet.pt>
    Date: Fri, 27 Jun 2003 09:15:32 -0500
    
    

    Guilherme Oliveira wrote:
    > Thanks to people for the help.
    >
    > My problem was that it was not working by inetd so I run with daemon
    > tools and it's working now.
    >
    > But I have 2 new problems:
    >
    > 1- My customers will use microsoft outlook express with dinamic ip's.
    So
    > I can't configure rcpthost. The result will always be "553: relay
    > denied". Exists SMTP-after-POP with http://em.ca/~bruceg/relay-ctrl/
    > but outlook express invert the process with POP-after-SMTP. No way !
    Any
    > suggestions ?

    I'm afraid I'll have to pass on this one, apart from suggesting
    authenticated SMTP and giving you these URLs:

    http://www.cuni.cz/~vhor/qmail/smtpauth-en.html
    http://www.nimh.org/dl/qmail-smtpd.c

    You might want to use some kind of encryption if you're going to
    authenticate SMTP, but if you're running POP3 in cleartext over the same
    link, there's not much point.

    > 2- my djbns is configured with
    >
    > .vianaonline.com:213.13.121.74:ns1.vianaonline.com.
    > .vianaonline.com:213.13.121.75:ns2.vianaonline.com.
    > =vianaonline.com:213.13.121.74
    > +www.vianaonline.com:213.13.121.76
    > @vianaonline.com:213.13.121.77
    >
    > and my email server is configured behind natd with 192.168.1.2. What
    > happens is if I configure the email client with vianaonline.com as
    email
    > server it will connect to 213.13.121.74. Not 213.13.121.77 as it's
    > configured.

    You're confusing an MX record with an A record. The third line creates
    an A record for vianaonline.com of 213.13.121.74, and a PTR record for
    74.121.13.213.in-addr.arpa to vianaonline.com. The fifth line creates
    an MX record for vianaonline.com for a.mx.vianaonline.com (a default
    name supplied by tinydns), and an A record for a.mx.vianaonline.com to
    213.13.121.77.

    Converted to (what I consider to be) a more readable form, it would look
    like the following - note I've skipped the SOA and PTR records.

    vianaonline.com. NS ns1.vianaonline.com.
    vianaonline.com. NS ns2.vianaonline.com.
    ns1.vianaonline.com. A 213.13.121.74
    ns2.vianaonline.com. A 213.13.121.75
    vianaonline.com. A 213.13.121.74
    www.vianaonline.com. A 213.13.121.76
    vianaonline.com. MX a.mx.vianaonline.com.
    a.mx.vianaonline.com. A 213.13.121.77

    An MX record is used only by mail servers that want to deliver mail
    to your domain, not by clients. When you put 'vianaonline.com' into
    your clients as the SMTP server, they use the A record - which is
    213.13.121.74. I would do the following:

    .vianaonline.com:213.13.121.74:ns1.vianaonline.com.
    .vianaonline.com:213.13.121.75:ns2.vianaonline.com.
    +vianaonline.com:213.13.121.74
    +www.vianaonline.com:213.13.121.76
    @vianaonline.com:213.13.121.77:mail.vianaonline.com

    which would result in incoming mail being directed to
    mail.vianaonline.com at 213.13.121.77. You would use
    mail.vianaonline.com in your mail clients as the SMTP server. I have
    changed your = line to a + in the assumption that you don't actually
    have reverse DNS delegated from your ISP; if you do, you'll want to
    create a number of other PTR records as well, for the other IPs.

    As a side note, are you sure you want www.vianaonline.com and
    vianaonline.com to point to two different machines? Many web surfers
    (incorrectly) assume they're equivalent.

    See http://cr.yp.to/djbdns/tinydns-data.html for more details on the
    tinydns data file.

    HTH,
    Mark

    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"


  • Next message: Murat USTUNTAS: "Unix mail home to microsoft dbx format"

    Relevant Pages

    • Re: POP3 users have sending problem
      ... That's a good idea if you only have a handful of clients to reconfigure, ... Having the SMTP server on exchange route to a smart host (your ... >> authentication settings for SMTP. ...
      (microsoft.public.exchange.admin)
    • Re: using my ISPs SMTP instead of Exchange
      ... Use their smarthost for everything (which would make ... >Bellnet.ca will accept email email from any smtp server on the planet ... >accept from clients on their network. ... > A kludge fix, which doesn't work when my users are using OWA. ...
      (microsoft.public.windows.server.sbs)
    • SMTPMail.Send(MailMessage) - deliberately slow?
      ... to send a mail message? ... direct communication with our clients. ... throughput, this will take us several *days* to send (we're /peaking/ ... monitoring the SMTP Server at the "other end", ...
      (microsoft.public.dotnet.languages.vb)
    • Re: Exchange Setup in SBS 2003
      ... I had too had problems trying to get Exchange on SBS 2003 to forward ... emails to isp's smtp server. ... 10 clients at this location it was the expeditious thing to do. ... > My users can recieve email, ...
      (microsoft.public.windows.server.sbs)
    • Re: Wi-fi and SMTP
      ... email software to use the Gmail SMTP server rather than your ISP's ... I've not heard of any ISP that blocks Authenticated SMTP ports. ... be sending to your original email address. ...
      (alt.internet.wireless)