🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by rone Sat, 20 Jan 2007 04:34
INN's mailpost
#74682
Author: rone
Date: Sat, 20 Jan 2007 04:34
13 lines
1544 bytes
I had to migrate the news server off someone's personal computer
(running Linux) at work.  Now mailpost is failing on the new news
server (running Solaris).  At first, it was inews bonking out with
"What server?"  I set it, and now mailpost is failing silently.  I set
$debugging to 1 (which is nearly the extent of my perl capabilities)
and i still got no output whatsoever.  What can i do to try to figure
out where the problem lies?  I'm certain it's not a problem with
sendmail, inews, or INN.

rone
-- 
Clever got me this far
Then tricky got me in
Re: INN's mailpost
#74691
Author: rone
Date: Sun, 21 Jan 2007 19:14
17 lines
1772 bytes
In article <rone.eos643$s6s$1@ennui.org>, rone <^*&#$@ennui.org> wrote:
>I had to migrate the news server off someone's personal computer
>(running Linux) at work.  Now mailpost is failing on the new news
>server (running Solaris).  At first, it was inews bonking out with
>"What server?"  I set it, and now mailpost is failing silently.  I set
>$debugging to 1 (which is nearly the extent of my perl capabilities)
>and i still got no output whatsoever.  What can i do to try to figure
>out where the problem lies?  I'm certain it's not a problem with
>sendmail, inews, or INN.

You'll all be glad to know that i solved my problem by adding 'daemon'
to the 'news' group.

rone
-- 
Clever got me this far
Then tricky got me in
Re: INN's mailpost
#74692
Author: Russ Allbery
Date: Sun, 21 Jan 2007 22:08
27 lines
2247 bytes
rone <^*&#$@ennui.org> writes:
> In article <rone.eos643$s6s$1@ennui.org>, rone <^*&#$@ennui.org> wrote:

>> I had to migrate the news server off someone's personal computer
>> (running Linux) at work.  Now mailpost is failing on the new news
>> server (running Solaris).  At first, it was inews bonking out with
>> "What server?"  I set it, and now mailpost is failing silently.  I set
>> $debugging to 1 (which is nearly the extent of my perl capabilities)
>> and i still got no output whatsoever.  What can i do to try to figure
>> out where the problem lies?  I'm certain it's not a problem with
>> sendmail, inews, or INN.

> You'll all be glad to know that i solved my problem by adding 'daemon'
> to the 'news' group.

Oh!  Yes.

Hm.  It really should have given you an error message when that didn't
work.  And there does appear to be code here to call mailArtAndDie if
inews fails, with the output of inews included.  I wonder why that didn't
work.

-- 
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.
Re: INN's mailpost
#74695
Author: rone
Date: Sun, 21 Jan 2007 23:09
30 lines
2234 bytes
In article <87y7nw118p.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
>Hm.  It really should have given you an error message when that didn't
>work.  And there does appear to be code here to call mailArtAndDie if
>inews fails, with the output of inews included.  I wonder why that didn't
>work.

It turned out that it did send an error message.  Either i was too
tired to notice, or the mail seemed to take some time to end up in
root's mailbox (and later news's mailbox once i realized i hadn't set
the 'usenet: news' alias), and i'm pretty sure i checked repeatedly.

But yes, the fact that debugging = 1 (or the undocumented -n flag)
failed to produce any output whatsoever was quite irksome.  Another
thing i think is a bug

    # can't use $inn::tmpdir as we're usually not running as news
    my $Tmpdir = "/var/tmp" ;

But, six lines above that:

    my $Database = ($opt_b || $inn::pathtmp) . "/mailpost-msgid" ;

$Tmpdir gets used for the temporary article, but the msgid database
and lockfile still try getting written to $PATHTMP.

rone
-- 
Clever got me this far
Then tricky got me in
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