AIX

AIX

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


#Power
 View Only
  • 1.  unable to send mail

    Posted Wed June 02, 2010 10:31 AM

    Originally posted by: ganesh201


    1. echo "hi" |sendmail -v domain.com
    root... alias database /etc/mail/aliases.db out of date
    /dead.letter... Saved message in /dead.letter
    i got this error when i try to send mail.can anyone tell what problem and how to solve this.
    #AIX-Forum


  • 2.  Re: unable to send mail

    Posted Wed June 02, 2010 10:59 AM

    Originally posted by: orphy


    Try running "newaliases" to see if it helps.
    Orphy
    #AIX-Forum


  • 3.  Re: unable to send mail

    Posted Thu June 03, 2010 05:43 AM

    Originally posted by: ganesh201


    1. newaliases
    WARNING: local host name (INMAADLFAXDB01) is not qualified; see cf/README: WHO AM I?
    WARNING: Group writable directory /var/spool
    WARNING: Group writable directory /var/spool/mqueue
    /etc/mail/aliases: 3 aliases, longest 9 bytes, 46 bytes total
    i got this error,how to resolve this and send mail.
    #AIX-Forum


  • 4.  Re: unable to send mail

    Posted Thu June 03, 2010 05:47 AM

    Originally posted by: ganesh201


    1. echo "hi" |sendmail -v ganesan.selvarajan@citi.com
    WARNING: local host name (INMAADLFAXDB01) is not qualified; see cf/README: WHO AM I?
    /dead.letter... Saved message in /dead.letter

    if i try to sendmail , i got this error now
    #AIX-Forum


  • 5.  Re: unable to send mail

    Posted Thu June 03, 2010 09:45 AM

    Originally posted by: orphy


    It appears that you might have more issues that we thought initially. Your best bet might be to open a PMR with Support. They will be able to go through the Sendmail config with you to resolve any issues you have.
    Orphy
    #AIX-Forum


  • 6.  Re: unable to send mail

    Posted Thu June 03, 2010 09:51 AM

    Originally posted by: tony.evans


    When you read cf/README: WHO AM I? did it help to explain the issue?

    http://www.sendmail.org/m4/whoami.html

    
    Who Am I?   Normally, the $j macro is automatically defined to be your fully qualified domain name (FQDN). Sendmail does 
    
    this by getting your host name using gethostname and then calling gethostbyname on the result. For example, in some environments gethostname returns only the root of the host name (such as 
    "foo"); gethostbyname is supposed to 
    
    return the FQDN (
    "foo.bar.com"). In some (fairly rare) cases, gethostbyname may fail to 
    
    return the FQDN. In 
    
    this 
    
    case you must define confDOMAIN_NAME to be your fully qualified domain name. This is usually done using: Dmbar.com define(`confDOMAIN_NAME
    ', `$w.$m')dnl
    

    #AIX-Forum