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 10-11-2007, 10:14 AM
Intermediate Member
 
Posts: 24
Default SA: adding a custom header when spam is detected

Hi,

is it possible to configure SA in a way, that a custom header line is added, when it detects a mail as spam? Specifically: I want it to add "Precedence: junk", not a custom line like "X-Spam..:".

Any help?

Christian
Reply With Quote
  #2 (permalink)  
Old 10-11-2007, 10:41 AM
Moderator
 
Posts: 1,027
Default

It's not a header, but the GUI has an option to add a prefix to the subject line. Go to Global Settings, click on the AS/AV tab, and you'll find the field where the subject prefix can be entered. Would this resolve your problem?
Reply With Quote
  #3 (permalink)  
Old 10-11-2007, 11:24 AM
Moderator
 
Posts: 1,027
Smile Or to get what you REALLY asked for. . .

The header that is inserted in the email is done by spamassassin, not by zimbra. You can search for Spamassassin documentation on that.

I happened across another thread after my last post that you need to remember if you change your header, as opposed to simply adding another custom header to what's already there. If I correctly understand the thread (insiders can correct me), the X-Spam-Flag header is what Zimbra uses to determine if you're looking at spam that is going to the Junk folder or not.

So, if you change your spam header, you have to let Zimbra know that it's different or it won't know how to handle the spam messages

At the command line as the zimbra user, type
Code:
zmprov gacf | grep zimbraSpamHeader
and you'll see the X-SPAM header that you're already getting. zmprov mcf would then allow you to change those options to match your new headers (but I'd recommend backing up your /opt/zimbra/conf/spamassassin folder first in case you blow something up)
Reply With Quote
  #4 (permalink)  
Old 10-11-2007, 11:27 AM
Moderator
 
Posts: 2,207
Default

Christian, you can modify the subject (as dwmtractor suggested) but I'm not sure you can (read : "are allowed by the RFC") to add a line inthe headers that does not begins by X-something.

What exactly would you like to get ?
Reply With Quote
  #5 (permalink)  
Old 10-13-2007, 10:39 AM
Intermediate Member
 
Posts: 24
Default

Quote:
Originally Posted by Klug View Post
Christian, you can modify the subject (as dwmtractor suggested)
Yes, I know that.
Quote:
Originally Posted by Klug View Post
but I'm not sure you can (read : "are allowed by the RFC") to add a line inthe headers that does not begins by X-something.
I am not an expert at that, but why is this so? The header I want (see below) seems perfectly valid and is defined.

Quote:
Originally Posted by Klug View Post
What exactly would you like to get ?
I would like to get "Precedence: junk". The reason is that I forward mail to another mailserver (exchange) and the header-line will make it stop trying to reply to spam.
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.