🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
15 messages
15 total messages Started by middleman.remailer.online Admin Tue, 18 Aug 2020 19:41
Setting up new YAMN middleman
#310338
Author: middleman.remailer.online Admin
Date: Tue, 18 Aug 2020 19:41
8 lines
1401 bytes
I've decided to set up a new YAMN middleman on my existing server. I've 
followed SEC3's instructions, and Postfix received my key query, but 
it's being delivered to /var/mail/yamn and isn't being processed by 
YAMN. Is there something I need to reconfigure with either Postfix or 
procmail? I don't want to interfere with the existing Mixmaster install, 
but I do want to run them on the same machine.

Thanks!
Re: Setting up new YAMN middleman
#310339
Author: Stefan Claas
Date: Tue, 18 Aug 2020 20:01
18 lines
1364 bytes
middleman.remailer.online Admin wrote:
> 
> I've decided to set up a new YAMN middleman on my existing server. I've 
> followed SEC3's instructions, and Postfix received my key query, but 
> it's being delivered to /var/mail/yamn and isn't being processed by 
> YAMN. Is there something I need to reconfigure with either Postfix or 
> procmail? I don't want to interfere with the existing Mixmaster 
> install, but I do want to run them on the same machine.
> 
> Thanks!

Hi,

YAMN does not use mbox format and instead looks for incoming mail in
it's /home/yamn/Maildir/directories. So you have to forward it there.

Regards
Stefan
Re: Setting up new YAMN middleman
#310340
Author: SEC3
Date: Tue, 18 Aug 2020 20:24
38 lines
2063 bytes
On 2020-08-18 3:41 p.m., middleman.remailer.online Admin wrote:
> I've decided to set up a new YAMN middleman on my existing server. I've
> followed SEC3's instructions, and Postfix received my key query, but
> it's being delivered to /var/mail/yamn and isn't being processed by
> YAMN. Is there something I need to reconfigure with either Postfix or
> procmail? I don't want to interfere with the existing Mixmaster install,
> but I do want to run them on the same machine.
> 
> Thanks!

I have Cloaked mixmaster remailer and Esn yamn remailer both running on
the same machine so this is definitely doable. You needn't change
anything in Postfix.

But Yamn should be installed under its own linux account, e.g.
/home/yamn and its .procmailrc should look something like this:

========

SHELL=/bin/bash
ORGMAIL=${HOME}/yamn/Maildir/
DEFAULT=${ORGMAIL}
PMDIR=$HOME/procmail
LOGFILE=$PMDIR/procmail.log
# LOGFILE=/dev/null
#
# This pipes all incoming mail to my remailer script Yamn
:0
| /home/yamn/yamn/yamn -R -M

========

-- 
SEC3

Contact information at <https://sec3.net>
I am also on Keybase <https://keybase.io/sec3>
YAMN Help <https://sec3.net/yamnhelp/>
Re: Setting up new YAMN middleman
#310346
Author: middleman.remailer.online Admin
Date: Wed, 19 Aug 2020 00:49
37 lines
2365 bytes
On 8/18/20 4:24 PM, SEC3 wrote:
> On 2020-08-18 3:41 p.m., middleman.remailer.online Admin wrote:
>> I've decided to set up a new YAMN middleman on my existing server. I've
>> followed SEC3's instructions, and Postfix received my key query, but
>> it's being delivered to /var/mail/yamn and isn't being processed by
>> YAMN. Is there something I need to reconfigure with either Postfix or
>> procmail? I don't want to interfere with the existing Mixmaster install,
>> but I do want to run them on the same machine.
>>
>> Thanks!
> 
> I have Cloaked mixmaster remailer and Esn yamn remailer both running on
> the same machine so this is definitely doable. You needn't change
> anything in Postfix.
> 
> But Yamn should be installed under its own linux account, e.g.
> /home/yamn and its .procmailrc should look something like this:
> 
> ========
> 
> SHELL=/bin/bash
> ORGMAIL=${HOME}/yamn/Maildir/
> DEFAULT=${ORGMAIL}
> PMDIR=$HOME/procmail
> LOGFILE=$PMDIR/procmail.log
> # LOGFILE=/dev/null
> #
> # This pipes all incoming mail to my remailer script Yamn
> :0
> | /home/yamn/yamn/yamn -R -M
> 
> ========
> 

