๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #52954

Re: problem filtering (filter_ind.pl)

#52954
From: Russ Allbery
Date: Wed, 20 Jun 2001 06:43
27 lines
2424 bytes
Christian St๏ฟฝger <christian.stoeger@einsteinet.de> writes:

> Rejecting from filter_nnrpd.pl is possible, but I don't know how to
> throw the message away (or mailing it to the admins) without sending an
> error message to the user (spammer).

See README.perl_hook:

    If filter_post() returns something other than the empty string, this
    message is normally returned to the client as an error.  There are two
    exceptions:  If the string returned begins with "DROP", the post will be
    silently discarded and success returned to the client.  If the string
    begins with "SPOOL", success is returned to the client, but the post is
    saved in a directory named "spam" under the directory specified by
    pathincoming in inn.conf (in a directory named "spam/mod" if the post is
    to a moderated group).  This is intended to allow manual inspection of
    the suspect messages; if they should be posted, they can be manually
    moved out of the subdirectory to the directory specified by pathincoming
    in inn.conf, where they can be posted by running `rnews -U'.  If you use
    this functionality, make sure those directories exist.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <ylithrzm5a.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <9gng16$9hjvv$1@ID-75320.news.dfncis.de> <ylithsi34v.fsf@windlord.stanford.edu> <9gpgaa$ab8nk$1@ID-75320.news.dfncis.de>

Show Full Headers
Complete Article Headers
Message-ID: <ylithrzm5a.fsf@windlord.stanford.edu>
Subject: Re: problem filtering (filter_ind.pl)
Date: Wed, 20 Jun 2001 06:43:45 +0000
From: Russ Allbery <rra@stanford.edu>
References: <9gng16$9hjvv$1@ID-75320.news.dfncis.de> <ylithsi34v.fsf@windlord.stanford.edu> <9gpgaa$ab8nk$1@ID-75320.news.dfncis.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 26
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.Stanford.EDU 993019426 14306 171.64.13.23 (20 Jun 2001 06:43:46 GMT)
X-Complaints-To: news@news.stanford.edu
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)