Results 1 to 9 of 9

Thread: MTA trusted networks question

  1. #1
    goran is offline Active Member
    Join Date
    Nov 2006
    Posts
    43
    Rep Power
    8

    Default MTA trusted networks question

    I have few networks in my "MTA trusted network" rule but still some mail from clients originating from those networks will occasionally get tagged as spam. There is only one domain on the server.

    Shouldn't they be trusted and not evaluated for spam?

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

    Default

    i'm not sure this setting applies for antispam. It's purpose is to define networks that can relay mail through the server without needing to authenticate.

  3. #3
    goran is offline Active Member
    Join Date
    Nov 2006
    Posts
    43
    Rep Power
    8

    Default

    Is there a way to set rule in SA to white list anything coming from local network (172.16.1.0/24 10.65.5.0/24)?

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

    Default

    Check in /opt/zimbra/conf/salocal.cf as trusted_networks should have already been defined for you ?

  5. #5
    goran is offline Active Member
    Join Date
    Nov 2006
    Posts
    43
    Rep Power
    8

    Default

    Quote Originally Posted by uxbod View Post
    Check in /opt/zimbra/conf/salocal.cf as trusted_networks should have already been defined for you ?
    It's commented

    # trusted_networks 212.17.35.

    what format it should be if I have more than one network? Will this line work

    trusted_networks 172.16.1. 10.65.5.

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

    Default

    That will work ... What I would do though is to create a file under /opt/zimbra/conf/spamassassin/<company>.cf and make the change in there. That way it will not get wiped out on a upgrade; and you can make your own adjustments without altering the ZCS vanilla install eg. pointing Bayes at a central store.

  7. #7
    goran is offline Active Member
    Join Date
    Nov 2006
    Posts
    43
    Rep Power
    8

    Default

    should i modify salocal.cf.in or salocal.cf? ... and should I include 127.0.0.1 and my Zimbra server local ip (192.168.1.241)?

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

    Default

    If you wish the change to be persistent it should be made to the .in file. I believe you will just need to add the ranges for your local networks. I am very surprised they are not in salocal.cf as within the .in file already it specifies
    Code:
    %%uncomment VAR:zimbraMtaMyNetworks%%trusted_networks %%zimbraMtaMyNetworks%%

  9. #9
    styelz is offline Junior Member
    Join Date
    Dec 2007
    Location
    Melbourne/Australia
    Posts
    8
    Rep Power
    7

    Default

    Also, you may want to increase the negative score to apply for trusted_networks.

    You can modify the file /opt/zimbra/conf/spamassassin/50_scores.cf
    and change

    score ALL_TRUSTED -1.360 -1.440 -1.665 -1.800

    to something like..

    score ALL_TRUSTED -5.360 -5.440 -5.665 -5.800

    Hope that helps. :]

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] MTA Trusted Networks Bypass Spam Filter?
    By kazooless in forum Administrators
    Replies: 6
    Last Post: 04-09-2012, 03:16 PM
  2. Daily mail report always reports "No messages found"
    By McPringle in forum Installation
    Replies: 42
    Last Post: 06-13-2011, 08:57 AM
  3. MTA Trusted Networks
    By ray.perea in forum Administrators
    Replies: 9
    Last Post: 04-07-2009, 12:23 AM
  4. error about mta trusted networks on non-mta server
    By bdial in forum Administrators
    Replies: 4
    Last Post: 02-14-2008, 09:50 AM
  5. Trusted Networks question
    By dwmtractor in forum Administrators
    Replies: 4
    Last Post: 09-28-2007, 02:15 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
  •