I have .procmailrc in the /home/yamn (user home) directory with that 
content, but the mail still isn't being piped through. procmail.log is 
empty as well.
Re: Setting up new YAMN middleman
#310345
Author: SEC3
Date: Wed, 19 Aug 2020 01:03
59 lines
2948 bytes
On 2020-08-18 8:49 p.m., middleman.remailer.online Admin wrote:
> On 8/18/20 4:24 PM, SEC3 wrote:
>> On 2020-08-18 3:41 p.m., middleman.remailer.online Admin wrote:
>>> I've decided to set up a new YAMN middleman on my existing server. I've
>>> followed SEC3's instructions, and Postfix received my key query, but
>>> it's being delivered to /var/mail/yamn and isn't being processed by
>>> YAMN. Is there something I need to reconfigure with either Postfix or
>>> procmail? I don't want to interfere with the existing Mixmaster install,
>>> but I do want to run them on the same machine.
>>>
>>> Thanks!
>>
>> I have Cloaked mixmaster remailer and Esn yamn remailer both running on
>> the same machine so this is definitely doable. You needn't change
>> anything in Postfix.
>>
>> But Yamn should be installed under its own linux account, e.g.
>> /home/yamn and its .procmailrc should look something like this:
>>
>> ========
>>
>> SHELL=/bin/bash
>> ORGMAIL=${HOME}/yamn/Maildir/
>> DEFAULT=${ORGMAIL}
>> PMDIR=$HOME/procmail
>> LOGFILE=$PMDIR/procmail.log
>> # LOGFILE=/dev/null
>> #
>> # This pipes all incoming mail to my remailer script Yamn
>> :0
>> | /home/yamn/yamn/yamn -R -M
>>
>> ========
>>
> 
> I have .procmailrc in the /home/yamn (user home) directory with that
> content, but the mail still isn't being piped through. procmail.log is
> empty as well.

It sounds like YAMN is not running in daemon mode. This is required. In
my tutorial I suggest using a systemd service for this purpose.

<https://www.sec3.net/yamnhelp/debian/remailer/create-yamn-service.txt>

But it can be done without a service. As user 'yamn' just type at the
command prompt:

cd yamn
./yamn -M -D

Now the daemon is running! Your incoming mail should be processed by
YAMN now.

-- 
SEC3

Contact information at <https://sec3.net>
I am also on Keybase <https://keybase.io/sec3>
YAMN Help <https://sec3.net/yamnhelp/>
Re: Setting up new YAMN middleman
#310348
Author: Anonymous Remailer
Date: Wed, 19 Aug 2020 15:25
11 lines
3787 bytes
In article <rhhat9$ser$1@adenine.netfront.net>
"middleman.remailer.online Admin" <none@middleman.remailer.online> wrote:>
> I've decided to set up a new YAMN middleman on my existing server. I've
> followed SEC3's instructions, and Postfix received my key query, but
> it's being delivered to /var/mail/yamn and isn't being processed by
> YAMN. Is there something I need to reconfigure with either Postfix or
> procmail? I don't want to interfere with the existing Mixmasterinstall,> but I do want to run them on the same machine.
I hope you can solve the mail problem.

