Thread View: alt.privacy.anon-server
22 messages
22 total messages
Started by Grant Taylor
Tue, 30 Apr 2019 13:16
YAMN from github on Linux
Author: Grant Taylor
Date: Tue, 30 Apr 2019 13:16
Date: Tue, 30 Apr 2019 13:16
42 lines
2302 bytes
2302 bytes
Is anyone else running YAMN as a remailer on Linux? Much of what I've seen seems to be related to YAMN as a client (using other remailers) and / or running on Windows. I successfully downloaded, compiled, and configured YAMN (go get …, go build, cp examples/yamn.cnf.remailer yamn.cnf, vi yamn.cnf) and can start it in --remailer --daemon mode. 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 even tried changing the Maildir in the yamn.cnf file and saw that YAMN did create the new Maildir. So I'm confident that it's pointing at the proper directory. A maildir vs a sub-maildir didn't seem to make any difference either. Does anyone have anything obvious that I can look at? $ egrep "^[^#;]" yamn.cfg [Mail] SMTPRelay = 127.0.0.1 [Stats] [Pool] Loop = 5 [Files] Maildir = /var/lib/yamn/.maildir/.Incoming/ [Remailer] Name = "REDACTEDforNow" Address = REDACTEDforNow Exit = false Daemon = false Any help or pointers would be appreciated. -- Grant. . . . unix || die
Re: YAMN from github on Linux
Author: SEC3
Date: Tue, 30 Apr 2019 13:42
Date: Tue, 30 Apr 2019 13:42
57 lines
2792 bytes
2792 bytes
On 4/30/19 9:16 AM, Grant Taylor wrote: > Is anyone else running YAMN as a remailer on Linux? > > Much of what I've seen seems to be related to YAMN as a client (using > other remailers) and / or running on Windows. > > I successfully downloaded, compiled, and configured YAMN (go get …, go > build, cp examples/yamn.cnf.remailer yamn.cnf, vi yamn.cnf) and can > start it in --remailer --daemon mode. > > 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 even tried changing the Maildir in the yamn.cnf file and saw that YAMN > did create the new Maildir. So I'm confident that it's pointing at the > proper directory. A maildir vs a sub-maildir didn't seem to make any > difference either. > > Does anyone have anything obvious that I can look at? > > $ egrep "^[^#;]" yamn.cfg > [Mail] > SMTPRelay = 127.0.0.1 > [Stats] > [Pool] > Loop = 5 > [Files] > Maildir = /var/lib/yamn/.maildir/.Incoming/ > [Remailer] > Name = "REDACTEDforNow" > Address = REDACTEDforNow > Exit = false > Daemon = false > > Any help or pointers would be appreciated. > I ran into the same thing you describe when first setting up Yamn's configuration. Stefan told me about the" Pipe" setting. Using that allowed mail to start flowing finally. [Mail] # SMTPRelay = 127.0.0.1 Pipe = "/usr/sbin/sendmail -t" I thought Pipe was an undocumented feature but in fact it is mentioned in the source documentation. See <https://github.com/crooks/yamn/blob/master/doc/yamn.1> -- SEC3 Pinger Admin Contact information at <https://sec3.net>
Re: YAMN from github on Linux
Author: Grant Taylor
Date: Tue, 30 Apr 2019 13:45
Date: Tue, 30 Apr 2019 13:45
35 lines
2054 bytes
2054 bytes
On 4/30/19 7:42 AM, SEC3 wrote: > I ran into the same thing you describe when first setting up Yamn's > configuration. Stefan told me about the" Pipe" setting. Using that > allowed mail to start flowing finally. Okay. I read about Pipe. But I figured that would be more related to getting email out of YAMN than getting email into YAMN, which is my current problem. Or does YAMN not do anything at all if it can't get email out? I can't even get YAMN to indicate that it sees any email, either from the Maildir or STDIN (when using -RM). > [Mail] > # SMTPRelay = 127.0.0.1 > Pipe = "/usr/sbin/sendmail -t" I'll give it a try for giggles. > I thought Pipe was an undocumented feature but in fact it is mentioned > in the source documentation. See > > <https://github.com/crooks/yamn/blob/master/doc/yamn.1> Yep. Thank you for the reply SEC3. -- Grant. . . . unix || die
Re: YAMN from github on Linux
Author: Grant Taylor
Date: Tue, 30 Apr 2019 13:51
Date: Tue, 30 Apr 2019 13:51
16 lines
1566 bytes
1566 bytes
On 4/30/19 7:45 AM, Grant Taylor wrote: > I can't even get YAMN to indicate that it sees any email, either from > the Maildir or STDIN (when using -RM). > > I'll give it a try for giggles. No change. Does YAMN send help messages like Mixmaster if it doesn't recognize the incoming email? Or does it blindly ignore them? -- Grant. . . . unix || die
Re: YAMN from github on Linux
Author: SEC3
Date: Tue, 30 Apr 2019 14:10
Date: Tue, 30 Apr 2019 14:10
49 lines
2526 bytes
2526 bytes
On 4/30/19 9:51 AM, Grant Taylor wrote: > On 4/30/19 7:45 AM, Grant Taylor wrote: >> I can't even get YAMN to indicate that it sees any email, either from >> the Maildir or STDIN (when using -RM). >> >> I'll give it a try for giggles. > > No change. Sorry Grant, my mistake. The advice above was intended for Yamn client settings not for Yamn remailer settings which you were asking about. My experience is that running the Yamn daemon is not enough to get mail delivered to the remailer address. One also has to set up something like a forward file or procmail recipe (see below) to complete the delivery of incoming mail. My procmailrc file for the Esn Remailer account: =================== SHELL=/bin/bash PMDIR=$HOME/procmail LOGFILE=$PMDIR/procmail.log # LOGFILE=/dev/null # Set on when debugging # # VERBOSE=on VERBOSE=off DEFAULT=$HOME/yamn/Maildir/ MAILDIR=$HOME/yamn/Maildir # # This pipes all incoming mail to my remailer script Yamn :0 | /home/yamn/yamn/yamn -R -M =================== > Does YAMN send help messages like Mixmaster if it doesn't recognize the > incoming email? Or does it blindly ignore them? I think the incomplete deliveries sit in /var/mail/yourremailer and collect dust there. -- SEC3 Pinger Admin Contact information at <https://sec3.net>
Re: YAMN from github on Linux
Author: Grant Taylor
Date: Tue, 30 Apr 2019 14:41
Date: Tue, 30 Apr 2019 14:41
61 lines
3087 bytes
3087 bytes
On 4/30/19 8:10 AM, SEC3 wrote: > Sorry Grant, my mistake. The advice above was intended for Yamn client > settings not for Yamn remailer settings which you were asking about. No problem. Mistakes happen. It's how we respond to them that matters. ;-) > My experience is that running the Yamn daemon is not enough to get mail > delivered to the remailer address. Agreed. > One also has to set up something like a forward file or procmail recipe > (see below) to complete the delivery of incoming mail. I've not gotten to the point of trying to get incoming email automatically handled by YAMN. At the moment I'm trying to manually go through the process to test YAMN itself. > My procmailrc file for the Esn Remailer account: I take it that, since you are using procmail, you are running YAMN on a Linux mail server. > =================== > SHELL=/bin/bash > PMDIR=$HOME/procmail > LOGFILE=$PMDIR/procmail.log > # LOGFILE=/dev/null > # Set on when debugging # > # VERBOSE=on > VERBOSE=off > DEFAULT=$HOME/yamn/Maildir/ > MAILDIR=$HOME/yamn/Maildir > # > # This pipes all incoming mail to my remailer script Yamn > :0 > | /home/yamn/yamn/yamn -R -M > =================== It looks like you're having procmail deliver to a program, which is YAMN. > I think the incomplete deliveries sit in /var/mail/yourremailer and > collect dust there. Okay. That makes a little bit more sense. I was thinking that YAMN would read messages from the Maildir and process them, much like Mixmaster can do. Something Mixmaster's MAILIN. Now it sounds like YAMN expects email to come in via STDIN and it will place email that it doesn't recognize into the Maildir for a human to look at. Something akin to Mixmaster's MAILBOX. -- Grant. . . . unix || die
Re: YAMN from github on Linux
Author: Grant Taylor
Date: Tue, 30 Apr 2019 15:09
Date: Tue, 30 Apr 2019 15:09
33 lines
2485 bytes
2485 bytes
On 4/30/19 8:41 AM, Grant Taylor wrote: > I've not gotten to the point of trying to get incoming email > automatically handled by YAMN. In light of the MAILIN vs MAILBOX realization, I /think/ YAMN is doing /something/ with the email. Currently it's just dropping the messages in Maildir. I have yet to get YAMN to reply to a message. I put a .forward in the yamn user's home directory: "|/var/lib/yamn/yamn -R -M" (Quotes needed for the spaces.) > Okay. That makes a little bit more sense. > > I was thinking that YAMN would read messages from the Maildir and > process them, much like Mixmaster can do. Something Mixmaster's MAILIN. > > Now it sounds like YAMN expects email to come in via STDIN and it will > place email that it doesn't recognize into the Maildir for a human to > look at. Something akin to Mixmaster's MAILBOX. What is the best way to test YAMN without actually publishing anything yet? I tried adding the contents of my server's key.txt to my client's pubring.mix along with adding entries to my client's mlist2.txt file. -- Grant. . . . unix || die
Re: YAMN from github on Linux
Author: Stefan Claas
Date: Tue, 30 Apr 2019 15:11
Date: Tue, 30 Apr 2019 15:11
17 lines
1508 bytes
1508 bytes
Am Tue, 30 Apr 2019 08:41:46 -0600 schrieb Grant Taylor <gtaylor@tnetconsulting.net>: > Now it sounds like YAMN expects email to come in via STDIN and it > will place email that it doesn't recognize into the Maildir for a > human to look at. Something akin to Mixmaster's MAILBOX. YAMN checks Maildir and processes the messages automatically. I run YAMN in daemon mode, ./yamn -M -D However, since my mail server uses the old mbox format I have created a .foward file which forwards to procmail and the procmail recipe puts the messages in YAMN's Maildir. Regards Stefan
Re: YAMN from github on Linux
Author: Stefan Claas
Date: Tue, 30 Apr 2019 15:17
Date: Tue, 30 Apr 2019 15:17
17 lines
1632 bytes
1632 bytes
Am Tue, 30 Apr 2019 09:09:04 -0600 schrieb Grant Taylor <gtaylor@tnetconsulting.net>: > What is the best way to test YAMN without actually publishing > anything yet? > > I tried adding the contents of my server's key.txt to my client's > pubring.mix along with adding entries to my client's mlist2.txt file. Send a message with the Subject: remailer-key to your YAMN Remailer and add that key to your clients pubring.mix. And then simply use your client and build a chain with your Remailer as first hop and an exit, to receive your message. Regards Stefan
Re: YAMN from github on Linux
Author: Grant Taylor
Date: Tue, 30 Apr 2019 15:19
Date: Tue, 30 Apr 2019 15:19
31 lines
2317 bytes
2317 bytes
On 4/30/19 9:11 AM, Stefan Claas wrote: > YAMN checks Maildir and processes the messages automatically. Okay. That's what I'd like it to do. But I've not seen that desired behavior. > I run YAMN in daemon mode, ./yamn -M -D I'm using the long form of those same options, --remailer and --daemon respectively. > However, since my mail server uses the old mbox format I have created > a .foward file which forwards to procmail and the procmail recipe > puts the messages in YAMN's Maildir. ACK Presently, email passes through my MTA using a .forward into YAMN, and YAMN is delivering (presumably malformed) messages to the Maildir specified in yamn.cfg. So I /think/ that yamn is at least handling incoming email and not dropping it on the floor. Maybe it wasn't picking messages up out of the Maildir because they weren't formatted properly. Much like it puts improperly formatted messages into Maildir. -- Grant. . . . unix || die
Re: YAMN from github on Linux
Author: SEC3
Date: Tue, 30 Apr 2019 16:25
Date: Tue, 30 Apr 2019 16:25
34 lines
2420 bytes
2420 bytes
On 4/30/19 11:09 AM, Grant Taylor wrote: >> I was thinking that YAMN would read messages from the Maildir and >> process them, much like Mixmaster can do. Something Mixmaster's MAILIN. >> >> Now it sounds like YAMN expects email to come in via STDIN and it will >> place email that it doesn't recognize into the Maildir for a human to >> look at. Something akin to Mixmaster's MAILBOX. Some things for you to check: Does your Maildir directory contain the necessary sub-folders new, tmp and cur? Create them manually if necessary. I've found that the /tmp is routinely used by Yamm to process incoming mail. Do you a have a pool folder under /yamn directory. Create it if necessary. This may be overly obvious but when you copied the example file yamn.cfg.remailer did you rename it to yamn.cfg as is required? > What is the best way to test YAMN without actually publishing anything yet? > I tried adding the contents of my server's key.txt to my client's > pubring.mix along with adding entries to my client's mlist2.txt file. > > > -- SEC3 Pinger Admin Contact information at <https://sec3.net>
Re: YAMN from github on Linux
Author: Grant Taylor
Date: Tue, 30 Apr 2019 17:45
Date: Tue, 30 Apr 2019 17:45
33 lines
2539 bytes
2539 bytes
On 4/30/19 10:25 AM, SEC3 wrote: > Some things for you to check: > > Does your Maildir directory contain the necessary sub-folders new, > tmp and cur? Create them manually if necessary. I've found that the > /tmp is routinely used by Yamm to process incoming mail. Yes it does (and did). I even changed the Maildir parameter in yamn.cfg to point to a different directory and restarted YAMN to see if it would create the directory /it/ was looking for, and it did so. > Do you a have a pool folder under /yamn directory. Create it if > necessary. Yes. YAMN created it the first time it ran. > This may be overly obvious but when you copied the example file > yamn.cfg.remailer did you rename it to yamn.cfg as is required? Yes, I did rename it. I believe that YAMN is reading the yamn.cfg file. Running strace yamn... shows that it's reading values from the file and honored the different Maildir tests that I've done (see above). "Trust, but verify!" IMHO there's no harm in double checking the things that we think are obvious. ;-) -- Grant. . . . unix || die
Re: YAMN from github on Linux
Author: Grant Taylor
Date: Wed, 01 May 2019 03:28
Date: Wed, 01 May 2019 03:28
36 lines
2242 bytes
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
Re: YAMN from github on Linux
Author: Grant Taylor
Date: Wed, 01 May 2019 03:31
Date: Wed, 01 May 2019 03:31
15 lines
1522 bytes
1522 bytes
On 4/30/19 9:28 PM, Grant Taylor wrote: > So, I think I'm making progress. YAMN /isn't/ recognizing messages with a subject of "remailer-key" yet. YAMN /is/ reading said messages in from STDIN (via .forward) and saving them to Maildir. So I know that my email path into YAMN is working. There is still more to do. -- Grant. . . . unix || die
Re: YAMN from github on Linux
Author: Stefan Claas
Date: Thu, 02 May 2019 15:40
Date: Thu, 02 May 2019 15:40
33 lines
1887 bytes
1887 bytes
Am Tue, 30 Apr 2019 21:31:27 -0600 schrieb Grant Taylor <gtaylor@tnetconsulting.net>: > On 4/30/19 9:28 PM, Grant Taylor wrote: > > So, I think I'm making progress. > > YAMN /isn't/ recognizing messages with a subject of "remailer-key" > yet. > > YAMN /is/ reading said messages in from STDIN (via .forward) and > saving them to Maildir. So I know that my email path into YAMN is > working. > > There is still more to do. Oh that is sad to hear. I had absolutely no problems installing my YAMN Remailer, even with mbox format. While sec3 uses a folder structure like /home/yamn/yamn/ I use /home/yamn/ Maybe worth a try to set-up the same folder structure like I have so that the Maildir folder is in /home/yamn/ and then let YAMN do it's things with running YAMN -M -D. For my YAMN .cfg I used the same one as on github, except I use the Pipe command to sendmail. Hope this help! Regards Stefan
Re: YAMN from github on Linux
Author: Grant Taylor
Date: Thu, 02 May 2019 18:05
Date: Thu, 02 May 2019 18:05
44 lines
2767 bytes
2767 bytes
On 5/2/19 9:40 AM, Stefan Claas wrote: > Oh that is sad to hear. I had absolutely no problems installing my > YAMN Remailer, even with mbox format. I'm not convinced that part of my problems aren't ignorance of how YAMN is supposed to work. Like the fact that it doesn't process anything until there is a specific amount of email in the pool. I need to retry having it pick messages up out of the Maildir now that I know that there is a numbers marker that must be met. I intend to continue trying things with the copy that I hacked the source code on until I learn what needs to be done. Then, presuming that I have learned enough, I'll try compiling again from a stock copy of the source code. > While sec3 uses a folder structure like /home/yamn/yamn/ I use > /home/yamn/ > > Maybe worth a try to set-up the same folder structure like I have so > that the Maildir folder is in /home/yamn/ and then let YAMN do it's > things with running YAMN -M -D. I think the path is working. It just seemed as if YAMN wasn't doing anything because either the messages I was sending were the wrong format or I didn't have enough of them in the pool to see any output. > For my YAMN .cfg I used the same one as on github, except I use the > Pipe command to sendmail. I started with that and found that I needed to add the options stated in the previous email. > Hope this help! Thank you. I'm slowly working on it as time permits. -- Grant. . . . unix || die
Re: YAMN from github on Linux
Author: Grant Taylor
Date: Sat, 04 May 2019 06:47
Date: Sat, 04 May 2019 06:47
21 lines
2029 bytes
2029 bytes
On 5/2/19 12:05 PM, Grant Taylor wrote: > I need to retry having it pick messages up out of the Maildir now that I > know that there is a numbers marker that must be met. I got YAMN to pick up messages out of Maildir. But there's a catch. dir.Unseen(key) will only see messages in the Maildir/new/ subdirectory. It doesn't see anything in Maildir/cur/. So, having anything else looking at the Maildir and moving messages from the Maildir/new/ subdirectory to the Maildir/cur/ subdirectory renders those messages invisible to YAMN. Knowing this, I closed everything else accessing the Maildir and tested again. At which point I found that YAMN does respond to remailer-key requests. -- Grant. . . . unix || die
Re: YAMN from github on Linux
Author: Grant Taylor
Date: Sat, 04 May 2019 06:53
Date: Sat, 04 May 2019 06:53
32 lines
2769 bytes
2769 bytes
On 5/4/19 12:47 AM, Grant Taylor wrote: > dir.Unseen(key) will only see messages in the Maildir/new/ subdirectory. > It doesn't see anything in Maildir/cur/. So, having anything else > looking at the Maildir and moving messages from the Maildir/new/ > subdirectory to the Maildir/cur/ subdirectory renders those messages > invisible to YAMN. Minor correction: That should be "dir.Unseen()", not "dir.Unseen(key)". I did some more hacking and got dir.Keys() to see the messages in Maildir/cur/. I even managed to get dir.Flags(key) to return status about messages. This means that it's possible to look for the "S" (seen) flag to know if the message(s) in the Maildir/cur/ subdirectory is (are) unread or not. - I didn't go further, considering the following. Unfortunately dir.Keys() does not see messages in the Maildir/new/ subdirectory. So, it is going to take a combination of dir.Unseen() and dir.Keys() to see the contents of both the Maildir/new/ and Maildir/cur/ subdirectories. I don't know enough about Go to be able to append / concatenate / ??? the results of dir.Unseen() and dir.Keys(). At this point, I think that I can likely get a stock / unmodified YAMN to compile and run. I may have to feed it a number of messages. But I suspect that it will work as intended. I'm just not keen on the idea of the behavior of dir.Unseen(). -- Grant. . . . unix || die
Re: YAMN from github on Linux
Author: Stefan Claas
Date: Sat, 04 May 2019 07:15
Date: Sat, 04 May 2019 07:15
50 lines
3119 bytes
3119 bytes
Am Sat, 4 May 2019 00:53:49 -0600 schrieb Grant Taylor <gtaylor@tnetconsulting.net>: > On 5/4/19 12:47 AM, Grant Taylor wrote: > > dir.Unseen(key) will only see messages in the Maildir/new/ > > subdirectory. It doesn't see anything in Maildir/cur/. So, having > > anything else looking at the Maildir and moving messages from the > > Maildir/new/ subdirectory to the Maildir/cur/ subdirectory renders > > those messages invisible to YAMN. > > Minor correction: That should be "dir.Unseen()", not > "dir.Unseen(key)". > > I did some more hacking and got dir.Keys() to see the messages in > Maildir/cur/. I even managed to get dir.Flags(key) to return status > about messages. This means that it's possible to look for the "S" > (seen) flag to know if the message(s) in the Maildir/cur/ > subdirectory is (are) unread or not. - I didn't go further, > considering the following. > > Unfortunately dir.Keys() does not see messages in the Maildir/new/ > subdirectory. So, it is going to take a combination of dir.Unseen() > and dir.Keys() to see the contents of both the Maildir/new/ and > Maildir/cur/ subdirectories. I don't know enough about Go to be able > to append / concatenate / ??? the results of dir.Unseen() and > dir.Keys(). > > At this point, I think that I can likely get a stock / unmodified > YAMN to compile and run. I may have to feed it a number of > messages. But I suspect that it will work as intended. > > I'm just not keen on the idea of the behavior of dir.Unseen(). Respect, that you dive so deep into YAMN. What I don't understand why is this so complicated to set-up on your machine? 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: [FILES] Maildir = /path/to/Maildir Pooldir = /path/to/pooldir etc? Regards Stefan
Re: YAMN from github on Linux
Author: Stefan Claas
Date: Sat, 04 May 2019 07:21
Date: Sat, 04 May 2019 07:21
19 lines
1305 bytes
1305 bytes
Am Sat, 4 May 2019 09:15:25 +0200 schrieb Stefan Claas <sac@300baud.de>: > What happens if you use the [FILES] parameters instead, of > your hacking? Like: > > [FILES] > > Maildir = /path/to/Maildir > Pooldir = /path/to/pooldir > etc? On Windows one can set also an environment variable for the yamn.cfg. Maybe also worth a shot. It is called YAMNCFG. Regards Stefan
Re: YAMN from github on Linux
Author: 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
Re: YAMN from github on Linux
Author: Grant Taylor
Date: Sat, 04 May 2019 16:21
Date: Sat, 04 May 2019 16:21
13 lines
1740 bytes
1740 bytes
On 5/4/19 1:21 AM, Stefan Claas wrote: > On Windows one can set also an environment variable for the > yamn.cfg. Maybe also worth a shot. It is called YAMNCFG. I don't think there's a need for that. YAMN is reading and honoring the yamn.cfg file. -- Grant. . . . unix || die
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