AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
#Operatingsystems
#Servers
 View Only
  • 1.  Sendmail DNS issues

    Posted 05/04/10 10:58 AM

    Originally posted by: SystemAdmin


    Dear Freinds,

    I am having a problem with sendmail,

    When my server is configured with DNS resolution, mails to the external domains (www) is failing, though i have mentioned the correct order in /etc/netsvc.conf (hosts=local,bind4).

    My DNS server will not resolve external domains.

    If the DNS configuration is removed then the mails are going properly.

    My server is running on AIX 5.3 TL9 and sendmail version is 8.13.4

    Request your assistance.
    #AIX-Forum


  • 2.  Re: Sendmail DNS issues

    Posted 05/04/10 06:06 PM

    Originally posted by: Juredd1


    What info do you have in your /etc/resolv.conf file?

    Is your DNS server resolving at all?

    "nslookup somehostname"
    #AIX-Forum


  • 3.  Re: Sendmail DNS issues

    Posted 05/06/10 08:27 AM

    Originally posted by: SystemAdmin


    My server is able to resolve internal domain names.

    I got this resolved by doing a small change in sendmail.cf.

    Please make following changes to sendmail.cf file, refresh sendmail service (if running) it & check it out.

    vi /etc/mail/sendmail.cf
    1. pass to name server to make hostname canonical
    2. R$* $] $* < $* > $* $: $2 < $ $3 $ > $4 ----> Hash this line.
    R$* $] $* $: $2
    Now sendmail will avoid using DNS resolution, it'll relay the messages to relay host without checking DNS.

    Rgds / Shankar
    #AIX-Forum