Showing posts with label config files. Show all posts
Showing posts with label config files. Show all posts

Monday, July 14, 2008

ASSP Tweak: Filename in maillog.txt

This is a simple change to ASSP (assp.pl) that places the filename of the email in the maillog.txt
First, find and change the following -- it's around line 2578 in 1.1.0 or 8046 in the latest release, inside sub Maillog. The bold lines were added. You'll need to restart ASSP to see this take effect.

Now you know exactly which file pertains to your email and you don't have to grep for it in /spam or /notspam

$Con{$fh}->{maillogfh}=$FH;
$Con{$fh}->{mailloglength}=0;
binmode $FH;
# logging filenames
mlog($fh, "'$fn'");

Tuesday, March 27, 2007

RCS - Revision Control System. Everyone should use this.

Do you edit /etc files or .inis or .confs? If you're like me, you have tons of .old or .mmddyy or .1, .2, etc. files cluttering up your directory.

If you're further like me, you have trouble sometimes to determine which one of the filename.ext~ or filename.old or filename.old.2 that you'd need to go back to if you screw something up.

RCS helps this lots.



http://galton.uchicago.edu/~gosset/Compdocs/rcs.html

Blog Archive