Article View: news.software.nntp
Article #84204Re: Mail-to-News
From: Julien ÉLIE
Date: Sun, 17 Jul 2011 21:15
Date: Sun, 17 Jul 2011 21:15
62 lines
3412 bytes
3412 bytes
Hi Dennis,
> (1) Check that:
>
> server: localhost
>
> is set in inn.conf. The default is to have it unset. Without this
> set, inews won't know how to post articles.
>
> (2) Make sure the example entry:
>
> #DHD#peer ME {
> #DHD# hostname: "localhost, 127.0.0.1, ::1"
> #DHD#}
>
>
> is commented out similar to what I've done. With this entry present,
> the local host can only transit articles, not post them.
What was used to post articles?
I see that mailnews.py knows both IHAVE (transit mode) and POST (reader
mode, with MODE READER sent after connecting to the news server).
if method == 'ihave':
[…]
else:
nntplib.NNTP(host, port, readermode=True)
Unless you were using inews (POST), as it can be guessed in the comment
of (1). Then why not use rnews (IHAVE) instead? :-)
> (I've tried using mailpost on Solaris and I get a failure:
>
> can't lock /var/tmp/mailpost-msgid.lock: Bad file number
>
> on the second article posted. The first one creates the above file
> & article database. I suspect this is because mailpost uses the
> flock perl command and this isn't working as expected on Solaris.
> If so this should be easy to fix, just tweak the perl to use
> something like the perl module LockFile-Simple-0.207. Should be
> good enough. It's just finding time to do this.)
Is it linked to:
http://inn.eyrie.org/trac/ticket/81
mailpost tries to store its message ID database in INN's pathtmp,
but since it's usually running as the mail system (often daemon)
rather than as news, this fails.
or is it something totally different? What are the rights on your
/var/tmp/mailpost-msgid.lock file? (readable and writable by the user
or daemon which runs mailpost?)
--
Julien ÉLIE
« Les horizontales se rencontrent dans tous les milieux, les
parallèles jamais. » (Alphonse Allais)
Technical Details
Message-ID:
<ivvjd7$c15$1@news.trigofacile.com>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!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!weretis.net!feeder4.news.weretis.net!news.trigofacile.com!.POSTED.aaubervilliers-552-1-98-96.w83-199.abo.wanadoo.fr!not-for-mailReferences:
<iuaorh$gbt$1@n102.xanadu-bbs.net> <LnK0v2.13B.B.larch@bath.ac.uk> <iufpeq$qgh$1@n102.xanadu-bbs.net> <LnLzu6.6IE.B.larch@bath.ac.uk>Show Full Headers
Complete Article Headers
Message-ID: <ivvjd7$c15$1@news.trigofacile.com> Subject: Re: Mail-to-News Date: Sun, 17 Jul 2011 23:15:19 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <iuaorh$gbt$1@n102.xanadu-bbs.net> <LnK0v2.13B.B.larch@bath.ac.uk> <iufpeq$qgh$1@n102.xanadu-bbs.net> <LnLzu6.6IE.B.larch@bath.ac.uk> 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!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!weretis.net!feeder4.news.weretis.net!news.trigofacile.com!.POSTED.aaubervilliers-552-1-98-96.w83-199.abo.wanadoo.fr!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 17 Jul 2011 21:15:19 +0000 (UTC) Injection-Info: news.trigofacile.com; posting-host="aaubervilliers-552-1-98-96.w83-199.abo.wanadoo.fr:83.199.209.96"; logging-data="12325"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; fr; In-Reply-To: <LnLzu6.6IE.B.larch@bath.ac.uk> Lines: 61 X-Original-Bytes: 3162