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 12-08-2009, 10:13 AM
Member
 
Posts: 13
Default Disabling Anti-Spam

Can anyone tell me how to disable the anti-spam service from the command line? When I try to do it from the admin console there's some weird bug that gives me this message:

Quote:
Invalid Value

Message: Error! Value for MTA Trusted Networks must contain local network interfaces: [our IPs].
Additional information about MTA Trusted Networks configuration can be found at ZimbraMtaMyNetworks - Zimbra :: Wiki
Our MTA Trusted Networks value actually does contain the IPs it reports, though.

Anyway, in short I'm just wondering how I could do this from the command line.
Reply With Quote
  #2 (permalink)  
Old 12-08-2009, 09:38 PM
Outstanding Member
 
Posts: 594
Default

This error comes when you dont have proper subnet mask in place. Reverify your valur of MTAMyNetworks . Disabling AS/AV wont help in this case.
Reply With Quote
  #3 (permalink)  
Old 12-08-2009, 11:45 PM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

A few questions:

Quote:
Originally Posted by That Guy from that Place View Post
Can anyone tell me how to disable the anti-spam service from the command line? When I try to do it from the admin console there's some weird bug that gives me this message:
Why are you trying to do this? What's wrong with your AS/AV set-up?


Quote:
Originally Posted by That Guy from that Place View Post
Our MTA Trusted Networks value actually does contain the IPs it reports, though.
Could post the output of the Checking the current configuration from the wiki article.
__________________
Regards


Bill
Reply With Quote
  #4 (permalink)  
Old 12-09-2009, 07:31 AM
Member
 
Posts: 13
Default

Quote:
Originally Posted by phoenix View Post
A few questions:

Why are you trying to do this? What's wrong with your AS/AV set-up?
We use Postini for our anti-spam service. We wanted to give Zimbra's AS service a try to see how it would work along with Postini, but we decided to stick with just Postini. We are keeping AV, though.

Quote:
Could post the output of the Checking the current configuration from the wiki article.
Maybe I'm being paranoid but I'm a little uncomfortable posting our IPs. I don't know how useful this will be, but here's the output of those commands with the IPs edited:

Quote:
$ zmprov getServer mta2.ourdomain.com | grep zimbraMtaMyNetworks
zimbraMtaMyNetworks: x.y.0.0/16, 127.0.0.0/8, 64.18.0.0/20, 10.0.80.0/24, 172.31.0.5, 172.31.255.254, 172.31.88.71, 172.31.88.72, 172.31.142.71, 209.213.219.6, 75.125.144.82, x.y.a.b, x.y.a.c
Quote:
$ postconf mynetworks
mynetworks = x.y.0.0/16, 127.0.0.0/8, 64.18.0.0/20, 10.0.80.0/24, 172.31.0.5, 172.31.255.254, 172.31.88.71, 172.31.88.72, 172.31.142.71, 209.213.219.6, 75.125.144.82, x.y.a.b, x.y.a.c
We own x.y.0.0/16. x.y.a.b and x.y.a.c are the IPs of the two NICs in this mail server (though x.y.0.0/16 should cover that). I notice that other examples don't use commas. I don't imagine this could be throwing it off? Otherwise, I would think we would be having much more serious issues.
Reply With Quote
  #5 (permalink)  
Old 12-10-2009, 08:30 AM
Member
 
Posts: 13
Default

I think I found how to do this from another post. Does this look like it'd do the trick?

Code:
zmprov ms server.domain.com -zimbraServiceEnabled Antispam
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.