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 05-21-2010, 11:20 AM
Elite Member
 
Posts: 469
Default Best way to block one domain from connecting ?

Every day there is at least one attempt from a dynamic IP address at hinet.net to relay email through my mail server.

Is it worth my while blocking this completely ?

And if it is, how do I go about it ?

Note: all our domain mail is delivered via an offsite mail sanitiser - so 99% of it comes from a single IP address. The other legitimate server connecting are our own off site servers. So if it easier to specifically allow just a few networks - rather than to specifically block just a few networks - I would be happy to do it that way too.

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 05-25-2010, 07:51 PM
Loyal Member
 
Posts: 92
Default

I guess you can make use of smtpd_sender_restrictions or smtpd_recipient_restrictions:

Postfix Configuration Parameters
Postfix Configuration Parameters

Also check out the related zimbra wiki page:
Domain level blocking of users - Zimbra :: Wiki

Or, I've not tried it with your specific situation, but can't you get away with blocking it off at the firewall level like with iptables?
Reply With Quote
  #3 (permalink)  
Old 05-26-2010, 05:39 AM
Moderator
 
Posts: 7,928
Default

As a alternative install Welcome to the Home of OSSEC and allow it to use Active Response on your Zimbra server. That way if a host attempts to relay and it is not allowed then a IP tables rule will automatically be created.
__________________
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.