Article View: news.software.nntp
Article #74306Cleanfeed config to allow HTML and binary attachments
From: John F. Morse
Date: Sun, 01 Oct 2006 17:35
Date: Sun, 01 Oct 2006 17:35
46 lines
2643 bytes
2643 bytes
I can post an image inserted inline to my "local" groups, but if I
attach it, the server refuses to accept it. They are small .jpg files.
I usually insert, so I was unaware of the problem until a user pointed
it out today when trying to post a screen capture of his ISP's mail
server page.
I had forgotten to change this file after renaming the local groups by
adding "xanadu." to their names.
This is Cleanfeed 20020501.
I don't use the cleanfeed.local file ($config_dir => 'undef'), but
instead use just the filter_innd.pl (which is the cleanfeed.pl version).
# Copyright 1999 Jeremy Nixon <jeremy@exit109.com>
# Copyright 2001 Marco d'Itri <md@linux.it>)
Here are the parts I modified, with the added groups (xanadu.*) added as
"^xanadu\." on the ends:
### binaries allowed if groups match
bin_allowed => '^\w+\.binae?r|^alt\.sex\.pictures|^fur\.artwork'.
'|^alt\.anonymous\.messages$|^de\.alt\.dateien|^rec\.games\.bolo$'.
'|^comp\.security\.pgp\.test$|^sfnet\.tiedostot'.
'|^fido\.|^linux\.|^unidata|^xanadu\.',
<snip>
### HTML allowed here (if block_html or block_multi_alt is
turned on)
html_allowed => '^microsoft\.|^xanadu\.',
What am I missing, where did I goof, or is there another place that is
rejecting attachments?
What does the "^" represent?
Could this file simply use "xanadu.*" instead of "xanadu\." for a wildcard?
TIA,
--
John
Technical Details
Message-ID:
<O%STg.165050$QM6.101199@bgtnsc05-news.ops.worldnet.att.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn12feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <O%STg.165050$QM6.101199@bgtnsc05-news.ops.worldnet.att.net> Subject: Cleanfeed config to allow HTML and binary attachments Date: Sun, 01 Oct 2006 17:35:42 GMT From: "John F. Morse" <xanadu.bbs@invalid.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn12feed!worldnet.att.net!bgtnsc05-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail Reply-To: xanadu.bbs@invalid.net Organization: Xanadu BBS User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: news.software.nntp Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 46 NNTP-Posting-Host: c5ecb14dd1fd4e19c72a852063cf96cc X-Complaints-To: abuse@worldnet.att.net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1159724142 NNTP-Posting-Date: Sun, 01 Oct 2006 17:35:42 GMT