Article View: alt.privacy.anon-server
Article #266909Re: /var/lib/mixmaster
From: Zax
Date: Sun, 27 Apr 2014 15:20
Date: Sun, 27 Apr 2014 15:20
150 lines
6764 bytes
6764 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Sat, 26 Apr 2014 16:38:28 -0500, anonymous wrote in
Message-Id: <ljh90k$qhc$1@news.mixmin.net>:
> 1. ### This is what my /etc/postfix/main.cf looks like:
>
> #---BEGIN----------------------------------------
> GNU nano 2.2.6 File: /etc/postfix/main.cf
>
> smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
>
> myhostname = mail.inwtx.net
> alias_maps = hash:/etc/aliases
> alias_database = hash:/etc/aliases
> myorigin = /etc/mailname
> mydestination = inwtx.net, localhost, localhost.localdomain, localhost,
> mixmaster.inwtx.net
> relayhost =
> mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
> mailbox_size_limit = 0
> recipient_delimiter = +
> inet_interfaces = all
> inet_protocols = ipv4
> mailbox_command = procmail -a "$EXTENSION"
> #---END----------------------------------------
>
> I have this 'mixmaster.inwtx.net' in my mydestination line, but I am
> not planning to leave it in. Also, someone suggested this line, but
> 'localhost' is in the line twice, not sure if this is necessary. Maybe
> has to be before the mixmaster.inwtx.net.
The order doesn't matter and each entry only needs to be in once, so:
mydestination = inwtx.net, localhost, localhost.localdomain
You only have ipv4 specified in inet_protocols so you can also drop the
ipv6 references from mynetworks:
mynetworks = 127.0.0.0/8
> 2. ### This is what my /.procmailrc looks like:
>
> This is where I created the ~/.procmailrc file. I assumed you meant
> that it should be in root '/', not in user '/root':
The tilde (~) means your homedir so the ~/.procmailrc means a file
called .procmailrc in your homedir. In Linux, any file starting with a
period is hidden. This convention is very widely used for configuration
files.
> root@inwtx~# cd /
You need to adjust to the mindset of not using root unless you really
have to. You should be doing these things as a user account. In your
case, this will be either mix or mixmaster depending on what you have
created.
> root@inwtx/# ls -a
> . bin dev home lib media opt .procmailrc run
> selinux sys usr vmlinuz
> .. boot etc initrd.img lost+found mnt proc root sbin
> srv tmp var
Delete the .procmailrc from here and create it as your mixmaster user.
> And this is what is in it:
>
> #---BEGIN----------------------------------------
> SHELL=/bin/bash
> PMDIR=$HOME/procmail
> DATE=`date +%Y%m%d`
> #LOGFILE=$PMDIR/$DATE
> VERBOSE=no
> MAILDIR=${HOME}/Maildir/
> ORGMAIL=$MAILDIR
> DEFAULT=$ORGMAIL
> #---END----------------------------------------
That looks fine.
> Note: When I do a $HOME at the prompt, is shows:
> root@inwtx/# $HOME
> -bash: /root: Is a directory
You're telling your shell to run a command of $HOME. You probably want:
echo $HOME
If you do this as root, it will give you /root.
Your error is the system telling you it can't run the command '/root'
because that's a directory.
> 3. ### This is what my /etc/aliases looks like:
>
> #---BEGIN----------------------------------------
> # /etc/aliases
> mailer-daemon: postmaster
> postmaster: root
> nobody: root
> hostmaster: root
> webmaster: root
> www: root
> abuse: my@isp.net
> security: root
> remailer: root
> admin: my@isp.net
> #---END----------------------------------------
I'd expect to see abuse pointed at root. You need to create yourself an
account on the system and then point root to that. For example, if your
account was 'steve' then the last entry in your aliases would be:
root: steve
This would mean that mail sent to any of those special accounts (like
postmaster) would be delivered to steve. Once again, this avoids having
to actually use 'root' for mail purposes.
> 4. ### This is what my /etc/mixmaster/remailer.conf looks like:
>
> #---BEGIN----------------------------------------
> # Configuration for mixmaster remailer
>
> # If you change any settings, sudo /usr/lib/mixmaster/mixmaster-rebuild
> # (preferable as user mix) in order to rebuild abuse.txt, blocked.txt,
> # reply.txt, help.txt, and usage.txt from the templates in
> # /etc/mixmaster/remailer
This suggests you've installed the mixmaster package rather than
building it from source. I think this is going to get very confusing
for you in combination with the other things you're doing.
The config file is pretty much correct but you're mixing a manual
configuration with a packaged install. I think you need to get mail
being delivered correctly to a system account you've created before you
worry about this bit.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQIcBAEBCAAGBQJTXSAoAAoJEIBmv8lxNqHoP7AP/3iua9y4q9sRhzRrom+p7VdR
jP1F/wQizFTBUsUkGnSNpZXXGPJgRO+qdLB9PxUTzWBSxJPwpSg2QV6ZrP6uhS9j
kcyTHLWL80pp1vS523aiWyjM2wglxBAANw9etF8tQpvh8784jtGJTm0MzIgZIRnK
PvBPkN8DLbFN9kyqyb29UUTD/ZJLSRmWywPoIjDwwoaOGpL/+rNhBtHrdKUXKb5G
3T8IZLZ6+tfmCaLu5RoiYLgvn5z42Eef1bSO/KLxWoG7if09eRBe4yBKQHS5EBQa
nEZ5QsIwF+SZvgJOzwPEXP5voCGgAq3ersdJsSm8YEzJiKb5ZbPjx9v3It7LesJ8
z4MMLxn9nGzjXnWMkfD4Spoon8uUmWs0cPv+NGR+IhbKKOtPpS5rZ/RGBe3pwl4k
MIdgKyv/6TfWUdK/XCqlEv1jpsX2kMNRMpTrKcjhCLzR+/OKWMftlWXfrjZlD25/
XoTkRyNddHK3B3ov3FQVZhaLqaMTFA3P7GfO9CLp/9jZ/Dcxgh8OBsE4pkzfEoxs
oZJyUWXxi/E9f91p3PFBxzRecZUW0SIoMwheoPYmX4v7FIr3RtuL33VQdKeuMtxp
sg3Ac2xuyzGmP75MQPaECzXp5uu49qQYDE9huhMrV8ILYxuH9RJa+l7rQg4bDm3W
1017WYuDEeZcm8LEhPc/
=02sN
-----END PGP SIGNATURE-----
--
pub 1024D/228761E7 2003-06-04 Steven Crook <steve@mixmin.net>
Key fingerprint = 1CD9 95E1 E9CE 80D6 C885 B7EB B471 80D5 2287 61E7
sub 4096R/4ABF07E3 2012-02-11 [expires: 2013-02-10]
Technical Details
Message-ID:
<slrnllq818.k47.admin@snorky.mixmin.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!news.alt.net!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mailReferences:
<slrnllni4l.k47.admin@snorky.mixmin.net> <bac6b29a63e7b2b40d2ba150f81ddd98@hoi-polloi.org> <slrnllnqvo.k47.admin@snorky.mixmin.net> <ljh90k$qhc$1@news.mixmin.net>Show Full Headers
Complete Article Headers
Message-ID: <slrnllq818.k47.admin@snorky.mixmin.net> Subject: Re: /var/lib/mixmaster Date: Sun, 27 Apr 2014 15:20:08 +0000 From: Zax <admin@mixmin.net> References: <slrnllni4l.k47.admin@snorky.mixmin.net> <bac6b29a63e7b2b40d2ba150f81ddd98@hoi-polloi.org> <slrnllnqvo.k47.admin@snorky.mixmin.net> <ljh90k$qhc$1@news.mixmin.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!news.alt.net!news.mixmin.net!.POSTED.2a01:4f8:100:5243::4!not-for-mail Newsgroups: alt.privacy.anon-server Organization: Mixmin Injection-Date: Sun, 27 Apr 2014 15:20:08 +0000 (UTC) Injection-Info: news.mixmin.net; posting-host="2a01:4f8:100:5243::4"; logging-data="8941"; mail-complaints-to="abuse@mixmin.net" User-Agent: slrn/pre1.0.2-12 (Linux) Lines: 149