Article View: alt.privacy.anon-server
Article #304303Re: YAMN from github on Linux
From: Grant Taylor
Date: Sat, 04 May 2019 16:20
Date: Sat, 04 May 2019 16:20
94 lines
4755 bytes
4755 bytes
On 5/4/19 1:15 AM, Stefan Claas wrote:
> Respect, that you dive so deep into YAMN.
Even a blind hog finds a mushroom every now and then. Read: I'm
getting lucky.
> What I don't understand why is this so complicated to set-up on
> your machine?
In hindsight, I don't think it is overly complicated. I think it's me
being totally ignorant of how YAMN is supposed to work. As such, I'm
stubbing my toe on things that I probably shouldn't. Like the following:
· YAMN only looking in Maildir/new/ and ignoring content in Maildir/cur/.
· The fact that I was watching YAMN's maildir in Thunderbird caused
messages to move from Maildir/new/ to Maildir/cur/.
· This worked perfectly fine for Mixmaster.
· I assumed that what worked for Mixmaster would also work for YAMN.
· This was a dangerous assumption
· YAMN only send messages after there are sufficient messages
· cfg.Pool.Size defaults to 5.
· cfg.Pool.MinSend defaults to 5.
· This requires (at least?) 10 messages in the pool.
· This really interferes with me wondering why a pool of 1 message
isn't sent.
If anything, the complication (if it qualifies) comes from the fact that
I test incrementally along the way. Testing which is hindered by the above.
I'm starting to think that if I had just compiled and installed YAMN
things would have mostly worked.
Well, the Maildir/new/ vs Maildir/cur/ would have been an issue. But I
had a work around in place by via a .forward file sending directly into
YAMN.
"|/var/lib/yamn/yamn -R -M"
I may actually go back to this because I think YAMN will put unknown
messages into Maildir. Which means I can feed YAMN via .forward and
watch YAMN's mailbox for non-remailer messages. (Which is why I have
Thunderbird configured.)
> Can you please try the follwing instead. YAMN has a yamn.cfg
> which must reside in the it's YAMN homedir, as you know.
>
> What happens if you use the [FILES] parameters instead, of
> your hacking? Like:
I have been using the config file and the listed [FILES] section.
$ pwd
/var/lib/yamn
$ ls yamn*
yamn yamn.cfg
$ egrep "^[^#;]" yamn.cfg # I have REDACTED sensitive things.
[Mail]
SMTPRelay = smtp.tnetconsulting.net
smtpport = 587
username = REDACTED
password = REDACTED
Sendmail = true
[Stats]
[Pool]
Loop = 10
Size = 0
MinSend = 1
[Files]
Maildir = /var/lib/yamn/.maildir/
Pooldir = /var/lib/yamn/pool/
[Remailer]
Name = "tncmm"
Address = REDACTED
Exit = false
Daemon = true
The hacking of YAMN's source code has largely only been temporary
""print statements to see what it's doing. What does this variable
contain? Where was that set? Why was it set that way? What were the
dependent variables set to? Work backwards from what I see until I find
why it was set that way. That's how I found the cfg.Pool.Size and
cfg.Pool.MinSend. YAMN was seeing the messages, but not processing them
because there weren't enough messages in the pool yet.
I think the only thing that I've actually changed is some minimum wait
timers because I don't want to wait 2 ~ 5 minutes. Even that was just
lowering the minimum allowed from cfg.Pool.Loop, which I have set in the
yamn.cfg file.
--
Grant. . . .
unix || die
Technical Details
Message-ID:
<qakefh$5o7$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-mailReferences:
<qa9i5g$7js$1@tncsrv09.home.tnetconsulting.net> <qab43l$nbm$1@tncsrv09.home.tnetconsulting.net> <qab48d$nbm$2@tncsrv09.home.tnetconsulting.net> <qaf31g$2fi$3@dont-email.me> <qafbqq$vqr$1@tncsrv09.home.tnetconsulting.net> <qajcsd$7nn$1@tncsrv09.home.tnetconsulting.net> <qajd82$q4h$1@tncsrv09.home.tnetconsulting.net> <qaje6e$h1v$1@dont-email.me>Show Full Headers
Complete Article Headers
Message-ID: <qakefh$5o7$1@tncsrv09.home.tnetconsulting.net> Subject: Re: YAMN from github on Linux Date: Sat, 4 May 2019 10:20:59 -0600 From: Grant Taylor <gtaylor@tnetconsulting.net> References: <qa9i5g$7js$1@tncsrv09.home.tnetconsulting.net> <qab43l$nbm$1@tncsrv09.home.tnetconsulting.net> <qab48d$nbm$2@tncsrv09.home.tnetconsulting.net> <qaf31g$2fi$3@dont-email.me> <qafbqq$vqr$1@tncsrv09.home.tnetconsulting.net> <qajcsd$7nn$1@tncsrv09.home.tnetconsulting.net> <qajd82$q4h$1@tncsrv09.home.tnetconsulting.net> <qaje6e$h1v$1@dont-email.me> 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 X-Received-Bytes: 4692 X-Received-Body-Crc: 3721991026 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed X-Trace: tncsrv09.home.tnetconsulting.net 1556987185 5895 198.18.18.251 (4 May 2019 16:26:25 GMT) Nntp-Posting-Date: Sat, 4 May 2019 16:26:25 +0000 (UTC) In-Reply-To: <qaje6e$h1v$1@dont-email.me> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3 Newsgroups: alt.privacy.anon-server Nntp-Posting-Host: alpha.home.tnetconsulting.net Organization: TNet Consulting Lines: 94 Content-Transfer-Encoding: 8bit X-Complaints-To: newsmaster@tnetconsulting.net Content-Language: en-US