🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
5 messages
5 total messages Started by Gabx Tue, 27 Apr 2021 14:37
Help: can't get yamn working
#314319
Author: Gabx
Date: Tue, 27 Apr 2021 14:37
10 lines
1326 bytes
Hi,
i followed the tutorial on sec3 dot com.
i have postfix configured with dovecot-lmtp.
following this page https://wiki.dovecot.org/procmail i have configured 
dovecot-lmtp to work with procmail.
listing in ~/yamn/yamn gives:

> chunkdb  idlog  key.txt  Maildir  mlist2.txt  pool  pubring.mix  secring.mix  yamn  yamn.cfg  yamn.log
sending to yamn@mydomain.name subject:remailer-key gave me *no answer* ...
Re: Help: can't get yamn working
#314322
Author: Stefan Claas
Date: Tue, 27 Apr 2021 17:00
22 lines
1622 bytes
Gabx wrote:
> Hi,
> i followed the tutorial on sec3 dot com.
> i have postfix configured with dovecot-lmtp.
> following this page https://wiki.dovecot.org/procmail i have configured 
> dovecot-lmtp to work with procmail.
> listing in ~/yamn/yamn gives:
> 
> > chunkdb  idlog  key.txt  Maildir  mlist2.txt  pool  pubring.mix  secring.mix  yamn  yamn.cfg  yamn.log
> sending to yamn@mydomain.name subject:remailer-key gave me *no answer* ...

Is your postfix also configured that it puts incoming mail in the users Maildir
folder? I ask because of your dovecot/procmail set-up. The Maildir folder for
yamn needs to bee in yamn's home directory and not in the yamn folder, where
the other yamn related files are.

Regards
Stefan

-- 
When the phone was tied with a wire, humans were free.
Re: Help: can't get yamn working
#314324
Author: SEC3
Date: Tue, 27 Apr 2021 17:02
47 lines
2284 bytes
On 2021-04-27 10:37 a.m., Gabx wrote:
> Hi,
> i followed the tutorial on sec3 dot com.
> i have postfix configured with dovecot-lmtp.
> following this page https://wiki.dovecot.org/procmail i have configured 
> dovecot-lmtp to work with procmail.
> listing in ~/yamn/yamn gives:
> 
>> chunkdb  idlog  key.txt  Maildir  mlist2.txt  pool  pubring.mix  
>> secring.mix  yamn  yamn.cfg  yamn.log
> sending to yamn@mydomain.name subject:remailer-key gave me *no answer* ...
> 

Stefan got here first! But anyways here is my answer to your YAMN question:


For YAMN to process mail it needs two things:

1) YAMN running in daemon mode
2) a procmail rule in /home/yamn/.procmailrc

===============
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

===============

If you followed the tutorial

"Install YAMN As a Remailer Server on a VPS"
<https://www.sec3.net/yamnhelp/install_yamn_remailer.html>

then you should have both installed. My guess is your procmail set up is 
different than what the tutorial suggests and your incoming mail is 
being placed somewhere different, and not in
/home/yamn/Maildir/new where YAMN wants it.

--
SEC3
Re: Help: can't get yamn working
#314339
Author: Gabx
Date: Thu, 29 Apr 2021 00:48
16 lines
1390 bytes
SEC3 wrote:

> then you should have both installed. My guess is your procmail set up is 
> different than what the tutorial suggests and your incoming mail is 
> being placed somewhere different, and not in
> /home/yamn/Maildir/new where YAMN wants it.
> 
> -- 
> SEC3

Yep,
in my case yamn is virtual user and this is its folder:

 > /var/vmail/*MYDOMAIN*/yamn/Maildir/

That's why .... :(
Re: Help: can't get yamn working
#314346
Author: SEC3
Date: Thu, 29 Apr 2021 18:01
33 lines
1705 bytes
On 2021-04-28 8:48 p.m., Gabx wrote:
> SEC3 wrote:
> 
>> then you should have both installed. My guess is your procmail set up 
>> is different than what the tutorial suggests and your incoming mail is 
>> being placed somewhere different, and not in
>> /home/yamn/Maildir/new where YAMN wants it.
>>
>> -- 
>> SEC3
> 
> Yep,
> in my case yamn is virtual user and this is its folder:
> 
>  > /var/vmail/*MYDOMAIN*/yamn/Maildir/
> 
> That's why .... :(

In yamn.cfg take a look at this section:


=============
[Files]
# Maildir directory to scan for incoming messages.
# If not set, the default is to look for a /Maildir
# directory under the directory where the binary
# resides
Maildir = "/home/yamn/yamn/Maildir"

============

--
SEC3
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