🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #89201

mailpost -d option and debugging

#89201
From: jdanield
Date: Sat, 05 Feb 2022 16:32
38 lines
1951 bytes
I try to make mailpost work. It's pretty hard because mailpost is half 
news half mail, so the work have to be done as root and logs are spread 
everywhere

my notes:

http://dodin.me/wiki/pmwiki.php?n=Doc.ConfigurerINN-2021#toc-9.1.a

on a more precise one, "-d local" as said here:

https://www.eyrie.org/~eagle/software/inn/docs/mailpost.html

gives error messages and block the post.

mail to nobody (root)

inews failed: inews: cannot send article to server: 441 437 Unwanted 
distribution "local" inews: article not posted

/etc/aliases

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

journalctl:

févr. 05 12:24:08 ns507557 postfix/local[17938]: 0D66C2D557: 
to=<test@dodin.fr.nf>, relay=local, delay=0.19, delays=0/0/0/0.19, 
dsn=5.3.0, status=bounced (Command died with status 1: 
"/usr/lib/news/bin/mailpost -b /var/spool/mailpost -t /var/tmp -d local 
culte.test")

févr. 05 12:24:08 ns507557 mailpost[17957]: inews failed: inews: cannot 
send article to server: 441 437 Unwanted distribution "local" inews: 
article not posted


jdd
Technical Details
Message-ID: <stm8r4$608$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <stm8r4$608$1@dont-email.me>
Subject: mailpost -d option and debugging
Date: Sat, 5 Feb 2022 17:32:35 +0100
From: jdanield <jdd@dodin.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: A noiseless patient Spider
Lines: 38
Reply-To: jdd@dodin.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 5 Feb 2022 16:32:36 -0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0
Cancel-Lock: sha1:/wbO9J3aacUeKldWzFC5sEmVzSA=
Content-Language: en-US