Great Circle Associates Majordomo-Users
(January 1997)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: archive
From: Dan Simoes <dans @ ans . net>
Date: Tue, 7 Jan 1997 16:01:55 -0500 (EST)
To: david_wolfe @ risc . sps . mot . com
Cc: dans @ ans . net, majordomo-users @ greatcircle . com
In-reply-to: <199701072008.OAA15562@miaow.risc.sps.mot.com> from "Dave Wolfe" at Jan 7, 97 02:08:27 pm

I forgot the version.
One other thing - I edited the archive path in /etc/majordomo.cf
based on something I came across in an old note in c.m.sendmail
in the hopes it would fix things.  It did not.

<</home/majordom:dans >> more archive2.pl
#!/usr/local/bin/perl
 
# Copyright 1993, D. Brent Chapman.  All Rights Reserved.  For use by
# permission only.
#
# $Source: /sources/cvsrepos/majordomo/contrib/archive2.pl,v $
# $Revision: 1.2 $
# $Date: 1994/03/06 22:44:36 $
# $Author: rouilj $
# $State: Exp $
#
# $Locker:  $
#
# archive -f <archive> {-u|-a} [-d|-m|-y] [file ...]
#       -f <archive> REQUIRED; specifies base file name for archive
#       -u      Input is a UNIX archive (separated by "From " lines) to split
#       -a      Input is a message to append to archive
#       -d      Archive file is <archive>.YYMMDD
#       -m      Archive file is <archive>.YYMM
#       -y      Archive file is <archive>.YY
# Exactly one of "-u" or "-a" must be specified.
# At most one of "-d", "-m", or "-y" may be specified; if none is
#   specified, archive name is simply <archive>
# 
# An example of using "archive" to split an existing UNIX-style archive
# named "my-list.archive" into by-day archive files named "my-list.YYMMDD":
# 
#       archive -f my-list -d -u my-list.archive
# 
# A sample /etc/aliases file entry to use "archive" add each incoming message
# to a "my-list.YYMM" file in the "/usr/local/mail/lists/my-list.archive"
# directory:
# 
#       my-list-archive: "|/usr/local/mail/majordomo/wrapper archive
#               -f /usr/local/mail/lists/my-list.archive/my-list
#               -m -a"

-- 
Dan Simoes			          dans@ans.net
ANS 				http://coimbra.ans.net/dans.html
100 Clearbrook Road  			(914) 789-5378 (voice)
Elmsford, NY 10523			(914) 789-5310 (fax)


References:
  • Re: archive
    From: Dave Wolfe <dwolfe@risc.sps.mot.com>
Indexed By Date Previous: Re: archive
From: Dan Simoes <dans@ans.net>
Next: Want restricted posts to be returned to unzubscribed users!
From: Jim Reisert <jjr@databook.com>
Indexed By Thread Previous: Re: archive
From: Dan Simoes <dans@ans.net>
Next: Re: archive
From: Dave Wolfe <dwolfe@risc.sps.mot.com>

Google
 
Search Internet Search www.greatcircle.com