le Fri, Jan 18, 2002 at 02:18:41PM -0400, Matt Gorham �crivit
> How do you track a spam message to see where it cam from.  How do you stop
> spam if you do not have your own exchange server.

hello, i never trace spams. I just press 'S' in mutt in way to run a mechanism
for me. This should send this mail to vix (see www.vix.com) and put a copy in
~/Mail/spams. Only this last works :-) it's about a compare from certains words
in email header like From:<> or $$Cash! or all things you want in a
configuration file that i never found/search. Using .procmailrc on a mail
router is not a good stuff for the price of exchange. It's maybe a rule to
apply or if it's not, a package to install in microsoft. Please don't believe a
wrong finging about me. If you build a mail-firewall, I can send you some of
those spams stored and help you on writing a .procmailrc file.

Here is bermude.dnsalias.net in hostname, same in postfix/main.cf, a `fetchmail
-d 900` by bermudos and a /home/bermudos/.procmailrc to filter somethings. When
a mail coming by fetching in postfix, it's puts the mail in procmail with the
following command in postfix/main.cf

mailbox_command = /usr/bin/procmail -a $DOMAIN -d $LOGNAME

this program look in ~/.procmailrc and parse mails according rules:

MAILDIR=$HOME/Mail  # You'd better make sure it exists
LOGFILE=$MAILDIR/from
LOCKFILE=$HOME/.lockmail

:0 B : $LOCKFILE
* indows
$MAILDIR/windows

:0 B : $LOCKFILE
* info.txt.vbs
$MAILDIR/virus

:0:
* ^From.*[EMAIL PROTECTED]
/dev/null

remember that all filters are apply by order. If a mail comes from
*[EMAIL PROTECTED] containing indows in body, it goes in
/home/bermudos/Mail/windows but no in /dev/null. It's a wrong sample to show
you how it's work.

gilles
-- 
Les pommes de terre cuites sont tellement plus faciles a dig�rer 
que les pommes en terre cuite ! Alphonse Allais.
_______________________________________________
Firewalls mailing list
[EMAIL PROTECTED]
http://lists.gnac.net/mailman/listinfo/firewalls

Reply via email to