🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
7 messages
7 total messages Started by Red John Wed, 21 May 2014 02:24
Remailer Maintenance
#267918
Author: Red John
Date: Wed, 21 May 2014 02:24
12 lines
1197 bytes
In inwtx's guide he states below:

Files you will need to periodically empty.

      1. /var/log/mail.log
      2. /home/mix/Mix/mbox
      3. /home/mix/Mix/error.log

Should these file be periodically deleted and automatically
recreated or do you have to open up each file and deleted its
contents and resave it as an empty file?
Re: Remailer Maintenance
#267915
Author: Anonymous
Date: Wed, 21 May 2014 02:37
18 lines
1638 bytes
On Wed, 21 May 2014 03:24:09 +0100 (BST), Red John
<redjohn@nym.mixmin.net> wrote:

>In inwtx's guide he states below:
>
>Files you will need to periodically empty.
>
>      1. /var/log/mail.log
>      2. /home/mix/Mix/mbox
>      3. /home/mix/Mix/error.log
>
>Should these file be periodically deleted and automatically
>recreated or do you have to open up each file and deleted its
>contents and resave it as an empty file?

Log files can be rotated automatically once set up to do so with
logrotate or similar program.
Re: Remailer Maintenance
#267921
Author: Bergman Admin
Date: Wed, 21 May 2014 06:58
29 lines
2500 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 20/05/14 10:24 PM, Red John wrote:

> 3. /home/mix/Mix/error.log

For this one I use a neat linux command called truncate to empty out
the contents of the file while still keeping the file in place.

cd /home/mix/Mix
> error.log       <----- this will truncate the error.log file


- -- 

Bergman Remailer Admin 0x770251F2
Fingerprint: 8124 C17B 7FD9 1738 066F 4E29 4407 A967 7702 51F2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQEcBAEBCAAGBQJTfE56AAoJEEQHqWd3AlHy0gcIAJFJccGpaT+QmRx7R43w1IHd
lFfb2jq2LhulhVx1a5cmCnL7QTTN02lZYU0gO49PlvBBYbF0zzoN6j77Nh45D9+h
wp+EfEAuKpKayNRjfVBIuzC4qRDsETOc9Hu3uNdV/llHTTPVylisth3jvl/EB8rX
n1r3RRM6P6cyL5K9mHYgmoqwTC3GdTLMl+gqMjiIczUlfgM9R/3BvRPsFE/JayD+
PID6Jjwud7DJ2b1GBHPvYfYONuc/vV5LLiShWiNaFR5Y6GTwEgwtrkhIdbGIU0Jl
paXKNd5fBBlzvRf6P7omadX4WPDt1rQUKWe4wmohN8ArWJQfcySub3YsC8AqKpw=
=9yUw
-----END PGP SIGNATURE-----
Re: Remailer Maintenance
#267922
Author: Bergman Admin
Date: Wed, 21 May 2014 07:03
14 lines
1942 bytes
On 21/05/14 02:58 AM, Bergman Admin wrote

> cd /home/mix/Mix
>> error.log       <----- this will truncate the error.log file

That didn't display properly. I'll try to type it again here:

//   cd /home/mix/Mix
//   >error.log       <----- this will truncate the error.log file



Bergman Remailer Admin 0x770251F2
Fingerprint: 8124 C17B 7FD9 1738 066F 4E29 4407 A967 7702 51F2
Re: Remailer Maintenance
#267923
Author: Zax
Date: Wed, 21 May 2014 07:40
62 lines
2974 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Wed, 21 May 2014 03:24:09 +0100 (BST), Red John wrote in
Message-Id: <20140521022409.48185EAB3B@snorky.mixmin.net>:

> In inwtx's guide he states below:
>
> Files you will need to periodically empty.
>
>       1. /var/log/mail.log
>       2. /home/mix/Mix/mbox
>       3. /home/mix/Mix/error.log
>
> Should these file be periodically deleted and automatically
> recreated or do you have to open up each file and deleted its
> contents and resave it as an empty file?


1) You shouldn't need to touch /var/log/mail.* as they have a logrotate
recipe by default.  You can check by looking in /etc/logrotate.conf.

2) I don't think many remailer admins get mail for humans delivered to
the remailer's email address.  As the address is publicly advertised (in
pingers and webpages) it tends to get heavily spammed.  The easiest
solution is to just discard non-remailer messages by putting this in
mix.cfg:
MAILBOX         /dev/null

3) You can rotate your mixmaster error log by creating a file called
/etc/logrotate.d/mixmaster and putting this in it:

