Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Nov 2008
    Posts
    28

    Default Configure exim to stop sending mail to yahoo

    Hi

    What is the best method to instruct exim to reject all emails sent to yahoo domains?

    I have some forums on my server and lot of users have yahoo emails, so all notifications, PM emails and others are just staying on queue beeng rejected from yahoo.

    Also I want to reject all emails from yahoo if possible.

    TKS.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Mar 2003
    Location
    NC
    Posts
    725
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Out of curiosity have you tried to fix the problem rather then just disabling the emails to them?

    Have you setup domain keys + spf + rdns ?

  3. #3
    Member
    Join Date
    Nov 2008
    Posts
    28

    Default

    yes I do and I still want to block them

    so if you have a solution please help, if no let the others

  4. #4
    Zaf
    Zaf is offline
    Member
    Join Date
    Aug 2005
    Posts
    119

    Default

    You may bounce or blackhole (delete) messages in the queue which have yahoo recipients, by one of the two in cron running every minute:

    Code:
    exiqgrep -r yahoo -i | xargs -n 1 exim -Mg
    Code:
    exiqgrep -r yahoo -i | xargs -n 1 exim -Mrm
    You may also create a yahoo.com and park other yahoo.xxx on the server and set default email to bounce or blackhole to achieve the same.

    But a slightly better solution would be to hack the Exim configuration to achieve this (not sure how, never tried it before).

Similar Threads & Tags
Similar threads

  1. Yahoo / Hotmail sending mail to bulk / spam folder
    By iLLuSi0nS in forum E-mail Discussions
    Replies: 1
    Last Post: 01-22-2008, 09:12 PM
  2. Are your users having problems sending to Yahoo?
    By nickn in forum cPanel and WHM Discussions
    Replies: 33
    Last Post: 09-23-2007, 07:03 AM
  3. Stop Spam Assasin sending you mail for each mail it stopps
    By Hedloff in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-05-2005, 07:08 PM
  4. Replies: 2
    Last Post: 08-30-2004, 04:25 AM
  5. How to stop SPAMMER SENDING 5000+mail/Hr. ?
    By dolay in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 08-06-2004, 06:16 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube