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

How to block spammers

Is there a way to prevent spammers from getting through other then the RBL list? I want to be able to  block some domains as well as individual email accounts.  


This thread was automatically locked due to age.
Parents
  • Keeping this post alive!

    It is important that we get a way of doing this (blocking individual mails and domains).

    It's easy in qmail or sendmail so why is it not possible on astaro (Exim)?

    My smtp-queue get full every single day with always the same sender(s).
  • You can do this with exim as follows:-

    edit /var/chroot-smtp/etc/exim.conf and add the 
    following line:

    sender_reject=/etc/exim.blocked

    Add the same line to the exim.comf-default file.

    Create the file /var/chroot-smtp/etc/exim.blocked
    and enter one per line the email address or domain name you need to block.

    e.g.
    spammer@spam.com
    spam-international.com

    Restart the mail proxy - this should now block the email addreses/domains listed in the exim.blocked file.

    Perhaps Astaro can put  a Webadmin interface to this in the next release ?

    John
     
     [size="1"][ 11 November 2002, 15:07: Message edited by: johna ][/size]
  • In fact there is no need to do this ! The file already exists - just add entries to block - one per line to the following file:-

    /var/chroot-smtp/etc/exim.blockedsenders

    This will block mail at the SMTP RCPT stage from any senders listed in this file.

    John
  • I am testing this.
    But why is there no interface in the webadmin to do this?

    Thanks.
Reply Children