Thread View: news.software.nntp
9 messages
9 total messages
Started by Diesis
Wed, 27 Nov 2002 11:27
Mail <-> News Gateway
Author: Diesis
Date: Wed, 27 Nov 2002 11:27
Date: Wed, 27 Nov 2002 11:27
35 lines
2238 bytes
2238 bytes
I'm starting a mail <-> news gateway, using the mail2news script, inn 2.2.3 under RedHat Linux 7.0 1) I have tried the mail2news approach. It works fine for plain text articles, but when I try to transfer an article with mime attachments, it is never accepted by innd. Mail2news run silently. I have tried to convert the email article with the correct news header with mail2news. Everything seems to be ok. After that I have tried to load this article with rnews (the way mail2news uses) with: rnews -v < my_converted_mime_article It run silently, but the article never shows up in the newsgroup. The only thing that i get is an entry in the messages log: ---CUT--- Nov 27 12:01:49 www innd: localhost connected 17 streaming allowed Nov 27 12:01:49 www innd: localhost:17 closed seconds 0 accepted 0 refused 1 rejected 0 ---CUT--- How could I troubleshoot this ? How do i increment logging of INND ? 2) Does anyone knows of another not_too_much_complicated_way to do this ? Thank you, -- Gabriele ITALY
Re: Mail <-> News Gateway
Author: Jeffrey M. Vinocur
Date: Wed, 27 Nov 2002 11:34
Date: Wed, 27 Nov 2002 11:34
20 lines
1598 bytes
1598 bytes
In article <as2a1k$s4q$1@newsreader.mailgate.org>, Diesis <diesisme_this_is_for_spammers_@freemail.it> wrote: > >rnews -v < my_converted_mime_article > >Nov 27 12:01:49 www innd: localhost connected 17 streaming allowed >Nov 27 12:01:49 www innd: localhost:17 closed seconds 0 accepted 0 refused 1 >rejected 0 "refused" means that INN has already seen the Message-ID. I bet you're testing with the same article over and over -- you'll only get the *real* reason once. Change the Message-ID and check the logs again. The rejection reason can be found in ~news/log/news file. -- Jeffrey M. Vinocur jeff@litech.org
Re: Mail <-> News Gateway
Author: Diesis
Date: Wed, 27 Nov 2002 11:56
Date: Wed, 27 Nov 2002 11:56
33 lines
2083 bytes
2083 bytes
WOW what a fast and wornderful reply. > get the *real* reason once. Change the Message-ID and check Yes, it was the message ID. I changed only a number in it, and the article has been loaded ! 2) Is there a way to reset the "seen" messages ? Now the sequel: 3) Now the article is loaded, but the attachment is not shown as mime. It is uuencoded in the body of the message. I can't get > The rejection reason can be found in ~news/log/news file. 4) I have only this in #cat /var/log/news/news: ---CUT--- Nov 22 08:41:15.546 + localhost <3DCC33E9@webmail.micronet.it> 985 Nov 22 12:25:14.097 + localhost <1037964219.27494.180.camel@debian> 1655 Nov 22 13:28:48.943 + localhost <3DDE20C3.9050209@corteconti.it> 1039 Nov 25 14:34:20.696 + localhost <H64WB7$540D2A4C52E676D4F090C7D0CBD2ACBE@libero.it> 1696 ---CUT--- How do I increment logging ? Thanks -- Gabriele
Re: Mail <-> News Gateway
Author: Jeffrey M. Vinocur
Date: Wed, 27 Nov 2002 12:05
Date: Wed, 27 Nov 2002 12:05
45 lines
2138 bytes
2138 bytes
In article <as2bp1$tet$1@newsreader.mailgate.org>, Diesis <diesisme_this_is_for_spammers_@freemail.it> wrote: >WOW what a fast and wornderful reply. :-) >> get the *real* reason once. Change the Message-ID and check > >Yes, it was the message ID. I changed only a number in it, and the article >has been loaded ! Good. >2) Is there a way to reset the "seen" messages ? They are stored in the history databse. You can delete all of the history files in ~news/db and create them again by the directions in INSTALL. >3) Now the article is loaded, but the attachment is not shown as mime. It is >uuencoded in the body of the message. I can't get That's how attachments generally get sent in usenet. But is that not what the article was before you sent it to INN? >> The rejection reason can be found in ~news/log/news file. > >4) I have only this in #cat /var/log/news/news: Indeed, since your article was not rejected, it indicates a + in that file. >How do I increment logging ? I don't understand this question. -- Jeffrey M. Vinocur jeff@litech.org
Re: Mail <-> News Gateway
Author: Diesis
Date: Thu, 28 Nov 2002 13:28
Date: Thu, 28 Nov 2002 13:28
42 lines
2420 bytes
2420 bytes
> >2) Is there a way to reset the "seen" messages ? > > They are stored in the history databse. You can delete all of > the history files in ~news/db and create them again by the > directions in INSTALL. mmmh.. ---CUT--- #ls /var/spool/news/db total 8 drwxr-xr-x 2 news news 4096 Nov 20 18:32 . drwxrwxr-x 12 news news 4096 Nov 20 18:46 .. -rw-r--r-- 1 news news 0 Nov 20 18:32 history ---CUT--- Zero bytes .... Is this a problem ? > >3) Now the article is loaded, but the attachment is not shown as mime. It is I solved the problem. It was not by the inn side. It was a fault of mail2news, that doesen't convert the boundary="$somestring" mime header of the message. I patched mail2news adding the match of this header, and everything now is going in the right way. > >> The rejection reason can be found in ~news/log/news file. > >4) I have only this in #cat /var/log/news/news: > >How do I increment logging ? > I don't understand this question. I mean that I wish to increment the verbosity of the logged actions taken by innd and companions. Thank you ! -- Gabriele
Re: Mail <-> News Gateway
Author: Jeffrey M. Vinocur
Date: Thu, 28 Nov 2002 16:58
Date: Thu, 28 Nov 2002 16:58
38 lines
2211 bytes
2211 bytes
In article <as55h3$hch$1@newsreader.mailgate.org>, Diesis <diesisme_this_is_for_spammers_@freemail.it> wrote: >> >2) Is there a way to reset the "seen" messages ? >> >> They are stored in the history databse. You can delete all of >> the history files in ~news/db and create them again by the >> directions in INSTALL. > >-rw-r--r-- 1 news news 0 Nov 20 18:32 history > >Zero bytes .... Is this a problem ? As soon as you post a message it should go up... >> >3) Now the article is loaded, but the attachment is not shown as mime. It >is >I solved the problem. It was not by the inn side. >It was a fault of mail2news, that doesen't convert the > boundary="$somestring" >mime header of the message. > >I patched mail2news adding the match of this header, and everything now is >going in the right way. Ah. Might you submit the patch to inn-patches? (@isc.org) >I mean that I wish to increment the verbosity of the logged actions taken by >innd and companions. Oh. Is your syslog.conf set up to save news.debug messages? Those may be helpful. -- Jeffrey M. Vinocur jeff@litech.org
Re: Mail <-> News Gateway
Author: Diesis
Date: Thu, 28 Nov 2002 19:15
Date: Thu, 28 Nov 2002 19:15
74 lines
3478 bytes
3478 bytes
Let's go on: > >-rw-r--r-- 1 news news 0 Nov 20 18:32 history > >Zero bytes .... Is this a problem ? > As soon as you post a message it should go up... Unchanged since installation. It wa smy fault. The right one is: ---CUT--- # ls /var/lib/news/history -rw-r--r-- 1 news news 38077 Nov 28 19:48 /var/lib/news/history ---CUT--- Even if ---CUT--- # cat /etc/passwd | grep news news:x:9:13:news:/var/spool/news: ---CUT--- ---QUESTION--- Is this setting hard coded ? I can't find it in /etc/news/inn.conf ---QUESTION--- > >I patched mail2news adding the match of this header, and everything now is > >going in the right way. > Ah. Might you submit the patch to inn-patches? (@isc.org) I use the mail2news perl script coming from http://www.tldp.org/HOWTO/mini/Mail2News.html, not the one in the contrib tools @isc.org. > >I mean that I wish to increment the verbosity of the logged actions taken by > >innd and companions. > > Oh. Is your syslog.conf set up to save news.debug messages? Another blurb fact: ---CUT--- # cat /etc/syslog.conf | grep news *.info;mail.none;news.none;authpriv.none /var/log/messages uucp,news.crit /var/log/spooler news.=crit /var/log/news/news.crit news.=err /var/log/news/news.err news.notice /var/log/news/news.notice ---CUT--- but: ---CUT--- # ls /var/log/news total 60 drwxrwxr-x 2 news news 4096 Nov 28 20:10 . drwxr-xr-x 8 root root 4096 Nov 24 04:02 .. -rw-rw-r-- 1 news news 47 Nov 28 20:09 activedloads -rw-rw-r-- 1 news news 217 Nov 28 15:33 errlog -rw-rw-r-- 1 news news 41777 Nov 28 19:57 news -rw-rw-r-- 1 news news 0 Nov 20 18:46 news.crit -rw-rw-r-- 1 news news 0 Nov 20 18:46 news.err -rw-rw-r-- 1 news news 0 Nov 20 18:46 news.notice ---CUT--- Another time some setting is declared in another place ? Thanks -- Gabriele ITALY
Re: Mail <-> News Gateway
Author: Jeffrey M. Vinocur
Date: Fri, 29 Nov 2002 05:20
Date: Fri, 29 Nov 2002 05:20
41 lines
2452 bytes
2452 bytes
In article <as5pqt$bi$1@newsreader.mailgate.org>, Diesis <diesisme_this_is_for_spammers_@freemail.it> wrote: > > [ two active files on the system, in different locations ] > ># cat /etc/passwd | grep news >news:x:9:13:news:/var/spool/news: > >Is this setting hard coded ? I can't find it in /etc/news/inn.conf As mentioned in the inn.conf manpage, there are settings for where all of the INN files go (pathetc, pathdb, pathspool, patharticles, pathlog, ...). There are defaults for most of them, so you may not see them listed. You can specify them with ./configure at compile time. >> >I mean that I wish to increment the verbosity of the logged actions taken >by >> >innd and companions. >> >> Oh. Is your syslog.conf set up to save news.debug messages? > >news.=crit /var/log/news/news.crit >news.=err /var/log/news/news.err >news.notice /var/log/news/news.notice > ># ls /var/log/news >-rw-rw-r-- 1 news news 0 Nov 20 18:46 news.crit >-rw-rw-r-- 1 news news 0 Nov 20 18:46 news.err >-rw-rw-r-- 1 news news 0 Nov 20 18:46 news.notice That's very odd. Have you restarted syslogd with a `kill -HUP` since you changed syslog.conf? -- Jeffrey M. Vinocur jeff@litech.org
Re: Mail <-> News Gateway
Author: Diesis
Date: Fri, 29 Nov 2002 08:44
Date: Fri, 29 Nov 2002 08:44
25 lines
1890 bytes
1890 bytes
> > [ two active files on the system, in different locations ] Yes, now I have noted. inn.conf settings overrides defaults. > >> Oh. Is your syslog.conf set up to save news.debug messages? I will add in /etc/syslog.conf: news.debug /var/log/news/news.debug for testing purposes. And restart syslogd ;) > ># ls /var/log/news > >-rw-rw-r-- 1 news news 0 Nov 20 18:46 news.crit > .. > That's very odd. Have you restarted syslogd with a `kill -HUP` > since you changed syslog.conf? I'm ashamed :-( -- Gabriele ITALY
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