Results 1 to 3 of 3

Thread: Best way to block one domain from connecting ?

  1. #1
    liverpoolfcfan's Avatar
    liverpoolfcfan is online now Outstanding Member
    Join Date
    Oct 2009
    Location
    Dublin, IRELAND
    Posts
    698
    Rep Power
    6

    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.

  2. #2
    gettyless is offline Loyal Member
    Join Date
    Mar 2007
    Posts
    95
    Rep Power
    8

    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?

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

    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. block external domain
    By ocbineesh in forum Administrators
    Replies: 1
    Last Post: 04-29-2010, 05:55 AM
  2. [SOLVED] Block my internal domain from sending out
    By dchristiaan in forum Administrators
    Replies: 1
    Last Post: 08-21-2009, 09:12 PM
  3. Replies: 7
    Last Post: 04-27-2009, 02:49 AM
  4. Replies: 3
    Last Post: 11-12-2008, 04:26 AM
  5. Replies: 20
    Last Post: 03-18-2008, 05:37 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
  •