you can also do this with procmail. careat a file called black.list (with the
e-mail addyes - one per line) and put it in your default mail directory and then
add a procmail recipe that looks like:
:0
* ? formail -x"From" -x"From:" -x"Sender:" \
-x"Reply-To:" -x"Return-Path:" -x"To:" \
| egrep -is -f black.lst
/dev/null
hope that helps.
On Mon, 07 Aug 2000 09:17:46 Greg Wright wrote:
:
:
:*********** REPLY SEPARATOR ***********
:
:On 7/08/00 at 13:30 Martin Sieben wrote:
:
:>Hi,
:>
:>some users are getting spam mail so I would like to put some filter or
:>blacklist up. Doing that i made /etc/mail/deny(.db). The problem is I
:>don't know how to make sendmail checking (useing) it.
:>
:>All ideas welcome!
:>
:
:for RH6.X .....
:
:you should use the access file (/etc/mail/access), within you can place
:things like.....
:
:[EMAIL PROTECTED] REJECT
:[EMAIL PROTECTED] 550 We don't accept mail from spammers
:
:
:for more info look in your /usr/doc dir or see http://www.sendmail.org
:
:Regards
:
:Greg Wright
:IT Consultant Sydney Australia
:
:--
:
:*** Please trim any replies ***
:*** Please turn off HTML in your email ***
:*** Please don't use the list for test messages ***
:*** Why not search the archives? http://moongroup.com/redhat.phtml ***
:
:
:
:_______________________________________________
:Redhat-list mailing list
:[EMAIL PROTECTED]
:https://listman.redhat.com/mailman/listinfo/redhat-list
--
Jack Wallen, Jr
Editor in Chief of Linux Content
TechRepublic
http://www.techrepublic.com/tpg
-----
I would like to urinate in an OVULAR, porcelain pool --
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list