/home/mix/Mix/error.log {
        weekly
	rotate 5
	compress
	missingok
	notifempty
}

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBCAAGBQJTfFhbAAoJEIBmv8lxNqHo414P/ReQj70rdvDUdURfYva8Fmdo
ufrHlAkjtCduIhURyffhVsn1GhwoqPtz3wT0lXs9Iug0YVudfSfaagG9ykeJBZaC
aT8DcXXcjgz1SPaVkXn/EFPxRoftuSEPsdzNX9AeZPZF5fU7IaDbA6cKXVkp+Fj1
5rdQ78uYui4J3gjhjDBlcRPifeqRBzJQzXwvrrW0/uqKWq4HtuByWzxOmWum/ADG
o2zM9c+dWa0oO7DiDfsKGl+HTn7YOSLz+gsYsqBOonyvjWuUkf858vRZiBhEYNtG
jTmlaDuofAMbhzUrASNxYLsfrlKpnYU6biZlHv3ui56HeJZDPjyno5ALn0xWVoV/
nYcVp52QLTiDO3yH15fvS4UudF1HLcf9YGmBGQIv4Ajd8zyiScAZOmhcgcdtpYbe
9Tj/kUDAYWgbPeth10wmZjiw6ztgjsImVy/I2pIfVI/0X0Yqd1VkbMtlB7qlZjCs
TRpoRfOLA1mlcpXcintqZ/BbFa9maj6IDsDZodVX0ZIrjPpE6wquAD02aRgBUdUg
R/kJCc+jisypBVKj48Etd/0BmHnjm4pHmTQZPE1CEpmp6FjtlpZNfp3Np2iBqWiN
HvaYg1vYJo1rHnhlUl4lu3Yk/NfgTnhSiQ7EUAMctPY12yUUdZDyCRHvZm1KBDcs
mzxsW+VEdEQrn0b8x7Oi
=ceDq
-----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]
Re: Remailer Maintenance
#267925
Author: anonymous
Date: Wed, 21 May 2014 13:22
78 lines
3338 bytes
Zax used his keyboard to write :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> On Wed, 21 May 2014 03:24:09 +0100 (BST), Red John wrote in
> Message-Id: <20140521022409.48185EAB3B@snorky.mixmin.net>:
>
>> In inwtx's guide he states below:
>> 
>> Files you will need to periodically empty.
>> 
>>       1. /var/log/mail.log
>>       2. /home/mix/Mix/mbox
>>       3. /home/mix/Mix/error.log
>> 
>> Should these file be periodically deleted and automatically
>> recreated or do you have to open up each file and deleted its
>> contents and resave it as an empty file?
>
>
> 1) You shouldn't need to touch /var/log/mail.* as they have a 
> logrotate recipe by default.  You can check by looking in 
> /etc/logrotate.conf.
>
> 2) I don't think many remailer admins get mail for humans delivered 
> to the remailer's email address.  As the address is publicly 
> advertised (in pingers and webpages) it tends to get heavily spammed. 
>  The easiest solution is to just discard non-remailer messages by 
> putting this in mix.cfg:
> MAILBOX         /dev/null
>
> 3) You can rotate your mixmaster error log by creating a file called
> /etc/logrotate.d/mixmaster and putting this in it:
>
> /home/mix/Mix/error.log {
>         weekly
> 	rotate 5
> 	compress
> 	missingok
> 	notifempty
> }
>

  Here is what is in my /etc/logrotate.conf:

root@inwtx~# cat /etc/logrotate.conf
# see "man logrotate" for details
# rotate log files weekly
daily

# keep 4 weeks worth of backlogs
rotate 0

# create new (empty) log files after rotating old ones
create

# uncomment this if you want your log files compressed
compress

# packages drop log rotation information into this directory
include /etc/logrotate.d

# no packages own wtmp, or btmp -- we'll rotate them here
/var/log/wtmp {
    missingok
    monthly
    create 0664 root utmp
    rotate 1
}

/var/log/btmp {
    missingok
    monthly
    create 0660 root utmp
    rotate 1
}

# system-specific logs may be configured here
Re: Remailer Maintenance
#267926
Author: Zax
Date: Wed, 21 May 2014 13:36
50 lines
3062 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Wed, 21 May 2014 08:22:00 -0500, anonymous wrote in
Message-Id: <lli99q$oco$1@news.mixmin.net>:

>   Here is what is in my /etc/logrotate.conf:

Apologies, I should have explained that in a little more detail.  Here's
the complete process:-

The logrotate process is scheduled from cron.  If you look in
/etc/crontab, there's an entry that runs all the scripts in
/etc/cron.daily, probably at 1:25am every day.

Next look in /etc/cron.daily/logrotate and you'll see that it runs the
/usr/sbin/logrotate command and uses /etc/logrotate.conf (the file you
listed) for it's configuration.

In /etc/logrotate.conf, there's the following line:
> # packages drop log rotation information into this directory
> include /etc/logrotate.d

This tells logrotate to include any configuration files listed in that
directory.  Head on over to /etc/logrotate.d and you'll see a file
called rsyslog.  This contains the rotate instructions for log files
managed by rsyslog.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBCAAGBQJTfKvsAAoJEIBmv8lxNqHotXYQALcb5kaEZD/dgfdnLtsj1SQ9
vgZ6bHEDHdn6VpgBRsRULMHvowSagsgzWFr782649ruLRGL+F8KEZf8F5XJHp/eB
2yQ8rY7APrTQc+IZSxWV7bXw9/4J/GSWDdd4l3yyeeBswXt31jDLLWVVk+X8Pywx
AMF4JDuSre/38Pmr7XPT55ZLQZ/nnGeLbDZSsfitdRHQxjfqnLVHGXo4XEflCfqg
EOhnJ5nAMGy+0NT/rvr5p5G+5RHnQoFtBihS06SyWzRt1ElnJdfTeIuSCCuk+V/T
XdS9IIqyP9hDlolrQkHw2+/DgCiFVsFCeTJJNkWzrPrM/CTPDDGkBuw1s1meVHx9
jJB0hA48vXq8q4GV9usuhmUHFz1WCOL0iryGI3uM68DggPq3NS25OZsUQO70r877
pB7pfFEiYfwXfvk133HThDv2BWc1p26d4GrdyUu3MZWPW0kv10UoJCeQvlPA0Y0Z
/129mKTlTiSW41H8MQxtCHJ1a/veLL/MthbT4ipGEpo9dnZZ24SWW6nMeCol+vCE
x9Ru2oO/7RuOJ1ztVOImS1L5iGIXdYAU79Tub66Qqn+riDOuwneuZaGmD6IEDH28
Id8jioEzkRCI9gHEmSYHaD98xcQFXugF/j+2UiMi1be8bImIgDoP48oiRcZFFpbQ
DlGaMSPx5iy6FXV7MBpn
=kDFt
-----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]
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