Help - Sendmail Server

Discussion in 'Server Operation' started by oceanserv, Jan 29, 2010.

  1. oceanserv

    oceanserv New Member

    Hi guys,



    Recently i setting new Sendmail server and hosting 1 domain. And i got problem with sending mail and return with another domain as extention domain. For more detail this is what i setting in server :


    # /etc/hosts

    127.0.0.1 localhost.localdomain locahost


    # /etc/resolv.conf
    nameserver 165.21.83.88
    nameserver 165.21.100.88


    #/etc/sysconfig/network
    NETWORKING=yes
    NETWORKING_IPV6=yes
    HOSTNAME=mail.jcmetal.com.sg


    #hostname
    S3Server


    I test sending mail to any domain was no problem. Then suddently issue happen
    when my user sending mail with wrong email address format, my user type below format in "To:" as rcpt :

    <'forex@agf.com.sg'>


    then email bounce back as below :

    Final-Recipient: RFC822; 'forex@agf.com'.inovuus.com
    Action: failed
    Status: 5.1.2
    Remote-MTA: DNS; agf.com'.inovuus.com
    Last-Attempt-Date: Fri, 29 Jan 2010 22:58:29 +0800

    Return-Path: <test@enterprisesg.com>
    Received: from enterprisesg.com (localhost.localdomain [127.0.0.1])
    by s3.inovuus.com (8.13.8/8.13.8) with ESMTP id o0TEwN5G026571
    for <'forex@agf.com'>; Fri, 29 Jan 2010 22:58:28 +0800
    From: "test" <test@enterprisesg.com>
    To: <'forex@agf.com'.inovuus.com>
    Subject: test
    Date: Fri, 29 Jan 2010 22:58:23 +0800
    Message-Id: <20100129145802.M93935@enterprisesg.com>
    X-Mailer: OpenWebMail 2.53
    X-OriginatingIP: 125.163.176.50 (test)
    MIME-Version: 1.0
    Content-Type: text/plain;


    My issue is why email bounce back was added another extention domain which not host in my server.

    'forex@agf.com'.inovuus.com


    Inovuus.com was not host in my server.



    Btw, My domain DNS is not in my server but host in our datacenter DNS Server. So my server only run Sendmail Mailserver.

    i will appriciated if any one in here can help me and give me solution, where is the setting in sendmail to fixed this issue ?



    Thanks
    Denny
     
  2. bernholdt

    bernholdt Member

    Did you copy info from /etc/hosts cause you are missing a l in localhost

    # /etc/hosts

    127.0.0.1 localhost.localdomain locahost

    127.0.0.1 localhost.localdomain localhost
     
  3. oceanserv

    oceanserv New Member

    Hmm I'm not sure, at my /etc/hosts i just configure


    127.0.0.1 localhost.localdomain localhost


    Thats all.


    any other information i have to add in hosts file ?
     

Share This Page