Roderick Padilla wrote:
>
> At 04:02 PM 4/25/00 -0500, Dan Liston wrote:
> >The reason test.archive.0004 is created is because of the way you have your
> >outgoing alias written.
> >...-outgoing: "|/object_research/system/majordomo-1.94.4/wrapper archive2.pl
> > -a -m -f
> > /object_research/system/majordomo-1.94.5/archive/test.archive"
>
> >This tells the archiver that the base filename (not directory) is
> >test.archive which the -m adds a suffix of .0004 to. If you send an
> >index test
> >command to majordomo, does it find the test.archive.0004 file?
>
> nope .. it comes back with ...
>
> >>>> index cba-employers
> #### No files available for cba-employers.
> >>>>
You may want to consider changing the alias to point to the correct
directory, one level deeper. Just change ".archive" to "/test" and
make sure of two things;
1. /object_research/system/majordomo-1.94.5/archive/test/ exists 755
2. majordomo.cf has;
a. $filedir = "$homedir/archive"
b. $filedir_suffix = ""
If you want to salvage your existing test.archive.0004, move it to
/object_research/system/majordomo-1.94.5/archive/test/test.0004
>
> >Here again, to prevent line length problems for sendmail, and to keep
> >aliases easier to read for me
>
> I use a GUI (WEB) interface in Sendmail that makes it very easy to maintain
> ....
This does not help potential sendmail limitations though.
>
> >, I create two additional aliases and use them in my
> >$ougoing alias.
> >
> >test-archiver, and test-digestify. I also use a creation date in my alias
> >for the outgoing deliveries.
> >
> >test: "|/var/majordomo/wrapper resend -l test test-000425,nobody"
> >test-000425: :include:/var/majordomo/lists/test,test-archiver,test-digestify
> >test-archiver: "|/var/majordomo/wrapper archive2.pl
> > -f /var/majordomo/archive/test/test -M -a"
> >#note - this creates test.200004 in /var/majordomo/archive/test/
> >test-digestify: "|/var/majordomo/wrapper digest
> > -r -C -l test-digest test-digest-000425"
> >#note - this creates ### files in /var/majordomo/digests/test-digest/
> >test-digest: test
> >test-digest-000425: :include:/var/majordomo/lists/test-digest
> >
> >Owner, request, and approval addresses ignored for the moment.
> >
>
> Is there anything wrong with the way I have it? .. Need experienced opinion.
Experienced opinion says; "if it is working, don't fix it" :)
The problem is, the archive is "not working". You would see files listed
with the index command if it was working.
>
> >All messages sent to test are distributed immediately to subscribers of
> >test.
> >Since you still have 001, 002, 003 in the $digest_work_dir, the digest has
> >not been sent immediately. When it IS distributed, it is sent to the email
> >addresses in test-digest, not the email addresses in test.
> >
> >Digests can be sent "automatically" based on settings in test-digest.config.
> >Age: digest_maxdays =
>
> Mine is set to 1
>
> >Size: maxlength =
> >Lines: digest_maxlines =
>
> both are the same .... and still sending immediately. What is wrong .. do I
> need values on each or at least on one like I have.
I still have difficulty with this statement. Does this mean the 001 etc
files
are now gone from $digest_work_dir/test-digest/?
Any setting that is left blank is "undefined" in perl. Try setting
maxlength
to something like a million and maxlines to 20000. That should make it wait
long enough for your cron job to take over.
>
> >If any of these values is "exceeded" a digest is created and sent. If you
> >want a daily digest via cron, set these values high enough not to interfere
> >with cron. Any time a digest IS created, your ### files are removed from
> >/object_research/system/majordomo-1.94.5/digests/test-digest/
>
> Roderick Padilla Office:(404) 651-3832
> Systems & Network Administrator Fax: (404) 651-3842
> http://www.cis.gsu.edu/~rpadilla Email: rpadilla@gsu.edu
>
> Department of Computer Information Systems
> J. Mack Robinson College of Business
> Georgia State University
> PO Box 4015
> Atlanta, Georgia, USA 30302-4015
References:
|
|