🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #304316

Re: Yamn Client Suggestions

#304316
From: Zax
Date: Sat, 04 May 2019 22:00
59 lines
3435 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Sat, 4 May 2019 16:16:48 -0500, inwtx wrote in
Message-Id: <qakvg2$ra3$1@news.mixmin.net>:

>   Thanks.  I have tried something that seems to be getting around the
> problem, at least in my first return test.  What I am doing is building
> the chain from the message file as before, but before I send the packet
> through yamn, I am deleting the Chain: line from the message.  The Chain:
> is now not showing up in the news group test message.  I will mention 
> again, that when I send a message with the command line, the Chain: will
> show up.

Looking at the yamn code, the chain input is read in this segment of
code in client.go:-

// Read the chain from flag or config
        var in_chain []string
        if flag_chain == "" {
                in_chain = strings.Split(cfg.Stats.Chain, ",")
        } else {
                in_chain = strings.Split(flag_chain, ",")
        }
        if len(in_chain) == 0 {
                err = errors.New("Empty input chain")
                return
        }

The first conditional checks if a --chain option has been
passed on the command line.  It is has, it uses it.  If it hasn't, it
takes the value from the config file (with a default of "*,*,*").  The
next conditional tests that the chain length (from either method) is
greater than zero.  There doesn't appear to be any functionality to
handle a Chain header within the payload text file.  If a Chain header
is put in there, it will be delivered with the payload, like any other
header.  Is this the behaviour you're seeing?

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEJHudPu4ysYQcZBcigyyPTc2QQmMFAlzOC3kACgkQgyyPTc2Q
QmMG+g/7BlSJGh3IG7vlUfdpLcGOTDsbxmqpaavoBR+gd2/FEzxgI6kvXefcLFvs
QbtyAfhLPLinBXwkGQ34vx53/YhcoUE5DwUZDVaiWWwuOqZ9qLDPIwfW+f4hmncq
NRKA0idUHAO10Q6pPBXpHy4GQedqtO7KzHeAoyoopv6f7kBgiGNUZx0hF7j/6BCi
evW44cGU7CIw0h1mJtE19R8757N9JlgV0mycygRbRizYXikJk6G05NXY0paX1apy
Nr1YeIgl1hQwxl5+A/HuST7kEkVVMErAjYK7Q6S6pdLeD5QvtTMiTeiXZaptzbBY
XA060wXkKNj2JTOezD3UtkA0AAlumeHY8pZgH4QN+r29v1Pw8Cwr+iBqg6aKUFts
kzxu7pn2qzZKyJBaNsFiCe3KNerFBt+Pdep6FvP2PXJ6l15d0TlGtvAUK3e8nPih
Iukq99W0vD2kCDEJktmkj0FvnU6cYiabbJgcfV0D3aizQDQ62UkQypWSjobBPQCl
fdqsQhSmTXmJIn+jAZdgbB1QZRBesc+FmCE3Rg4c7HCUtMqqxLQv00YHGmiM8oUj
HpTubhO+bXeKxU9E2LGBW5UQm4SOzReaSeL0RLBYn27MWGAf6ba0UJpH8xTHAIxX
AH7ImztSfNB881Vkop/Md3F3x6EToAuN7EEJf3FTOYAZAewI7nY=
=UlO4
-----END PGP SIGNATURE-----

-- 
pub   1024D/228761E7 2003-06-04 Steven Crook <steve@mixmin.net>
      Key fingerprint = 1CD9 95E1 E9CE 80D6 C885  B7EB B471 80D5 2287 61E7
ssb  rsa4096/832C8F4DCD904263 created: 2019-05-04 expires: 2024-05-02 usage: S
Technical Details
Message-ID: <slrnqcs2rp.u39.admin@fleegle.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
References: <slrnqcrusq.u39.admin@fleegle.mixmin.net> <qakvg2$ra3$1@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnqcs2rp.u39.admin@fleegle.mixmin.net>
Subject: Re: Yamn Client Suggestions
Date: Sat, 04 May 2019 22:00:25 +0000
From: Zax <admin@mixmin.net>
References: <slrnqcrusq.u39.admin@fleegle.mixmin.net> <qakvg2$ra3$1@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: Mixmin
Injection-Date: Sat, 4 May 2019 22:00:25 -0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="bdf18d9e8138a073bb450e983b794af46e205557";
User-Agent: slrn/pre1.0.4-2 (Linux)
Lines: 58