#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Posts
    70
    Rep Power
    11

    sendmail dns issues.


    Sitrep:

    I run my own dns in which I have made an entry for a friends pc (multisal.nl) which is connected via adsl to the internet.

    Code:
    $ttl 86400
    multisal.nl.	IN	SOA	ns1.nednieuws.com. joe.nednieuws.com. (
    			1070371540
    			28800
    			7200
    			3600000
    			86400 )
    multisal.nl.	14400	IN	NS	ns1.nednieuws.com.
    multisal.nl.	14400	IN	A	213.84.99.81
    localhost.multisal.nl.	14400	IN	A	127.0.0.1
    mail.multisal.nl.	14400	IN	A	213.84.99.81
    multisal.nl.	14400	IN	NS	ns2.nednieuws.com.
    www.multisal.nl.	14400	IN	CNAME	multisal.nl.
    multisal.nl.	14400	IN	MX	5 mail
    On the multisal machine, I'm using the preconfigured sendmail 8.12.8 which came with Red Hat 9.

    On my machine (at a hosting provider) I have everything working exactly as I want it. On the multisal machine, I keep getting these messages:

    Inbound mail (/var/log/maillog):
    Dec 19 12:42:47 web sendmail[5096]: NOQUEUE: connect from iits01113.inlink.com [209.135.140.113]
    Dec 19 12:42:47 web sendmail[5096]: AUTH: available mech=PLAIN LOGIN ANONYMOUS, allowed mech=EXTERNAL GSSAPI KERBEROS_V4 DIGEST-MD5 CRAM-MD5
    Dec 19 12:42:47 web sendmail[5096]: hBJBglDQ005096: Milter: no active filter
    Dec 19 12:42:51 web sendmail[5096]: hBJBglDQ005096: iits01113.inlink.com [209.135.140.113] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
    Dec 19 12:53:59 web sendmail[5225]: NOQUEUE: connect from iits01113.inlink.com [209.135.140.113]
    Dec 19 12:53:59 web sendmail[5225]: AUTH: available mech=PLAIN LOGIN ANONYMOUS, allowed mech=EXTERNAL GSSAPI KERBEROS_V4 DIGEST-MD5 CRAM-MD5
    Dec 19 12:53:59 web sendmail[5225]: hBJBrxDQ005225: Milter: no active filter
    Dec 19 12:53:59 web sendmail[5225]: hBJBrxDQ005225: from=<jack@nednieuws.com>, size=1525, class=0, nrcpts=1, msgid=<001301c3c626$c0f849a0$9a00000a@ash>, proto=ESMTP, daemon=MTA, relay=iits01113.inlink.com [209.135.140.113]
    Dec 19 12:53:59 web sendmail[5225]: hBJBrxDQ005225: to=<jan.jansen@multisal.nl>, delay=00:00:00, mailer=local, pri=30816, dsn=4.4.3, stat=queued

    Upon flushing the queue using webmin, I get:

    Forcing the attempted delivery of mail with the command /usr/lib/sendmail -v -q -C/etc/mail/sendmail.cf ..

    Running /var/spool/mqueue/hBJBrxDQ005225 (sequence 1 of 1)
    nednieuws.com: Name server timeout
    <jack@nednieuws.com>... Transient parse error -- message queued for future delivery
    nednieuws.com: Name server timeout
    multisal.nl: Name server timeout
    <jan.jansen@multisal.nl>... Transient parse error -- message queued for future delivery


    Figuring out what's going on on sendmail.org, I think it is because there is no dns on the multisal machine (do they mean that named should be running?). What are my options to solve this without resorting to 'accept unresolvable domains' trickery.

    --
    Charles.
    Last edited by nednieuws; December 19th, 2003 at 09:26 AM.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    www.multisal.nl. 14400 IN CNAME multisal.nl.
    CNAME is for DNS illiterate people to use. You know how to use A record on mail so why didn't you use
    Code:
    www.multisal.nl.	14400	IN	A	213.84.99.81
    as well?
    I think it is because there is no dns on the multisal machine (do they mean that named should be running?)
    No, that's what external DNS is for, and that machine just needs to have sendmail up and running and port 25 can't be filtered. As far as the DNS config on your side they look fine except the CNAME.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Posts
    70
    Rep Power
    11
    freebsd:

    I didn't see why that would change anything and it didn't. The thing is, it will only send/accept mail (eg. not queue it) when the domain is web.lan (the host=web, domain=lan as defined in the router). I'm really stuck with this one...

    dig shows me nothing's wrong:

    [foo@web mail]# dig mx multisal.nl

    ; <<>> DiG 9.2.1 <<>> mx multisal.nl
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOTIMP, id: 24160
    ;; flags: qr ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;multisal.nl. IN MX

    ;; Query time: 1 msec
    ;; SERVER: 10.0.0.138#53(10.0.0.138)
    ;; WHEN: Fri Dec 19 18:31:09 2003
    ;; MSG SIZE rcvd: 29

    Wait, I'm not much of a network guy, but what about the router? The domain is set to 'lan'. Should that be changed to 'multisal.nl' also?
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    Sorry, I don't use insecure software -> sendmail, so I can't help you on that. The CNAME should be dropped for any situation, although it's unrelated to your existing problem. Just so you know, many DNS problems are caused by CNAME. There's no reason to use it when it's simply a matter of changing a single line in your zone file.
    As far as web.lan being used a the domain, it has nothing to do with the router. The duty of your router is to NAT/forward/filter requests, no more, no less.
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Posts
    70
    Rep Power
    11
    Oh, man. Let's see if someone else can help with this one...

    I'm looking into switching to qmail on my production box which is running RH 7.3. It seems like such a big operation and switching mta moves me straight out of my (sendmail) comfort zone for such an important thing as e-mail.

    Thanks anyway. I've been reading your posts in the Apache forum and I value your input (and, erm, 'stubbornness' with software you like -- excuse my english, probably need another word :-)

IMN logo majestic logo threadwatch logo seochat tools logo