Thank you for running a yamn remailer.
Re: Setting up new YAMN middleman
#310349
Author: middleman.remailer.online Admin
Date: Wed, 19 Aug 2020 20:12
90 lines
3958 bytes
On 8/18/20 9:03 PM, SEC3 wrote:
> On 2020-08-18 8:49 p.m., middleman.remailer.online Admin wrote:
>> On 8/18/20 4:24 PM, SEC3 wrote:
>>> On 2020-08-18 3:41 p.m., middleman.remailer.online Admin wrote:
>>>> I've decided to set up a new YAMN middleman on my existing server. I've
>>>> followed SEC3's instructions, and Postfix received my key query, but
>>>> it's being delivered to /var/mail/yamn and isn't being processed by
>>>> YAMN. Is there something I need to reconfigure with either Postfix or
>>>> procmail? I don't want to interfere with the existing Mixmaster install,
>>>> but I do want to run them on the same machine.
>>>>
>>>> Thanks!
>>>
>>> I have Cloaked mixmaster remailer and Esn yamn remailer both running on
>>> the same machine so this is definitely doable. You needn't change
>>> anything in Postfix.
>>>
>>> But Yamn should be installed under its own linux account, e.g.
>>> /home/yamn and its .procmailrc should look something like this:
>>>
>>> ========
>>>
>>> SHELL=/bin/bash
>>> ORGMAIL=${HOME}/yamn/Maildir/
>>> DEFAULT=${ORGMAIL}
>>> PMDIR=$HOME/procmail
>>> LOGFILE=$PMDIR/procmail.log
>>> # LOGFILE=/dev/null
>>> #
>>> # This pipes all incoming mail to my remailer script Yamn
>>> :0
>>> | /home/yamn/yamn/yamn -R -M
>>>
>>> ========
>>>
>>
>> I have .procmailrc in the /home/yamn (user home) directory with that
>> content, but the mail still isn't being piped through. procmail.log is
>> empty as well.
> 
> It sounds like YAMN is not running in daemon mode. This is required. In
> my tutorial I suggest using a systemd service for this purpose.
> 
> <https://www.sec3.net/yamnhelp/debian/remailer/create-yamn-service.txt>
> 
> But it can be done without a service. As user 'yamn' just type at the
> command prompt:
> 
> cd yamn
> ./yamn -M -D
> 
> Now the daemon is running! Your incoming mail should be processed by
> YAMN now.
> 

I've confirmed that YAMN is running as a service:


# /etc/systemd/system/yamn.service

[Unit]
Description=YAMN Anonymous Remailer
After=mail-transport-agent.target

[Service]
Type=simple
User=yamn
Group=yamn
ExecStart=/home/yamn/yamn/./yamn -M -D
KillMode=process

[Install]
WantedBy=multi-user.target




● yamn.service - YAMN Anonymous Remailer
    Loaded: loaded (/etc/systemd/system/yamn.service; enabled; vendor 
preset: enabled)
    Active: active (running) since Wed 2020-08-19 15:57:07 EDT; 8min ago
  Main PID: 1111 (yamn)
     Tasks: 7 (limit: 4594)
    CGroup: /system.slice/yamn.service
            └─1111 /home/yamn/yamn/./yamn -M -D


I did have mailutils installed, but I've removed it in case it was 
interfering somehow. Unfortunately, I'm still not getting any response 
to my key queries.
Re: Setting up new YAMN middleman
#310358
Author: Stefan Claas
Date: Wed, 19 Aug 2020 20:34
12 lines
1198 bytes
middleman.remailer.online Admin wrote:

> I did have mailutils installed, but I've removed it in case it was 
> interfering somehow. Unfortunately, I'm still not getting any response 
> to my key queries.

Is procmail forwarding to your /home/yamn/Maildir/new/ directory and
is the mail still in there?

Regards
Stefan
Re: Setting up new YAMN middleman
#310352
Author: SEC3
Date: Wed, 19 Aug 2020 21:02
104 lines
4375 bytes
On 2020-08-19 4:12 p.m., middleman.remailer.online Admin wrote:
> On 8/18/20 9:03 PM, SEC3 wrote:
>> On 2020-08-18 8:49 p.m., middleman.remailer.online Admin wrote:
>>> On 8/18/20 4:24 PM, SEC3 wrote:
>>>> On 2020-08-18 3:41 p.m., middleman.remailer.online Admin wrote:
>>>>> I've decided to set up a new YAMN middleman on my existing server.
>>>>> I've
>>>>> followed SEC3's instructions, and Postfix received my key query, but
>>>>> it's being delivered to /var/mail/yamn and isn't being processed by
>>>>> YAMN. Is there something I need to reconfigure with either Postfix or
>>>>> procmail? I don't want to interfere with the existing Mixmaster
>>>>> install,
>>>>> but I do want to run them on the same machine.
>>>>>
>>>>> Thanks!
>>>>
>>>> I have Cloaked mixmaster remailer and Esn yamn remailer both running on
>>>> the same machine so this is definitely doable. You needn't change
>>>> anything in Postfix.
>>>>
>>>> But Yamn should be installed under its own linux account, e.g.
>>>> /home/yamn and its .procmailrc should look something like this:
>>>>
>>>> ========
>>>>
>>>> SHELL=/bin/bash
>>>> ORGMAIL=${HOME}/yamn/Maildir/
>>>> DEFAULT=${ORGMAIL}
>>>> PMDIR=$HOME/procmail
>>>> LOGFILE=$PMDIR/procmail.log
>>>> # LOGFILE=/dev/null
>>>> #
>>>> # This pipes all incoming mail to my remailer script Yamn
>>>> :0
>>>> | /home/yamn/yamn/yamn -R -M
>>>>
>>>> ========
>>>>
>>>
>>> I have .procmailrc in the /home/yamn (user home) directory with that
>>> content, but the mail still isn't being piped through. procmail.log is
>>> empty as well.
>>
>> It sounds like YAMN is not running in daemon mode. This is required. In
>> my tutorial I suggest using a systemd service for this purpose.
>>
>> <https://www.sec3.net/yamnhelp/debian/remailer/create-yamn-service.txt>
>>
>> But it can be done without a service. As user 'yamn' just type at the
>> command prompt:
>>
>> cd yamn
>> ./yamn -M -D
>>
>> Now the daemon is running! Your incoming mail should be processed by
>> YAMN now.
>>
> 
> I've confirmed that YAMN is running as a service:
> 
> 
> # /etc/systemd/system/yamn.service
> 
> [Unit]
> Description=YAMN Anonymous Remailer
> After=mail-transport-agent.target
> 
> [Service]
> Type=simple
> User=yamn
> Group=yamn
> ExecStart=/home/yamn/yamn/./yamn -M -D
> KillMode=process
> 
> [Install]
> WantedBy=multi-user.target
> 
> 
> 
> 
> ● yamn.service - YAMN Anonymous Remailer
>    Loaded: loaded (/etc/systemd/system/yamn.service; enabled; vendor
> preset: enabled)
>    Active: active (running) since Wed 2020-08-19 15:57:07 EDT; 8min ago
>  Main PID: 1111 (yamn)
>     Tasks: 7 (limit: 4594)
>    CGroup: /system.slice/yamn.service
>            └─1111 /home/yamn/yamn/./yamn -M -D
> 
> 
> I did have mailutils installed, but I've removed it in case it was
> interfering somehow. Unfortunately, I'm still not getting any response
> to my key queries.

Strange. When you send a remailer key request to your yamn remailer do
you get a bounce back from Postfix or other error message?

-- 
SEC3

Contact information at <https://sec3.net>
I am also on Keybase <https://keybase.io/sec3>
YAMN Help <https://sec3.net/yamnhelp/>
monero:88aSY6Nzm7i2ug943YG6Sm2S3t8CkcXZogid4kkAR8Rm3tG64WvtexHYv94Do11J6XB8Xibf23mKHiKuYd1MEi3zBLyXyK6
Re: Setting up new YAMN middleman
#310354
Author: SEC3
Date: Wed, 19 Aug 2020 21:10
15 lines
1524 bytes
On 2020-08-19 5:02 p.m., SEC3 wrote:

>> I did have mailutils installed, but I've removed it in case it was
>> interfering somehow. Unfortunately, I'm still not getting any response
>> to my key queries.

