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 01-08-2010, 02:33 AM
Advanced Member
 
Posts: 222
Default Setup Zimbra MTA, LMTP and inbound host names

Hi,

could please, someone help me properly setup some parameters in Zimbra server, so to avoid Outlook marking my own messages from my domain and to my domain as spam?

I have the following setup for mail:

MX records for ALL my domains:
IN MX 10 mx1.spamfilter.com
IN MX 20 mx2.spamfilter.com

SPAMFILTER servers then forward filtered mail FOR ALL DOMAINS to ZIMBRA hostname, which is:
zimbra.primarydomain.com

Inside ZIMBRA I have 10 domains, for example:
domain1.com
domain2.com

etc...


So, could you please ADD or MODIFY my Zimbra server settings under the following tabs:

Servers --> zimbra.primarydomain.com --> General Information
  • Display name: zimbra.primarydomain.com
  • Service Host Name: zimbra.primarydomain.com
  • LMTP advertised name: ???
  • LMTP bind address: ???

Servers --> zimbra.primarydomain.com --> MTA
  • Web mail MTA Hostnames: zimbra.primarydomain.com
  • Relay MTA for external delivery: ???

Domains --> domain1.com --> General Information
  • Domain name: domain1.com
  • Public service host name: ???
  • Inbound SMTP host name: mx1.spamfilter.com (hmm...either 1 host missing, either wrong setting here)

Domains --> domain1.com --> Virtual hosts
  • domain1.com
  • zimbra.primarydomain.com
Reply With Quote
  #2 (permalink)  
Old 01-08-2010, 02:49 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Let's start with the basics. Please update your forum profile with the output of the following command:

Code:
zmcontrol -v
Next, the output of the following commands (run on the Zimbra server):

Code:
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain.com mx
dig yourdomain.com and
host `hostname` <-- use that exact command with backticks not single quotes
I addition to that you have two spam filters but only one of them listed in the Inbound SMTP name, is that correct?

When you say "Outlook marking my own messages....", do you mean that they're on the LAN or as an external client? Do you mean that it's actually Outlook marking them as spam or the Zimbra server? Is the anti-spam system disabled on the Zimbra server?

What do the headers from one of these 'spam' messages look like?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 01-08-2010, 03:06 PM
Advanced Member
 
Posts: 222
Default

Phoenix, thank you for reply!
Quote:
Let's start with the basics. Please update your forum profile...
DONE!

Quote:
Next, the output of the following commands (run on the Zimbra server):

Code:
cat /etc/hosts
cat /etc/resolv.conf
dig yourdomain.com mx
dig yourdomain.com 
host `hostname` <-- use that exact command with backticks not single quotes
Is this really necessary? I'm not likely into revealing details to public.
But I am SURE all above settings are OK, since I followed your instructions and configured Zimbra from command line exactly as you told.

Quote:
I addition to that you have two spam filters but only one of them listed in the Inbound SMTP name, is that correct?
Very correct, because the "Inbound SMTP name" field only accepts 1 entry. I was already complying about this

Quote:
When you say "Outlook marking my own messages....", do you mean that they're on the LAN or as an external client? Do you mean that it's actually Outlook marking them as spam or the Zimbra server?
Outlook only marks messages as spam, not Zimbra.

Quote:
Is the anti-spam system disabled on the Zimbra server?
No, it is enabled.

Quote:
What do the headers from one of these 'spam' messages look like?
Here is one example:
Code:
Return-Path: labsy@domain1.com
Received: from zimbra.primarydomain.com (LHLO zimbra.primarydomain.com)
 (22.33.44.55) by zimbra.primarydomain.com with LMTP; Wed, 9 Dec 2009
 16:08:11 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by zimbra.primarydomain.com (Postfix) with ESMTP id DDDAA20C409;
	Wed,  9 Dec 2009 16:08:11 +0100 (CET)
X-Virus-Scanned: amavisd-new at zimbra.primarydomain.com
X-Spam-Flag: NO
X-Spam-Score: -4.398
X-Spam-Level: 
X-Spam-Status: No, score=-4.398 tagged_above=-10 required=6.6
	tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599, HTML_MESSAGE=0.001]
	autolearn=ham
Received: from zimbra.primarydomain.com ([127.0.0.1])
	by localhost (zimbra.primarydomain.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 5Aahmsc36yDh; Wed,  9 Dec 2009 16:07:47 +0100 (CET)
Received: from Inbox (internet-95-159-218-84.user.voodafone.com [95.159.218.84])
	by zimbra.primarydomain.com (Postfix) with ESMTPSA id E525C20C3FC;
	Wed,  9 Dec 2009 16:07:43 +0100 (CET)
MIME-Version: 1.0
content-class:
From: Labsy <labsy@domain1.com>
Subject: RE: Oppinion on design
Date: Wed, 9 Dec 2009 16:07:38 +0100
Importance: normal
X-Priority: 3
My concerns:
1.) It is weird, that mail sent by IMAP protocol from inside the server, just from one mailbox to another, was marked as SPAM by Outlook. It happens on random mail every few days.

2.) I am pretty sure most of settings are correct, except maybe those:
- Inbound SMTP Name: what should it be? The MX records from DNS zone (mx1 and mx2.spamfilter.com) or the Zimbra hostname, which receives mail from SpamFilter (zimbra.primarydomain.com)?
- Public service host name: what is this for? Is it maybe related to IMAGES in signatures, which require some password to show up in Zimbra?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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.