Sendmail: "Transient parse error -- message queued for future delivery"


Results 1 to 9 of 9

Thread: Sendmail: "Transient parse error -- message queued for future delivery"

  1. #1
    Join Date
    Oct 2002
    Posts
    34

    Sendmail: "Transient parse error -- message queued for future delivery"

    Hi,
    I am running Redhat 9 and the latest version of sendmail on PC on my local DSL LAN.

    Sendmail refuses to work for me.

    When I try and send email from the command line I get the following in the mailq

    [root@linux2 mail]# sendmail -v -d8.32 -qI | more

    Running /var/spool/mqueue/hB9AJhKp005430 (sequence 1 of 300)
    dns_getcanonname(cpfc.org, trymx=1)
    dns_getcanonname: trying cpfc.org. (AAAA)
    NO: errno=110, h_errno=2
    cpfc.org: Name server timeout
    dave@cpfc.org... Transient parse error -- message queued for future delivery
    Obviously my DNS is set up on my external domain @ cpfc.org but Sendmail can't resolve it.

    The machine can resolve all DNS quite happily

    dig cpfc.org aaaa

    ; <<>> DiG 9.2.1 <<>> cpfc.org aaaa
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOTIMP, id: 42518
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;cpfc.org. IN AAAA

    ;; Query time: 4 msec
    ;; SERVER: 10.0.0.138#53(10.0.0.138)
    ;; WHEN: Tue Dec 9 14:30:46 2003
    ;; MSG SIZE rcvd: 26
    Thanks

    Dave

  2. #2
    Join Date
    Oct 2002
    Posts
    34
    <bump>

  3. #3
    Join Date
    Mar 2002
    Location
    Pennsylvania, USA
    Posts
    1,713
    dig cpfc.org aaaa

    is asking your DNS server for IPv6 records. What response do you get when you ask for the mail server for cpfc.org with:

    dig cpfc.org mx

    From here I get:

    Code:
    [rlcowan@delldim rlcowan]$ dig cpfc.org mx
     
    ; <<>> DiG 9.2.1 <<>> cpfc.org mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19465
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
     
    ;; QUESTION SECTION:
    ;cpfc.org.                      IN      MX
     
    ;; ANSWER SECTION:
    cpfc.org.               27390   IN      MX      10 mail.cpfc.org.
     
    ;; ADDITIONAL SECTION:
    mail.cpfc.org.          27390   IN      A       207.44.242.16
     
    ;; Query time: 42 msec
    ;; SERVER: 10.10.1.3#53(10.10.1.3)
    ;; WHEN: Sun Dec 21 17:24:45 2003
    ;; MSG SIZE  rcvd: 63
    If God hadn't meant for us to use GUI tools, there wouldn't have been a Xerox PARC.

  4. #4
    Join Date
    Oct 2002
    Posts
    34
    [davidcam@linux2 davidcam]$ dig cpfc.org mx

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

    ;; QUESTION SECTION:
    ;cpfc.org. IN MX

    ;; Query time: 52 msec
    ;; SERVER: 10.0.0.138#53(10.0.0.138)
    ;; WHEN: Sun Dec 21 22:36:29 2003
    ;; MSG SIZE rcvd: 26



    but

    [davidcam@linux2 davidcam]$ host mail.cpfc.org
    mail.cpfc.org has address 207.44.242.16
    [davidcam@linux2 davidcam]$

  5. #5
    Join Date
    Dec 1999
    Location
    Winnipeg,Manitoba,Canada
    Posts
    1,578
    From your post there was no reply...
    How is resolv.conf setup?? Maybe nsswitch.conf too..

    Is 10.0.0.138 your dns server?? as in, you set it up, or your ip??

    Let me guess, your port forwarding to this box as your mail server??

    Sendmail is looking up its own name.. and getting the external ip..
    not good for sendmail..

    You could cheat and edit the hosts file...
    then check /etc/nsswitch.conf and set the order to
    hosts: files dns

    Or get the MX records in to the "DNS" server...
    search first, ask second.
    gui tool? what is a gui tool?
    I want my 5 stars back.....

  6. #6
    Join Date
    Oct 2002
    Posts
    34
    Originally posted by jumpedintothefire
    From your post there was no reply...
    How is resolv.conf setup?? Maybe nsswitch.conf too..

    Is 10.0.0.138 your dns server?? as in, you set it up, or your ip??

    Let me guess, your port forwarding to this box as your mail server??

    Sendmail is looking up its own name.. and getting the external ip..
    not good for sendmail..

    You could cheat and edit the hosts file...
    then check /etc/nsswitch.conf and set the order to
    hosts: files dns

    Or get the MX records in to the "DNS" server...
    Thanks for the response.

    10.0.0.138 is my adsl router which pulls dns from my isp.

    Let me guess, your port forwarding to this box as your mail server??
    No - I just need this server to be able to send me sys emails - cron email and the like.


    You could cheat and edit the hosts file...
    and add what?

  7. #7
    Join Date
    Mar 2002
    Location
    Pennsylvania, USA
    Posts
    1,713
    It looks like your router is handling lookups for simple A records but it is not handling lookups for MX records.
    Did you try changing the nameserver settings in resolv.conf on the Red Hat machine to the IP addresses of the actual DNS servers supplied by your ISP? That would bypass the router all together.
    If God hadn't meant for us to use GUI tools, there wouldn't have been a Xerox PARC.

  8. #8
    Join Date
    Oct 2002
    Posts
    34
    Originally posted by cowanrl
    It looks like your router is handling lookups for simple A records but it is not handling lookups for MX records.
    Did you try changing the nameserver settings in resolv.conf on the Red Hat machine to the IP addresses of the actual DNS servers supplied by your ISP? That would bypass the router all together.
    Thats a great catch - once I changed to the external nameservers everything left the mailq

    One more problem - on my mailserver on another machine running exim the log is showing this:

    2003-12-22 21:49:55 1AYXw2-0004HV-Il H=(localhost.localdomain) [195.137.32.58] F=<> temporarily rejected after DATA: all attempts to verify a sender in a header line deferred
    2003-12-22 21:49:56 1AYXw3-0004HV-NN H=(localhost.localdomain) [195.137.32.58] F=<> temporarily rejected after DATA: all attempts to verify a sender in a header line deferred
    2003-12-22 21:49:58 1AYXw5-0004HV-F0 H=(localhost.localdomain) [195.137.32.58] F=<> temporarily rejected after DATA: all attempts to verify a sender in a header line deferred
    2003-12-22 21:49:59 1AYXw6-0004HV-J4 H=(localhost.localdomain) [195.137.32.58] F=<> temporarily rejected after DATA: all attempts to verify a sender in a header line deferred
    2003-12-22 21:50:00 1AYXw7-0004HV-IX H=(localhost.localdomain) [195.137.32.58] F=<> temporarily rejected after DATA: all attempts to verify a sender in a header line deferred
    2003-12-22 21:50:01 1AYXw8-0004HV-NU H=(localhost.localdomain) [195.137.32.58] F=<> temporarily rejected after DATA: all attempts to verify a sender in a header line deferred
    2003-12-22 21:50:02 1AYXw9-0004HV-VR H=(localhost.localdomain) [195.137.32.58] F=<> temporarily rejected after DATA: all attempts to verify a sender in a header line deferred
    2003-12-22 21:50:04 1AYXwB-0004HV-7D H=(localhost.localdomain) [195.137.32.58] F=<> temporarily rejected after DATA: all attempts to verify a sender in a header line deferred
    2003-12-22 21:50:05 1AYXwC-0004HV-Qu H=(localhost.localdomain) [195.137.32.58] F=<> temporarily rejected after DATA: all attempts to verify a sender in a header line deferred
    2003-12-22 21:50:06 1AYXwD-0004HV-Ne H=(localhost.localdomain) [195.137.32.58] F=<> temporarily rejected after DATA: all attempts to verify a sender in a header line deferred
    2003-12-22 21:50:07 1AYXwE-0004HV-RO H=(localhost.localdomain) [195.137.32.58] F=<> temporarily rejected after DATA: all attempts to verify a sender in a header line deferred
    2003-12-22 21:50:08 1AYXwG-0004HV-0V H=(localhost.localdomain) [195.137.32.58] F=<> temporarily rejected after DATA: all attempts to verify a sender in a header line deferred
    2003-12-22 21:50:09 1AYXwG-0004HV-SG H=(localhost.localdomain) [195.137.32.58] F=<> temporarily rejected after DATA: all attempts to verify a sender in a header line deferred
    2003-12-22 21:50:10 1AYXwH-0004HV-WC H=(localhost.localdomain) [195.137.32.58] F=<> temporarily rejected after DATA: all attempts to verify a sender in a header line deferred
    2003-12-22 21:50:11 1AYXwI-0004HV-Vz H=(localhost.localdomain) [195.137.32.58] F=<> temporarily rejected after DATA: all attempts to verify a sender in a header line deferred
    2003-12-22 21:50:12 1AYXwJ-0004HV-SQ H=(localhost.localdomain) [195.137.32.58] F=<> temporarily rejected after DATA: all attempts to verify a sender in a header line deferred
    2003-12-22 21:50:13 1AYXwK-0004HV-Pj H=(localhost.localdomain) [195.137.32.58] F=<> temporarily rejected after DATA: all attempts to verify a sender in a header line deferred
    2003-12-22 21:50:14 1AYXwM-0004HV-CY H=(localhost.localdomain) [195.137.32.58] F=<> temporarily rejected after DATA: all attempts to verify a sender in a header line deferred
    The IP 195.137.32.58 is

  9. #9
    Join Date
    Mar 2002
    Location
    Pennsylvania, USA
    Posts
    1,713
    The IP 195.137.32.58 is
    Is that a question? Is that IP address on your network?

    A reverse lookup on 195.137.32.58 gives:

    Code:
    [rlcowan@delldim rlcowan]$ dig -x 195.137.32.58
     
    ; <<>> DiG 9.2.1 <<>> -x 195.137.32.58
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24829
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
     
    ;; QUESTION SECTION:
    ;58.32.137.195.in-addr.arpa.    IN      PTR
     
    ;; ANSWER SECTION:
    58.32.137.195.in-addr.arpa. 85737 IN    PTR     i-195-137-32-58.freedom2surf.net.
     
    ;; Query time: 1 msec
    ;; SERVER: 10.10.1.3#53(10.10.1.3)
    ;; WHEN: Mon Dec 22 18:31:06 2003
    ;; MSG SIZE  rcvd: 90
    That just looks like a default ISP reverse address listing.
    It could be possible that there is mail coming in to your server from that IP address. That error message may mean that it is unable to get a satisfactory reverse lookup on the IP address.
    If you have your mail server set up to require a reverse DNS lookup before it will accept mail from any server, mail coming in from that server may be rejected.
    If God hadn't meant for us to use GUI tools, there wouldn't have been a Xerox PARC.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •