🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Rich Carreiro Thu, 02 Oct 2003 02:20
ndbm store error with mailpost
#66765
Author: Rich Carreiro
Date: Thu, 02 Oct 2003 02:20
28 lines
1955 bytes
Hello.

I'm running INN 2.3.2 (from Debian woody) and am trying
to inject articles via mailpost.

I've done some googling and know about using separate
aliases files to get the mailpost process to run
as uid/gid news/news and have done that.

However, whether I send email to one of the aliases
or whether I do:
   cat samplemail |/usr/lib/news/bin/mailpost -d local local.test
right on the command line (even as the news user), I always
get something like this:
   ndbm store returned -1, errno 13, key
   "Pine.LNX.4.44.0310012211270.12794-100000@animato.animato.arlington.ma.us"
    at /usr/lib/news/bin/mailpost line 361, <STDIN> line 25.

Any idea what's going on?  Posting from trn or Pnews or GNUS
or injecting articles via suck all works fine.

Thanks for any assistance!


-- 
Rich Carreiro                            rlcarr@animato.arlington.ma.us

Re: ndbm store error with mailpost
#66766
Author: Rich Carreiro
Date: Thu, 02 Oct 2003 02:41
20 lines
1917 bytes
Rich Carreiro <rlcarr@animato.arlington.ma.us> writes:

> However, whether I send email to one of the aliases
> or whether I do:
>    cat samplemail |/usr/lib/news/bin/mailpost -d local local.test
> right on the command line (even as the news user), I always
> get something like this:
>    ndbm store returned -1, errno 13, key
>    "Pine.LNX.4.44.0310012211270.12794-100000@animato.animato.arlington.ma.us"
>     at /usr/lib/news/bin/mailpost line 361, <STDIN> line 25.

I found the answer.

Apparently some earlier testing run I was doing created
/var/spool/news/incoming/tmp/mailpost-msgid.db and 
mailpost-msgid.dir owned root/root.  Once I chowned
them to news.news things started working.

-- 
Rich Carreiro                            rlcarr@animato.arlington.ma.us
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