Re: rc.local config question

Stan Goodman <[email protected]> Mon, 10 Jan 2005 22:13:15 +0200
Newsgroups gmane.mail.smartlist.user
Message-ID <[email protected]>
** Reply to message from [email protected] on Mon, 10 Jan 2005 13:57:35
-0500 (EST)


> To simply divert messages to the request-address that don't come from
> current subscribers you can use the same mechanism smartlist uses to
> restrict postings, i.e. formail/multigram and the dist file
> 
> (define $SPAMTRAP to be a file of your choice)
> 
> :0:
> * !? formail -X"From " -xFrom: -xReply-To: -xSender: -xResent-From: \
>            -xResent-Reply-To: -xResent-Sender: -xReturn-Path: | \
>            multigram -b1 -m -l$submit_threshold -L$domain \
>             -x$listaddr -x$listreq dist
> $SPAMTRAP

If I understand the above correctly, this is a snippet intended to examine an
incoming message, and determine if there is an address in any of the named
headers that is identical to an address in the dist file, and, if not, to throw
it into a file called . SPAMTRAP (I think the "$" is not part of the filename;
is that correct?

I hope someone will correct me if I am wrong (I don't even know the name of the
language in which thise scripts are written, so anything is possible).

I think there is more to its main paragraph that than, because I can't account
for all the terms.

I am not clear what to do with the sentence "(define $SPAMTRAP to be a file of
your choice)". How define?

In what file is this piece of script intended to go? And does it matter where
in that file it is located?

-- 
Stan Goodman
Qiryat Tiv'on
Israel

"When your enemy falls, do not rejoice." -- Proverbs 24:17