This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Another "Spammers" question

Put the domains to be blocked in the exim.blockedsenders file. This will block mail from mail clients which ignore the refusal from Exim at the MAIL FROM: stage of the SMTP protocol, but will block them at the RCPT TO: stage.

John


This thread was automatically locked due to age.
  • According to replies to my previous posting (thanx guys) I have modified the exim.conf file and creted a file called exim.blocked to include a list of senders to block. Although the filter seems to be working the spammers still get through. When i added a netscape.net domain, email from me@netscape.net was blocked, yet when I put in a spammers domain ex. dailypromo.net those still get through.

    My question would be, in the exim.blocked file, should I enter the domains as they appear in the FROM: field or should I check the header of the email and enter the domain of the server actuall sending the email?

    Thanx in advance.
  • I have done what you recommend but spammers still get through. Whay is that? I have entered all of their domain names in exim.blocksenders and also have the sender_reject = /etc/exim.blocked set up in my conf file and that file also contains the list of domains to block. But spammers still get through.
  • Are you blocking just the second level?  ie  CHEESE.COM as opposed to SPAM.CHEESE.COM?  

    I'm having the same trouble and I'm wondering if there is a wildcard that should go in front of these?
  • Yes, that's exectly what I'm doing.
  • OK!  I got this to work!

    The wildcard is....... *

    Go figure.  So *.cheese.com will block:

    spam1.cheese.com
    spam2.cheese.com
    spam3.cheese.com

    BUT NOT 

    cheese.com

    so you should probably use both.

    Now I recommend *.cheese.com
    (careful to use  ^ the dot)
    and NOT *cheese.com
    because you may want to block
    sex.com and not
    deusex.com.

    Got it?