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 06-26-2011, 09:32 PM
New Member
 
Posts: 4
Default Trust Spam headers from another MTA?

Hi,

I've got ZCS 6.0.13_GA_2918 setup as a primary mail system, with an additional backup server (not running Zimbra) defined by an MX record.

The secondary MTA (postfix) has spamassassin and other filtering setup and relays to the Zimbra server.

Unfortunately, mail that the secondary MTA marks as spam is not considered spam by Zimbra.

I've got the secondary MTA in "trusted_networks" and "internal_networks" in salocal.cf.in.

Any insight on how I can go about telling the Zimbra server that mail marked as spam by the other MTA *is* spam, and to trust its headers (e.g. X-Spam-Flag)?

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 06-26-2011, 10:56 PM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

Quote:
Originally Posted by hewbert007 View Post
I've got the secondary MTA in "trusted_networks" and "internal_networks" in salocal.cf.in.
Why?

[QUOTE=hewbert007;220674]Any insight on how I can go about telling the Zimbra server that mail marked as spam by the other MTA *is* spam, and to trust its headers (e.g. X-Spam-Flag)?/QUOTE]Why doesn't the server that's marking this mail as spam deal with it itself? You're merely wasting processing by passing a 'known' spam message to another server.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 06-26-2011, 11:16 PM
New Member
 
Posts: 4
Default

Quote:
Originally Posted by phoenix View Post
Why?
Quote:
Originally Posted by hewbert007 View Post
Any insight on how I can go about telling the Zimbra server that mail marked as spam by the other MTA *is* spam, and to trust its headers (e.g. X-Spam-Flag)?/QUOTE]Why doesn't the server that's marking this mail as spam deal with it itself? You're merely wasting processing by passing a 'known' spam message to another server.
I wasn't completely sure of these options, but that's what I got from the docs here:
Mail::SpamAssassin::Conf - SpamAssassin configuration file
Quote:
trusted_networks:
MXes for your domain(s) and internal relays should also be specified using the internal_networks setting. When there are 'trusted' hosts that are not MXes or internal relays for your domain(s) they should only be specified in trusted_networks.
Quote:
internal_networks:
What networks or hosts are 'internal' in your setup. Internal means that relay hosts on these networks are considered to be MXes for your domain(s), or internal relays.
...
Every entry in internal_networks must appear in trusted_networks; in other words, internal_networks is always a subset of the trusted set.
Is that what you were asking?
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.