Thread View: news.software.nntp
6 messages
6 total messages
Started by greencoppermine
Sat, 07 Jan 2012 23:56
Can't get INN2 to accept binary content
Author: greencoppermine
Date: Sat, 07 Jan 2012 23:56
Date: Sat, 07 Jan 2012 23:56
42 lines
2181 bytes
2181 bytes
Hi.
I have just successfully setup inn2 on Debian GNU/Linux. It is just for
local usage on a LAN.
All is working fine (can post, subscribe, read, etc) with normal text
messages, but I cannot post any binary content.
When I try to post binary content I get the following error - no matter
what client I try to use:
error indicated by server: `MODE-READER'
or from another client:
WARNING: unexpected server response: 401 MODE-READER
I have set inn2 up with the standard settings on Debian and has only
added the following to allow for usage on the LAN:
auth "lan" {
hosts: "192.168.60.0/24"
default: "<LOCAL>"
}
access "full" {
newsgroups: "*"
}
Also I have noticed that normal posting gets encoded with:
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
As far as I know.. in order to post binary content it has to be 8bit
right? If so, where should this be setup?
Any help would be greatly appreciated as I have been struggling the
entire Saturday to get this working.
Kind regards.
Re: Can't get INN2 to accept binary content
Author: Julien ÉLIE
Date: Sun, 08 Jan 2012 01:07
Date: Sun, 08 Jan 2012 01:07
48 lines
2741 bytes
2741 bytes
Hi,
> All is working fine (can post, subscribe, read, etc) with normal text
> messages, but I cannot post any binary content.
>
> When I try to post binary content I get the following error - no matter
> what client I try to use:
>
> WARNING: unexpected server response: 401 MODE-READER
What do you call "binary content"? Is it a MIME article with an attachment?
How do you send the article?
> I have set inn2 up with the standard settings on Debian and has only
> added the following to allow for usage on the LAN:
>
> auth "lan" {
> hosts: "192.168.60.0/24"
> default: "<LOCAL>"
> }
>
> access "full" {
> newsgroups: "*"
> }
Did you also try to remove these hosts from incoming.conf? The response
"401 MODE-READER" is sent by innd (transit server) whereas you seem to
want nnrpd (reading and posting server).
> Content-Type: text/plain; charset=US-ASCII
> Content-Transfer-Encoding: 7bit
>
> As far as I know.. in order to post binary content it has to be 8bit
> right? If so, where should this be setup?
It is not related to INN. Header messages are written by your news
client. You should therefore have a look in the settings of your news
client.
--
Julien ÉLIE
« Dignus est intrare. » (issu de Molière)
Re: Can't get INN2 to accept binary content
Author: greencoppermine
Date: Sun, 08 Jan 2012 01:44
Date: Sun, 08 Jan 2012 01:44
34 lines
2195 bytes
2195 bytes
On Sun, 08 Jan 2012 02:07:52 +0100
Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote:
> What do you call "binary content"? Is it a MIME article with an
> attachment?
No. With binary content I mean like Usenet alt.binaries. posting with a
client like newspost.
> How do you send the article?
newspost, ypost, etc.
> > I have set inn2 up with the standard settings on Debian and has only
> > added the following to allow for usage on the LAN:
> >
> > auth "lan" {
> > hosts: "192.168.60.0/24"
> > default: "<LOCAL>"
> > }
> >
> > access "full" {
> > newsgroups: "*"
> > }
>
> Did you also try to remove these hosts from incoming.conf? The
> response "401 MODE-READER" is sent by innd (transit server) whereas
> you seem to want nnrpd (reading and posting server).
I did after reading your reply and I restarted inn2, but I get the same
respons when trying to post.
Kind regards.
Re: Can't get INN2 to accept binary content
Author: Jeffrey M. Vinocur
Date: Sun, 08 Jan 2012 03:18
Date: Sun, 08 Jan 2012 03:18
23 lines
1763 bytes
1763 bytes
In article <20120108005645.28a6c7fc@naim-work>, <greencoppermine@gmail.com> wrote: > >All is working fine (can post, subscribe, read, etc) with normal text >messages, but I cannot post any binary content. [...] > > WARNING: unexpected server response: 401 MODE-READER And you are using the same client for the text messages that work and for these messages? That seems odd. It seems perhaps like your client does not send MODE READER -- some clients have a configuration option somewhere that will tell them to do this? I agree with Julien that removing the hosts from incoming.conf should resolve this also. -- Jeffrey M. Vinocur jeff@litech.org
Resolved: Can't get INN2 to accept binary content
Author: greencoppermine
Date: Sun, 08 Jan 2012 04:47
Date: Sun, 08 Jan 2012 04:47
4 lines
1363 bytes
1363 bytes
Removing the hosts from incoming.conf did indeed solve the problem! Thanks Julien Elie and Jeffrey M Vinocur!
Re: Can't get INN2 to accept binary content
Author: Thomas Hochstein
Date: Sun, 08 Jan 2012 09:47
Date: Sun, 08 Jan 2012 09:47
34 lines
2235 bytes
2235 bytes
<greencoppermine@gmail.com> schrieb: > All is working fine (can post, subscribe, read, etc) with normal text > messages, but I cannot post any binary content. > > When I try to post binary content I get the following error - no matter > what client I try to use: > > error indicated by server: `MODE-READER' > > or from another client: > > WARNING: unexpected server response: 401 MODE-READER That looks like your client doesn't send a "MODE READER" command to switch from transit mode (innd) to nnrpd. Do you use the same client to post text and binary messages? > Also I have noticed that normal posting gets encoded with: > > Content-Type: text/plain; charset=US-ASCII > Content-Transfer-Encoding: 7bit > > As far as I know.. in order to post binary content it has to be 8bit > right? And it would have to be another Content-Type. > If so, where should this be setup? Your client should do that. -thh
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads