|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: Blocking specifc email addresses
From: Wietse Venema (wietse
porcupine.org)
Date: Tue Mar 01 2005 - 15:10:22 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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:
user
example.com 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
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]