Hennie Rautenbach Wrote:
> Hi there,
> I'm having some problems in getting the archiving to work. I would like
> all messages to be archived in "/usr/local/majordomo/archive/sabilist.archive"
> Could someone please supply me with sample entries for $filedir,
> $filedir_suffix and @archive_dirs as it should appear in the majordomo.cf
> file ?
I just got this working yesterday.
As someone said the other day it goes:
@archive_dirs = ( "$filedir_suffix/name_of_list$filedir_suffix" )
eg: @archive_dirs = ( "/usr/local/lib/majordomo/sample.archive" )
> I would also like to know exactly which path to specify in my aliases file
> to make use of the mentioned directory ?
> Here is the archive entry in my aliases file:
> sabilist-outgoing::include:/usr/local/majordomo/lists/sabilist, "| /usr/local/majordomo/bin/wrapper digest -r -C -l sabilist-digest sabilist-digest-outgoing", "| /usr/local/majordomo/bin/wrapper archive2.pl -a -m -f /usr/local/majordomo/archive/sabilist.archive"
The above should include the the filename.
So: "|/usr/local/majordomo/wrapper archive2.pl -a -m -f /usr/local/lib/majordomo/sample.archive/sample"
Hope this helps,