Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Installation

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-18-2010, 02:59 PM
Junior Member
 
Posts: 6
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.
Reply With Quote
  #2 (permalink)  
Old 01-18-2010, 03:01 PM
Moderator
 
Posts: 7,929
Default

Welcome to the forums

Are you able to post the headers from one of the rejected messages ?
__________________
Reply With Quote
  #3 (permalink)  
Old 01-18-2010, 03:34 PM
Junior Member
 
Posts: 6
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)
Reply With Quote
  #4 (permalink)  
Old 01-18-2010, 04:45 PM
Moderator
 
Posts: 7,929
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
__________________
Reply With Quote
  #5 (permalink)  
Old 01-19-2010, 07:25 AM
Junior Member
 
Posts: 6
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 ?
Reply With Quote
  #6 (permalink)  
Old 01-21-2010, 03:44 PM
Junior Member
 
Posts: 6
Default

nobody to help me ?
Reply With Quote
  #7 (permalink)  
Old 01-21-2010, 04:39 PM
Outstanding Member
 
Posts: 684
Default proxad.net

Who is proxad.net. They have to be in the mix somewhere.
Reply With Quote
  #8 (permalink)  
Old 01-21-2010, 10:33 PM
Junior Member
 
Posts: 6
Default

it's my provider
Reply With Quote
  #9 (permalink)  
Old 01-21-2010, 11:22 PM
Zimbra Consultant & Moderator
 
Posts: 20,317
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
Reply With Quote
  #10 (permalink)  
Old 01-22-2010, 07:16 AM
Junior Member
 
Posts: 6
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.