AIX

AIX

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

 View Only
  • 1.  Slow Sendmail nad traceroute problem

    Posted Mon April 06, 2009 11:06 AM

    Originally posted by: SystemAdmin


    Whenever I try to send a message via sendmail on a server it takes about 1 minute to send also whenever I do a traceroute to the server it doesn´t reach it. I´m 90% sure this is a DNS problem as I don´t have these problems on other AIX servers which have the same sendmail configuration. Does anyone know how I can confirm that this a DNS problem?

    If it is a DNS problem I don´t have access to the DNS server so I can´t fix it :o)


  • 2.  Re: Slow Sendmail nad traceroute problem

    Posted Tue April 07, 2009 03:06 AM

    Originally posted by: SystemAdmin


    Have you also checked the ethernet adapter parameters ? Sometimes the adapter speed is wrong configured, and slows the network traffic.

    You can also see the Redbook Troubleshooting in AIX 5L and conducting checks on the network before investigating DNS errors.

    Regards.
    Silvia.


  • 3.  Re: Slow Sendmail nad traceroute problem

    Posted Tue April 07, 2009 04:59 AM

    Originally posted by: SystemAdmin


    Ok I tried to do a mail to a user on the system in verbose mode as the network settings seemed fine and I got the following error:

    WARNING: local host name (local_host) is not qualified; see cf/README: WHO AM I?

    I´m not sure what this means. Can anyone help as I can´t find the cf/README?


  • 4.  Re: Slow Sendmail nad traceroute problem

    Posted Tue April 07, 2009 05:45 AM

    Originally posted by: SystemAdmin


    Ok I found out what the problem was. The local host name wasn´t defined with the domain name in the /etc/hosts file.


  • 5.  Re: Slow Sendmail nad traceroute problem

    Posted Tue April 07, 2009 05:58 AM

    Originally posted by: SystemAdmin


    I suppose you have /etc/resolv.conf defined, with
    the DNS IP. Also you have /etc/netsvc.conf with the
    setting
    local=bind,hosts

    (first looks for DNS and if not found look in /etc/hosts file).

    And your hostname is registered in the DNS, and
    the /etc/sendmail.cf have the definition:

    DwYourHostName
    DmYourDomainName
    #Cw localhost $w $?m$w.$m$. YourHostAliases
    #Cm $m YourOtherDomainNames
    #Cwlocalhost
    1. file containing names of hosts for which we receive email
    #Fw-o /etc/sendmail.cw
    1. my official domain name
    2. ... define this only if sendmail cannot automatically determine your domain
    3. your domain or you wish to override the default.
    Dj$w.$m

    The /etc/sendmail.cf explains the definitions you should do.

    Regards.
    Silvia.