Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2003
    Posts
    75

    How to block/bounce an email address?

    I've got an email client on a 550 who's being harassed by email, and want to block a particular email address. I know I can blacklist an email address in spam assassin and have it auto-delete, but rather want it to bounce back to the harassing sender.

    Is there a simple way of doing this?
    If so, is it server wide or can I make it specific to a hosted domain on the 550?

    thnx, Manny

  2. #2
    Join Date
    Sep 2003
    Location
    London, UK
    Posts
    188
    procmail is your best bet, i found a few things on google about it. check out the blacklist recipe http://john.beimler.org/blacklist_bo..._procmail.html
    Rob Johnston | LucidUK.com | Rob@LucidUK.com
    Who is Rob? boobear.co.uk
    MSN: msn@luciduk.com | AIM: rob at lucid

  3. #3
    Join Date
    Apr 2001
    Location
    FL, USA
    Posts
    949
    Check out the /etc/mail/access list. You can block specific IPs in there like:

    aemail4u.com 550 Go away no need for your spam here.


    This blocks all email from the aemail4u.com spammers. It sends them a nice message in their error log...

    After editing the access file, you will need to run:

    makemap hash /etc/access</etc/access

    Restart sendmail

    We save you time, money, and frustration by handling the server management tasks required to run an online business successfully.
    No prodding required. We just do it right the first time. Red Hat, MySQL, Plesk, and cPanel certified staff.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •