Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member abhijith's Avatar
    Join Date
    Feb 2006
    Location
    india kerala
    Posts
    21

    Default Block mails to AOL [moved]

    Hi,

    I just want to know how we can block mail to aol.com from a particular domain only. Others should be able to send mail to aol. Not from a user bur from a domain whole. Please answer .
    with thanks & regards
    Abhiith
    http://abhisite.tk

  2. #2
    Member casey's Avatar
    Join Date
    Jan 2003
    Location
    If there is trouble, it will find me
    Posts
    2,336

    Default

    Delete the offending domain?

  3. #3
    Member abhijith's Avatar
    Join Date
    Feb 2006
    Location
    india kerala
    Posts
    21

    Default

    Hii

    what i need is to block outgoing mails to aol.com from a paricular domain/IP
    with thanks & regards
    Abhiith
    http://abhisite.tk

  4. #4
    mum
    mum is offline
    Member
    Join Date
    Jul 2005
    Posts
    18

    Default

    use iptables

  5. #5
    Member
    Join Date
    Aug 2005
    Posts
    13

    Default

    You can also try to do that within /etc/antivirus.exim file like this

    if $header_from: contains "@thedomain_you_want_to_block_to_aol" and
    $header_to: contains "@aol.com"
    then
    fail text "The message you want to send to the originator of this email"
    seen finish
    end

    Hoping that the "if" accept "and" otherwise use 2 if
    like this

    if $header_from: contains "@thedomain_you_want_to_block_to_aol"
    then
    if $header_to: contains "@aol.com"
    then
    fail text "The message you want to send to the originator of this email"
    seen finish
    end
    end

    You can place these lines after
    if not first_delivery
    then
    finish
    endif


    Regards.

  6. #6
    Member abhijith's Avatar
    Join Date
    Feb 2006
    Location
    india kerala
    Posts
    21

    Default

    Thanks a lot

    thats worked
    with thanks & regards
    Abhiith
    http://abhisite.tk

Similar Threads & Tags
Similar threads

  1. mails from AOL getting bounced at random
    By mohan in forum New User Questions
    Replies: 4
    Last Post: 08-11-2008, 07:58 AM
  2. Block outgoing mail to aol.com
    By abhijith in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 06-23-2006, 05:39 AM
  3. exim not sending mails to aol
    By mohan in forum New User Questions
    Replies: 1
    Last Post: 06-02-2005, 12:30 PM
  4. AOL Mails Rejected !
    By vishal in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 07-22-2003, 06:02 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube