Results 1 to 5 of 5

Thread: Strip "Recieved" headers via Postfix

  1. #1
    psarhjinian is offline Active Member
    Join Date
    Dec 2009
    Posts
    30
    Rep Power
    5

    Thumbs down Strip "Recieved" headers via Postfix

    We're starting to see hosts on the internet block mail from our mailserver based on entries in the SMTP header's Received: fields on the grounds that certain outbound IPs have sent infected messages to the internet at some point in time.

    The problem is that we have a large number of mobile contractors, and they're often on someone else's network, and that person's network shows up as a Received: entry. And sometimes that IP's presence in the list of Received: headers is enough to get a message blocked.

    I can get around this by having our contractors establish a VPN connection, but that will get expensive quickly. I can also have debates with other mail server admins handling these devices, but that takes days to resolve.

    What I would like to do is have Postfix strip out Received headers. I've found instructions to do this, but I'd like to know if anyone else has done this and if it's "safe" to do with Zimbra's Postfix.

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Perhaps by making a modification :- http://www.zimbra.com/forums/install...querading.html

  3. #3
    psarhjinian is offline Active Member
    Join Date
    Dec 2009
    Posts
    30
    Rep Power
    5

    Default

    I looked at masquerading, but it didn't do what I wanted because it wouldn't strip the Received headers of prior SMTP deliveries.

    The last post in that message is similar to what I want to do, but it's still just rewriting the header, rather than excising it altogether. It is pretty close (they're using REPLACE; I'd intended to use IGNORE) to what I want to do, and should work as long as no one I try to send mail to is filtering on domain names in the Received header in the manner I see them do with IPs now.

    I'll try and see what happens. It's nice to see someone else has done it.

    It would be nice to see this as a config option, what with spam filtering becoming so zealous that this is now necessary.

  4. #4
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Then please file a RFE

  5. #5
    psarhjinian is offline Active Member
    Join Date
    Dec 2009
    Posts
    30
    Rep Power
    5

    Default

    I have been looking at this but I can't figure out what to modify. Changing either
    • /opt/zimbra/conf/postfix_header_checks
    • /opt/zimbra/conf/postfix_header_checks.in

    sees the changes discarded when zmmtaconfigctl is restarted.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. postdrop fail to create file after upgrade to 5.0.3
    By echoadisan in forum Installation
    Replies: 23
    Last Post: 07-15-2013, 03:02 PM
  2. Replies: 9
    Last Post: 10-25-2009, 08:20 AM
  3. [SOLVED] Distribution list
    By chandu in forum Administrators
    Replies: 16
    Last Post: 04-02-2009, 05:17 AM
  4. changed ip addr/zmmailboxdctl not running
    By pwhite76 in forum Installation
    Replies: 23
    Last Post: 03-11-2009, 11:43 AM
  5. DMZ relay to Zimbra internal host
    By swordfish in forum Installation
    Replies: 12
    Last Post: 02-04-2009, 11:30 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
  •