Results 1 to 9 of 9

Thread: x-spam header modification?

  1. #1
    yens is offline Junior Member
    Join Date
    Mar 2014
    Posts
    6
    Rep Power
    1

    Default x-spam header modification?

    Hello,

    I need to change the header name from "x-spam-status" to "X-RC-SA" in order to differentiate it from any incidental spam assassin headers that might already exist in incoming messages.

    I'm not finding this possible in the salocal.cf file, nor the amavisd.conf files. Can anyone offer some advice/point me in the right direction?


    Thanks

  2. #2
    yens is offline Junior Member
    Join Date
    Mar 2014
    Posts
    6
    Rep Power
    1

    Default

    Anyone out there that can help?

  3. #3
    john.holder is offline Junior Member
    Join Date
    Apr 2014
    Posts
    6
    Rep Power
    1

    Default

    You can, but i'm not so sure that's a good idea.

    I suspect you have a pretty good reason for trying, but if you trust anything based on the header that's incoming, it means that you've created a whole by which -- if it's discovered, will bypass the very check you wish to do.

    For example, I can add any header I want to an outbound message. The reason it over writes them is because the sender might be lying to get around spam protection.

  4. #4
    yens is offline Junior Member
    Join Date
    Mar 2014
    Posts
    6
    Rep Power
    1

    Default

    Quote Originally Posted by john.holder View Post
    You can, but i'm not so sure that's a good idea.

    I suspect you have a pretty good reason for trying, but if you trust anything based on the header that's incoming, it means that you've created a whole by which -- if it's discovered, will bypass the very check you wish to do.

    For example, I can add any header I want to an outbound message. The reason it over writes them is because the sender might be lying to get around spam protection.
    Thank for the reply, John.

    The hole that will get created is ok- I indeed have good reasons for that. Question is, where can I change the x-spam headers to what I want? Which config file is it?

  5. #5
    bdial's Avatar
    bdial is offline Moderator
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    there are 2 global config values. Here are mine for instance (I modified them)

    zimbraSpamHeader: X-Spam-Flag
    zimbraSpamHeaderValue: YES

    I'm not sure if this dictates what zimbra SA adds to the messages, or just what the mailbox uses to know what e-mails to put in the Junk folder. My use case was I had a 3rd party antispam system that used that marked e-mails with that header before deliveering it to zimbra

  6. #6
    yens is offline Junior Member
    Join Date
    Mar 2014
    Posts
    6
    Rep Power
    1

    Default

    I was able to change the zimbraSpamHeader via

    #zmprov mcf zimbraSpamHeader x-rc-sa

    and confirmed my change:

    zmprov gacf | grep zimbraSpamHeader
    zimbraSpamHeader: x-rc-sa

    Sent an inbound message, and STILL I see the x-spam headers in the messages. Are there other configurations needed elsewhere to change ALL instances of 'x-spam' headers to the desired format?
    I've also tried editing the amavisd file to no avail.

    Any further input is greatly appreciated.

  7. #7
    yens is offline Junior Member
    Join Date
    Mar 2014
    Posts
    6
    Rep Power
    1

    Default

    Still looking for the method to make an all-out change of x-spam-status header to the previously mentioned format.

    Can anyone point me in the right direction here?


    Quote Originally Posted by yens View Post
    I was able to change the zimbraSpamHeader via

    #zmprov mcf zimbraSpamHeader x-rc-sa

    and confirmed my change:

    zmprov gacf | grep zimbraSpamHeader
    zimbraSpamHeader: x-rc-sa

    Sent an inbound message, and STILL I see the x-spam headers in the messages. Are there other configurations needed elsewhere to change ALL instances of 'x-spam' headers to the desired format?
    I've also tried editing the amavisd file to no avail.

    Any further input is greatly appreciated.

  8. #8
    bquinata is offline Trained Alumni
    Join Date
    May 2006
    Location
    Arizona
    Posts
    17
    Rep Power
    9

    Default

    Quote Originally Posted by yens View Post
    I was able to change the zimbraSpamHeader via

    #zmprov mcf zimbraSpamHeader x-rc-sa

    and confirmed my change:

    zmprov gacf | grep zimbraSpamHeader
    zimbraSpamHeader: x-rc-sa

    Sent an inbound message, and STILL I see the x-spam headers in the messages. Are there other configurations needed elsewhere to change ALL instances of 'x-spam' headers to the desired format?
    I've also tried editing the amavisd file to no avail.

    Any further input is greatly appreciated.
    Unfortunately, I can't find an older thread related to this topic, but from what I recall zimbra needs to be restarted for the change to be applied. I am scheduled to perform the same task later this week and a restart is one of my steps. I'll update on the outcome for future reference.

    Ben

  9. #9
    yens is offline Junior Member
    Join Date
    Mar 2014
    Posts
    6
    Rep Power
    1

    Default

    Thanks for the reply, Ben.

    I restarted all zimbra services to no avail. I mucked around with the Spam Assassin .conf files as well, but no change took.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. NO X-spam Header
    By juampii in forum Spanish
    Replies: 11
    Last Post: 06-06-2013, 11:04 AM
  2. No Spam Header Found
    By Mido3mad in forum Administrators
    Replies: 2
    Last Post: 09-23-2012, 01:33 AM
  3. typical spam header
    By bbarrons in forum Administrators
    Replies: 1
    Last Post: 10-09-2009, 07:43 AM
  4. Spam Mails gets no SPAM Header
    By randall in forum Installation
    Replies: 3
    Last Post: 06-10-2008, 03:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •