🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by jdanield Tue, 25 Jan 2022 11:29
mailpost -a
#89165
Author: jdanield
Date: Tue, 25 Jan 2022 11:29
40 lines
1556 bytes
Hello,

I fail to understand what must be done with mailpost -a and ~news/moderators

mailpost man page says:

-a addr
            If the -a flag is used, the value given is added to the 
article as an Approved: header.

what is "addr"?

whatever I set there I get

"You are not allowed to approve postings inews: article not posted
"

I see

Approved: culte.test@ns507557.dodin.fr.nf

in the mail source

my present alias line is:

test: \test,jdd@dodin.org, "| /usr/lib/news/bin/mailpost -a culte.test 
-b /var/tmp -t /var/tmp -d local culte.test"

and in ~news/moderators I tried

culte.test:test@culte.org

or

culte.test:culte.test@ns507557.dodin.fr.nf

I receive the message on the mailing list, but not on the group

thanks
jdd
Re: mailpost -a
#89172
Author: jdanield
Date: Tue, 25 Jan 2022 11:34
17 lines
1235 bytes
Le 25/01/2022 à 12:29, jdanield a écrit :
> Hello,
> 
> I fail to understand what must be done with mailpost -a and ~news/moderators
> 

I got more logs

the Approved header is set as the "-a test@culte.org" of the alias line, 
but the moderator file don't do it's job with

culte.test:test@culte.org

sur" something is wrong, but what?

thanks
jdd
Re: mailpost -a
#89195
Author: Julien ÉLIE
Date: Fri, 04 Feb 2022 21:43
38 lines
2364 bytes
Bonsoir Jean-Daniel,

> I fail to understand what must be done with mailpost -a and 
> ~news/moderators
> 
> mailpost man page says:
> 
> -a addr
>             If the -a flag is used, the value given is added to the 
> article as an Approved: header.
> 
> what is "addr"?> 
> whatever I set there I get
> 
> "You are not allowed to approve postings inews: article not posted
> "

These are good points (what is "addr" and how to fix the inews error).
I've updated the mailpost man page:

        -a addr
            If the -a flag is used, addr (which is usually the e-mail address
            of the poster) is added to the article as the body of an Approved
            header field.  It is useful if one of the newsgroup to which the
            article should be posted is moderated.  (Of course, this flag
            should be added only if you are supposed to auto-approve your
            posts.)

            Be sure that the reader connection made by inews to post the
            article is allowed to post approved articles (see the "A" letter in
            the access parameter of access blocks in readers.conf).

I hope it will give you a hint to make it work :-)

-- 
Julien ÉLIE

« Arrêtez vos salades, Romaines ! » (Astérix)
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