Re: Blocking specifc email addresses

From: Wietse Venema (no email)
Date: Tue Mar 01 2005 - 16:10:22 EST

  • Next message: Noel Jones: "Re[4]: Blocking mail from=<>"

    Shaun Grogan:
    > Whe have a gilr a t work that is getting harrasing email from an
    > ex-husband. What do I need to do to block his email address
    > specifically.

    To silently throw away that mail:

    /etc/postfix/main.cf:
        smtpd_sender_restrictions = hash:/etc/postfix/sender_access

    /etc/postfix/sender_access:
                discard

    This filters on the MAIL FROM address, not the address in the
    From: message header.

    Instead of discard you can use reject or redirect, depending
    on Postfix version.

            Wietse


  • Next message: Noel Jones: "Re[4]: Blocking mail from=<>"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD