Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Wrong server host name in mail header

  1. #1
    sybux is offline Junior Member
    Join Date
    Jan 2010
    Posts
    6
    Rep Power
    5

    Default Wrong server host name in mail header

    Hi all,

    I'm running zimbra from a quite bit long but I hasn't realise that I was issuing a configuration problem.

    Time to times, some mail server reject my email. After looking around, I've seend that the mail sender server (mine) is in fact localhost and not my FQDN mail server.

    How and where can I correct this ?

    By the way, I'm running 2 domains on my Zimbra config.

    Thx in advance.

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Welcome to the forums

    Are you able to post the headers from one of the rejected messages ?

  3. #3
    sybux is offline Junior Member
    Join Date
    Jan 2010
    Posts
    6
    Rep Power
    5

    Default

    here is an example of header generated by my mail server :

    Code:
    Return-Path: lambda@lambda.com
    Received: from zimbra3-e1.priv.proxad.net (LHLO zimbra3-e1.priv.proxad.net)
     (172.20.243.153) by zimbra3-e1.priv.proxad.net with LMTP; Mon, 18 Jan 2010
     23:41:36 +0100 (CET)
    Received: from localhost (mx27-g26.priv.proxad.net [172.20.243.97])
    	by zimbra3-e1.priv.proxad.net (Postfix) with ESMTP id 513F4876
    	for ; Mon, 18 Jan 2010 23:41:36 +0100 (CET)
    Received: from localhost ([xxx.yyy.zzz.www])
    	by mx1-g20.free.fr (MXproxy) for lambda@free.fr ;
    	Mon, 18 Jan 2010 23:41:36 +0100 (CET)
    X-ProXaD-SC: state=HAM score=0
    Received: from localhost (localhost.localdomain [127.0.0.1])
    	by localhost (Postfix) with ESMTP id 749941EA2A7
    	for ; Mon, 18 Jan 2010 23:41:10 +0100 (CET)
    X-Virus-Scanned: amavisd-new at lambda.com
    Received: from localhost ([127.0.0.1])
    	by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024)
    	with ESMTP id lSmYmtr8hs5e for ;
    	Mon, 18 Jan 2010 23:41:03 +0100 (CET)
    Received: from localhost (localhost.localdomain [127.0.0.1])
    	by localhost (Postfix) with ESMTP id 9988E1EA25E
    	for ; Mon, 18 Jan 2010 23:41:03 +0100 (CET)

  4. #4
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Are you sending directly to the internet ? perhaps you would post the following from your Zimbra server
    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain mx
    dig yourdomain any
    host `hostname` <- note backticks and not single quotes

  5. #5
    sybux is offline Junior Member
    Join Date
    Jan 2010
    Posts
    6
    Rep Power
    5

    Default

    /etc/hosts :
    Code:
    127.0.0.1       localhost.localdomain localhost
    192.168.23.11   mail.lambda.com mail
    
    # The following lines are desirable for IPv6 capable hosts
    #::1     ip6-localhost ip6-loopback
    #fe00::0 ip6-localnet
    #ff00::0 ip6-mcastprefix
    #ff02::1 ip6-allnodes
    #ff02::2 ip6-allrouters
    #ff02::3 ip6-allhosts
    /etc/resolv.conf :
    Code:
    nameserver 212.27.40.241
    nameserver 212.27.40.240
    dig lambda.com :
    Code:
    ; <<>> DiG 9.4.2-P2 <<>> lambda.com mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35479
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
    
    ;; QUESTION SECTION:
    ;lambda.com.                     IN      MX
    
    ;; ANSWER SECTION:
    lambda.com.              7200    IN      MX      0 mail.lambda.com.
    
    ;; ADDITIONAL SECTION:
    mail.lambda.com.         4144    IN      A       xxx.yyy.zzz.www
    
    ;; Query time: 230 msec
    ;; SERVER: 212.27.40.241#53(212.27.40.241)
    ;; WHEN: Tue Jan 19 16:20:59 2010
    ;; MSG SIZE  rcvd: 64
    dig lambda.com any :

    Code:
    ; <<>> DiG 9.4.2-P2 <<>> lambda.com any
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18339
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;lambda.com.                     IN      ANY
    
    ;; ANSWER SECTION:
    lambda.com.              7200    IN      A       xxx.yyy.zzz.www
    lambda.com.              7200    IN      NS      ns1.zoneedit.com.
    lambda.com.              7200    IN      NS      ns4.zoneedit.com.
    lambda.com.              7200    IN      SOA     ns1.zoneedit.com. soacontact.zoneedit.com. 1027707116 14400 7200 950400 7200
    lambda.com.              7200    IN      TXT     "v=spf1 a mx ~all"
    lambda.com.              7200    IN      MX      0 mail.lambda.com.
    
    ;; Query time: 609 msec
    ;; SERVER: 212.27.40.241#53(212.27.40.241)
    ;; WHEN: Tue Jan 19 16:21:52 2010
    ;; MSG SIZE  rcvd: 185
    host `hostname` : Host mail not found: 3(NXDOMAIN)

    is it really hostname or something else ?

  6. #6
    sybux is offline Junior Member
    Join Date
    Jan 2010
    Posts
    6
    Rep Power
    5

    Default

    nobody to help me ?

  7. #7
    Bill Brock is offline Outstanding Member
    Join Date
    May 2007
    Location
    Oklahoma
    Posts
    703
    Rep Power
    9

    Default proxad.net

    Who is proxad.net. They have to be in the mix somewhere.

  8. #8
    sybux is offline Junior Member
    Join Date
    Jan 2010
    Posts
    6
    Rep Power
    5

    Default

    it's my provider

  9. #9
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,470
    Rep Power
    56

    Default

    Quote Originally Posted by sybux View Post
    it's my provider
    My own Zimbra server sits on a free.fr IP address and I don#t have any problem sending mail. Are yoy relaying through the proxad mail servers? You have the following entry in your DNS records:

    Code:
    mail.lambda.com.         4144    IN      A       xxx.yyy.zzz.www
    Does that IP address point to the LAN IP of your Zimbra server which I assume, is 192.168.23.11?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  10. #10
    sybux is offline Junior Member
    Join Date
    Jan 2010
    Posts
    6
    Rep Power
    5

    Default

    Quote Originally Posted by phoenix View Post
    Does that IP address point to the LAN IP of your Zimbra server which I assume, is 192.168.23.11?
    No, it's pointing on my public IP.

    The problem is not sending email, it's sending well header formated email.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. zmmailboxdctl is not running !!!!!!
    By olibite in forum Administrators
    Replies: 14
    Last Post: 04-28-2011, 05:50 AM
  2. Antivirus failing to start in scripted restart
    By dwmtractor in forum Administrators
    Replies: 25
    Last Post: 08-06-2009, 04:33 PM
  3. [SOLVED] Why my MTA Cross???
    By fsloke in forum Installation
    Replies: 6
    Last Post: 07-30-2008, 08:55 PM
  4. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  5. Seeming variety of problems on suse-9.1
    By Crexis in forum Installation
    Replies: 52
    Last Post: 03-04-2006, 12:19 AM

Posting Permissions

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