Results 1 to 4 of 4

Thread: Postfix Anti-Spam Enhancement

  1. #1
    LMStone's Avatar
    LMStone is offline Moderator
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,367
    Rep Power
    10

    Default Postfix Anti-Spam Enhancement

    If your Zimbra system gets targeted by spammers, you'll notice that a spammer's email server can open up a large number of simultaneous connections to Zimbra's Postfix.

    Most of these connections will fail, often because the recipients don't actually exist on the system. But, these connections still use resources.

    So, we have for years on our other Postfix mail servers been taking advantage of two Postfix configuration settings that have reduced this problem significantly. We have now updated our Zimbra installations with the same settings, so I thought I would pass them on.

    The two settings we add to main.cf are:
    smtpd_soft_error_limit = 2
    smtpd_hard_error_limit = 3

    We do this by becoming the zimbra user and then running:
    postconf -e 'smtpd_hard_error_limit = 3'
    postconf -e 'smtpd_soft_error_limit = 2'

    We then restart Postfix to implement the changes.

    Documentation is here:
    http://www.postfix.org/postconf.5.ht...ft_error_limit

    Hope that helps,
    Mark

  2. #2
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Hey Mark, Thanks for the Tip!!

    Would you be willing to add this to our wiki:
    http://wiki.zimbra.com/index.php?tit...ti-spam_system

    Thanks again,
    john

  3. #3
    LMStone's Avatar
    LMStone is offline Moderator
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,367
    Rep Power
    10

    Default

    Quote Originally Posted by jholder View Post
    Hey Mark, Thanks for the Tip!!

    Would you be willing to add this to our wiki:
    http://wiki.zimbra.com/index.php?tit...ti-spam_system

    Thanks again,
    john
    Great idea! Done!

    Mark

  4. #4
    Douglaskimani is offline Starter Member
    Join Date
    Mar 2012
    Posts
    1
    Rep Power
    3

    Default

    Quote Originally Posted by LMStone View Post
    If your Zimbra system gets targeted by spammers, you'll notice that a spammer's email server can open up a large number of simultaneous connections to Zimbra's Postfix.

    Most of these connections will fail, often because the recipients don't actually exist on the system. But, these connections still use resources.

    So, we have for years on our other Postfix mail servers been taking advantage of two Postfix configuration settings that have reduced this problem significantly. We have now updated our Zimbra installations with the same settings, so I thought I would pass them on.

    The two settings we add to main.cf are:
    smtpd_soft_error_limit = 2
    smtpd_hard_error_limit = 3

    We do this by becoming the zimbra user and then running:
    postconf -e 'smtpd_hard_error_limit = 3'
    postconf -e 'smtpd_soft_error_limit = 2'

    We then restart Postfix to implement the changes.

    Documentation is here:
    Postfix Configuration Parameters

    Hope that helps,
    Mark
    It is a very good solution that i have just used in postfix after getting spam mails for nearly 5 months---it has worked and now zero spam into the junk folders in mail clients machines---congrats.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Trying to understand Zimbra's anti-spam system
    By TaskMaster in forum Users
    Replies: 11
    Last Post: 01-25-2008, 09:59 AM
  2. Replies: 3
    Last Post: 11-03-2007, 10:55 PM
  3. whitelist for postfix spam filters
    By pheonix1t in forum Administrators
    Replies: 11
    Last Post: 11-13-2006, 04:57 AM
  4. Anti-Spam Postfix Enhancement Request
    By LMStone in forum Installation
    Replies: 0
    Last Post: 10-27-2006, 05:37 AM
  5. Anti Spam features
    By nxnw in forum Administrators
    Replies: 1
    Last Post: 08-08-2006, 03:23 PM

Posting Permissions

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