🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: YAMN from github on Linux

#304179
From: Grant Taylor
Date: Wed, 01 May 2019 03:28
36 lines
2242 bytes
When in doubt, add print statements to the code.

On 4/30/19 7:16 AM, Grant Taylor wrote:
> The thing that I can't get it to do is to even touch any email.  I'm 
> trying to read from a maildir.  I've tried having it read from STDIN too 
> (cat email.msg | yamn -RM).  Nothing I do seems to even acknowledge that 
> there is an email.

I've made some progress.

I added some Warn.Printf(…) statements and found a few things:

1)  SMTP uses "username" and "password", not the "smtpusername" / 
"smtppassword" in the sample files.
2)  "EnvelopeSender" should be "Address".
3)  I had to set Pooldir = /path/to/yamn/pool/ for YAMN to see my pool.

I ended up setting Size (0) and MinSend (1) in [Pool] so that YAMN would 
work with one message in the pool.

I also lowered the minimum [Pool] Loop time to 10 seconds so I could 
test faster.

When in doubt, hack some print (Warn.Printf(…)) statements into the code 
and see what happens.

YAMN did send the two messages that were in the pool (-chain "tncmm,*") 
and they did come in to the test mailbox.

So, I think I'm making progress.



-- 
Grant. . . .
unix || die
Technical Details
Message-ID: <qab43l$nbm$1@tncsrv09.home.tnetconsulting.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <qa9i5g$7js$1@tncsrv09.home.tnetconsulting.net>

Show Full Headers
Complete Article Headers
Message-ID: <qab43l$nbm$1@tncsrv09.home.tnetconsulting.net>
Subject: Re: YAMN from github on Linux
Date: Tue, 30 Apr 2019 21:28:54 -0600
From: Grant Taylor <gtaylor@tnetconsulting.net>
References: <qa9i5g$7js$1@tncsrv09.home.tnetconsulting.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: TNet Consulting
Lines: 36
Nntp-Posting-Host: alpha.home.tnetconsulting.net
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: tncsrv09.home.tnetconsulting.net 1556681653 23926 198.18.18.251 (1 May 2019 03:34:13 GMT)
X-Complaints-To: newsmaster@tnetconsulting.net
Nntp-Posting-Date: Wed, 1 May 2019 03:34:13 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3
In-Reply-To: <qa9i5g$7js$1@tncsrv09.home.tnetconsulting.net>
Content-Language: en-US