Results 1 to 6 of 6

Thread: Block/Filter Sending mails to a specific domain

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Posts
    6
    Rep Power
    7

    Default Block/Filter Sending mails to a specific domain

    Hey guys,

    I'm looking for a way to block all mail send to a specific domain @example.com from @mydomain.com.

    I had been searching for this in the forums, wiki and google and no luck at all, I found a lot of info on blacklisting incoming mail but not outgoing and limiting certain users to send mail to specific domains.

    But what I'm trying to do is different cause I want to block/filter all my users trying to send mail to that specific @example.com domain, if you can even send just a reply mail and not blocking will work too.

    Sorry if this was covered already but I couldn't find it.

    Thanks for any help you can give me.

  2. #2
    Join Date
    Jul 2009
    Posts
    4
    Rep Power
    6

    Default

    me too
    i want block/filter all my users/groups trying to send mail to that specific @example.com domain

  3. #3
    Join Date
    Sep 2008
    Posts
    6
    Rep Power
    7

    Default Content Filtering

    I know this can be accomplished with content inspector software but I was looking if I can acomplish this with postfix.

    Thanks.

  4. #4
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

  5. #5
    Join Date
    Sep 2008
    Posts
    6
    Rep Power
    7

    Default

    Hey thanks for your reply.

    I tried the first wikki already some time ago to restrict my distribution list on my domain and worked perfect but as stated in the wikki:
    "This will show how you can modify postfix to restrict who can send to certain addresses in your domain such as distribution lists like all@mydomain.com" This is for external mail trying to reach my domain and were trying to do viceversa here.

    About the second one I had high hopes on that when I frist found it but sadly that only restrict "certain" users so they can send mail to "certain" domains, and were trying to block all users sending mail to a specific domain maybe that can be tweaked to accomplish that, sadly Im not a postfix expert.

    Thanks again for your reply.

  6. #6
    Join Date
    Sep 2013
    Posts
    11
    Rep Power
    2

    Default

    hello all,

    well my case is a little different, i want filtration between three domains, D1, D2, D3, where D1, D2 are my domains, D3 is clients domain, do consider D as Domain i want a scenario that is shown below

    From To CC/BCC Status
    D1 D1 D1/D1 Allow mail
    D1 D2 D1/D2 Allow mail
    D1 D3 D1/D3 Total bounce
    D2 D2 D2/D2 Allow mail
    D2 D1 D2/D1 Allow mail
    D2 D3 D2/D3 Total bounce
    D3 D1 D3/D1 Total bounce
    D3 D2 D3/D2 Total bounce

    any help will be appreciated.
    Last edited by aqeel; 11-25-2013 at 06:11 AM.

Similar Threads

  1. Replies: 7
    Last Post: 04-27-2009, 03:49 AM
  2. Replies: 4
    Last Post: 02-20-2009, 01:29 AM
  3. Replies: 5
    Last Post: 06-18-2008, 02:50 AM
  4. Replies: 20
    Last Post: 03-18-2008, 06:37 AM
  5. Replies: 3
    Last Post: 07-19-2007, 03:00 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
  •