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.
Parents
  • 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?
Reply
  • 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?
Children
No Data