This may be a dumb question but do you have procmail installed? I made
that mistake once when troubleshooting a procmail recipe!

-- 
SEC3

Contact information at <https://sec3.net>
I am also on Keybase <https://keybase.io/sec3>
YAMN Help <https://sec3.net/yamnhelp/>
Re: Setting up new YAMN middleman
#310355
Author: middleman.remailer.online Admin
Date: Wed, 19 Aug 2020 22:35
23 lines
1911 bytes
On 8/19/2020 4:34 PM, Stefan Claas wrote:
> middleman.remailer.online Admin wrote:
> 
>> I did have mailutils installed, but I've removed it in case it was
>> interfering somehow. Unfortunately, I'm still not getting any response
>> to my key queries.
> 
> Is procmail forwarding to your /home/yamn/Maildir/new/ directory and
> is the mail still in there?
> 
> Regards
> Stefan
> 
> 

The directory is actually /home/yamn/yamn/Maildir/new/, as per SEC3's 
instructions:

yamn@vps:~$ mkdir -p ~/yamn/Maildir/{cur,new,tmp}

There was no mail there. I also tried creating the Maildir directory 
directly under /home/yamn/ using the same command and sent another mail, 
but still nothing.
Re: Setting up new YAMN middleman
#310356
Author: middleman.remailer.online Admin
Date: Wed, 19 Aug 2020 22:44
24 lines
2088 bytes
On 8/19/2020 5:10 PM, SEC3 wrote:
> On 2020-08-19 5:02 p.m., SEC3 wrote:
> 
>>> I did have mailutils installed, but I've removed it in case it was
>>> interfering somehow. Unfortunately, I'm still not getting any response
>>> to my key queries.
> 
> This may be a dumb question but do you have procmail installed? I made
> that mistake once when troubleshooting a procmail recipe!
> 

Yep, it's definitely installed. From APT:

'procmail is already the newest version (3.22-26).'

I don't see anything in the log at /home/yamn/procmail/procmail.log:

-rw-rw-r--  1 yamn yamn    0 Aug 18 12:47 procmail.log

Is there any place else to look for error messages?

Also, does it matter if the yamn account has a password for the purposes 
of running yamn as a service? The file /etc/systemd/system/yamn.service 
does not specify a password.
Re: Setting up new YAMN middleman
#310357
Author: SEC3
Date: Wed, 19 Aug 2020 23:28
52 lines
2865 bytes
On 2020-08-19 6:44 p.m., middleman.remailer.online Admin wrote:
> On 8/19/2020 5:10 PM, SEC3 wrote:
>> On 2020-08-19 5:02 p.m., SEC3 wrote:
>>
>>>> I did have mailutils installed, but I've removed it in case it was
>>>> interfering somehow. Unfortunately, I'm still not getting any response
>>>> to my key queries.
>>
>> This may be a dumb question but do you have procmail installed? I made
>> that mistake once when troubleshooting a procmail recipe!
>>
> 
> Yep, it's definitely installed. From APT:
> 
> 'procmail is already the newest version (3.22-26).'
> 
> I don't see anything in the log at /home/yamn/procmail/procmail.log:
> 
> -rw-rw-r--  1 yamn yamn    0 Aug 18 12:47 procmail.log


On my VPS where I host Esn Yamn remailer I have these lines in my
/etc/postfix/main.cf:

mailbox_command = procmail -a "$EXTENSION"
home_mailbox = Maildir/

Confirm that you have those lines.


> Is there any place else to look for error messages?

YAMN has a log file named /home/yamn/yamn/yamn.log

I'm curious what files you have in that folder. Is there a chunkdb
folder? Is there a key.txt file with your remailer key?

> Also, does it matter if the yamn account has a password for the purposes
> of running yamn as a service? The file /etc/systemd/system/yamn.service
> does not specify a password.

It seems only prudent that your linux user account should have a
password associated with it. But I don't think that is relevant to your
mail delivery issue.

-- 
SEC3

