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

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 03-16-2010, 08:56 AM
Loyal Member
 
Posts: 85
Default Can Zimbra Modify email headers (FROM:)?

Hi

How can I modify the headers that Zimbra sends? Here is my setup:

-have a machine that does not have a FQDN so its mailserv.company.local.
-email comes via individual POP accounts at our ISP

Problem is, mail headers show mail from mailserv.company.local, but I would like it to be mailserv.ourdomain.com. How can I do this? I have not been able to find answers by searching forum or google.

Update: I tried domain masquerade as per this post but that doesn't change the from headers:
http://www.zimbra.com/forums/install...querading.html

Regards,
Scott

Last edited by strafford; 03-17-2010 at 08:26 AM.. Reason: clarify subject
Reply With Quote
  #2 (permalink)  
Old 03-17-2010, 08:28 AM
Loyal Member
 
Posts: 85
Default

Do I have to rename the machine? If so, do I have to have a real/FQDN or can I use a bogus sub-domain (i.e. if our domain is company.com, can I use mail.company.com even though that is not registered/setup)?
Reply With Quote
  #3 (permalink)  
Old 03-17-2010, 10:03 AM
Outstanding Member
 
Posts: 594
Default

What is your domain hosted on server mailserv.company.local or mailserv.company.com ?
Reply With Quote
  #4 (permalink)  
Old 03-17-2010, 10:51 AM
Loyal Member
 
Posts: 85
Default

Currently mailserv.company.local is the server and it does not have a domain, just an IP.

Last edited by strafford; 03-17-2010 at 10:59 AM..
Reply With Quote
  #5 (permalink)  
Old 03-17-2010, 11:20 AM
Outstanding Member
 
Posts: 594
Default

So u want to create domain with mailserv.company.com and users in it ? is this wat u are trying to achieve ?
Reply With Quote
  #6 (permalink)  
Old 03-17-2010, 11:49 AM
Loyal Member
 
Posts: 85
Default

I can setup a domain no problem. I can add users, etc. My problem is with the email headers. They still say mail.company.local no matter what I try (Canonical name, masquerade, etc.) and are getting rejected by spam filters, etc.

See below for an example of what the headers would look like if we are using company.com (gmail accepts the mail so I am able to see the headers, but most others don't):

Quote:
Return-Path: <scott@company.com>
Received: from mail.company.local (d72-38-21-199.commercial1.cgocable.net [72.38.21.199])
by mx.google.com with ESMTP id 2si14534435qwi.51.2010.03.16.14.51.32;
Tue, 16 Mar 2010 14:51:32 -0700 (PDT)
Received-SPF: neutral (google.com: 72.38.21.199 is neither permitted nor denied by best guess record for domain of scott@company.com) client-ip=72.38.21.199;
Authentication-Results: mx.google.com; spf=neutral (google.com: 72.38.21.199 is neither permitted nor denied by best guess record for domain of scott@company.com) smtp.mail=scott@company.com
Received: from localhost (localhost [127.0.0.1])
by mail.company.local (Postfix) with ESMTP id 51C9670367
for <scott.trafford@gmail.com>; Tue, 16 Mar 2010 17:42:35 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.company.local
Received: from mail.company.local ([127.0.0.1])
by localhost (mail.company.local [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id oDkuAuxVTph3; Tue, 16 Mar 2010 17:42:32 -0400 (EDT)
Received: from mail.company.local (mail.company.local [192.168.7.108])
by mail.company.local (Postfix) with ESMTP id E1CFF7027D;
Tue, 16 Mar 2010 17:42:31 -0400 (EDT)
Reply With Quote
  #7 (permalink)  
Old 03-17-2010, 03:21 PM
Moderator
 
Posts: 1,554
Default

it's probably that your server is identifying itself to remote servers as mail.company.local when it says HELO

try this

zmprov mcf zimbraMtaMyHostname mail.company.com

then restart the zimbra mta (or all of zimbra to be sure)
Reply With Quote
  #8 (permalink)  
Old 03-18-2010, 07:40 AM
Loyal Member
 
Posts: 85
Default

Ok, much closer. Still have some instances of mail.company.local. See below.


Code:
Received: from mail.company.com ([127.0.0.1])
	by localhost (mail.company.local [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id ttCLbwr1kdiA; Thu, 18 Mar 2010 10:33:55 -0400 (EDT)
Received: from mail.company.local (mail.company.local [192.168.7.108])
	by mail.company.com (Postfix) with ESMTP id EDEEB70328;
	Thu, 18 Mar 2010 10:33:54 -0400 (EDT)

Last edited by strafford; 03-18-2010 at 07:52 AM..
Reply With Quote
  #9 (permalink)  
Old 03-18-2010, 12:08 PM
Loyal Member
 
Posts: 85
Default

Ok. So the headers look pretty good now after changing the mta hostname (Thanks bdial). But since my machine name is a bogus domain (mail.company.local) I can't send email from user to user (errors in logs about not finding domain even though mail.company.local is in my /etc/hosts file)

Any ideas?

Code:
 (Host or domain name not found. Name service error for name=mail.company.local type=A: Host not found)
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.