Here is my own form rc.local.s20: # Set variables for sending to web based archive mhonarc=/home/xxxxxxxxx/cgi-bin/mhonarc listdir=/home/xxxxxxxxx/yyyy/archive/latest weblist=/home/xxxxxxxxx/zzz/archives/2001/aug-dec # Send message to web archive # :0 cw | $mhonarc -add -quiet -spammode -umask 022 $listdir -outdir $weblist I had a problem with the permissions being improperly set on the archive files so I added the -unmask option. I do not use any method to automatically divide into the month/day, but jsut create and add directories as needed. It's only once per quarter, so it has not been a pressing matter.
I don't know what exactly Debian does. I faced this problem some years ago, and have recently put my solution on