Contact information at <https://sec3.net>
I am also on Keybase <https://keybase.io/sec3>
YAMN Help <https://sec3.net/yamnhelp/>
monero:88aSY6Nzm7i2ug943YG6Sm2S3t8CkcXZogid4kkAR8Rm3tG64WvtexHYv94Do11J6XB8Xibf23mKHiKuYd1MEi3zBLyXyK6
Re: Setting up new YAMN middleman
#310359
Author: middleman.remailer.online Admin
Date: Thu, 20 Aug 2020 00:39
47 lines
2829 bytes
On 8/19/20 7:28 PM, SEC3 wrote:
> On 2020-08-19 6:44 p.m., middleman.remailer.online Admin wrote:
>> On 8/19/2020 5:10 PM, SEC3 wrote:
>>> On 2020-08-19 5:02 p.m., SEC3 wrote:
>>>
>>>>> I did have mailutils installed, but I've removed it in case it was
>>>>> interfering somehow. Unfortunately, I'm still not getting any response
>>>>> to my key queries.
>>>
>>> This may be a dumb question but do you have procmail installed? I made
>>> that mistake once when troubleshooting a procmail recipe!
>>>
>>
>> Yep, it's definitely installed. From APT:
>>
>> 'procmail is already the newest version (3.22-26).'
>>
>> I don't see anything in the log at /home/yamn/procmail/procmail.log:
>>
>> -rw-rw-r--  1 yamn yamn    0 Aug 18 12:47 procmail.log
> 
> 
> On my VPS where I host Esn Yamn remailer I have these lines in my
> /etc/postfix/main.cf:
> 
> mailbox_command = procmail -a "$EXTENSION"
> home_mailbox = Maildir/
> 
> Confirm that you have those lines.

That was the problem! Those lines were not present. After adding them 
and rebooting, I have received a mail in response to my key query:

Here is the Mixmaster key:

=-=-=-=-=-=-=-=-=-=-=-=
middleman yamn@middleman.remailer.online 
33a8ee4c4722b0d919ece5d3e3024921 4:0.2c M 2020-08-18 2020-09-01

-----Begin Mix Key-----
33a8ee4c4722b0d919ece5d3e3024921
1c14dc3cd14b145f3d260f5c3c42d5e1328206d4cefefef2f5b4b4899868b57e
-----End Mix Key-----

Looks like everything's good to go. It may now be added to the stats.

Thanks!
Re: Setting up new YAMN middleman
#310360
Author: SEC3
Date: Thu, 20 Aug 2020 00:53
40 lines
2410 bytes
On 2020-08-19 8:39 p.m., middleman.remailer.online Admin wrote:

>> On my VPS where I host Esn Yamn remailer I have these lines in my
>> /etc/postfix/main.cf:
>>
>> mailbox_command = procmail -a "$EXTENSION"
>> home_mailbox = Maildir/
>>
>> Confirm that you have those lines.
> 
> That was the problem! Those lines were not present. After adding them
> and rebooting, I have received a mail in response to my key query:
> 
> Here is the Mixmaster key:
> 
> =-=-=-=-=-=-=-=-=-=-=-=
> middleman yamn@middleman.remailer.online
> 33a8ee4c4722b0d919ece5d3e3024921 4:0.2c M 2020-08-18 2020-09-01
> 
> -----Begin Mix Key-----
> 33a8ee4c4722b0d919ece5d3e3024921
> 1c14dc3cd14b145f3d260f5c3c42d5e1328206d4cefefef2f5b4b4899868b57e
> -----End Mix Key-----
> 
> Looks like everything's good to go. It may now be added to the stats.
> 
> Thanks!

Great! You're welcome! I hope that change to your Postfix does not mess
up your Mixmaster remailer. I don't think it should. But keep an eye on
that.

I will add yamn@middleman.remailer.online to the Cloaked Yamn Pinger.

-- 
SEC3

Contact information at <https://sec3.net>
I am also on Keybase <https://keybase.io/sec3>
YAMN Help <https://sec3.net/yamnhelp/>
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