Great Circle Associates Majordomo-Users
(July 2003)
 

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

Subject: Re: 2 Questions
From: Daniel Liston <dliston @ sonny . org>
Date: Thu, 03 Jul 2003 23:33:31 -0500
To: "Williams, Travis L, NPONS" <tlw @ att . com>
Cc: majordomo-users @ greatcircle . com
In-reply-to: <AB815D267EC31A4693CC24D234F829160513E851@ACCLUST02EVS1.ugd.att.com>
References: <AB815D267EC31A4693CC24D234F829160513E851@ACCLUST02EVS1.ugd.att.com>
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)



Williams, Travis L, NPONS wrote:

> I can get majordomo to act as a mailing list.. but I can't seem to get it to archive/digest.
 > I will post my aliases at the bottom.  My second question is on the newconfig command.. what
 > I did was copied the config.. made my changes added the line newconfig list listpwd at the
 > top of the new file.. then did a sendmail majordom < newconfigfile.. and I got an error about
 > unbalance '"'  (which is single quote double quote single qoute).. any ideas?
> 

"sendmail majordom < newconfigfile" is not correct syntax or procedure.

> 
> 
> Aliases
> 
> 
> #Majordomo Alias

You are missing the ending double quote on the majordomo line below.
This will make sendmail search across lines until it finds a closing
quote.

> majordomo: "|/opt/majordomo-1.94.5/wrapper majordomo
> owner-majordomo: tlw@att.com
> majordomo-owner: tlw@att.com
> 
> #Ruby Alias
> ruby: :include:/opt/majordomo-1.94.5/lists/ruby
> #ruby:    "|/opt/majordomo-1.94.5/wrapper resend -l ruby ruby-list"
> #ruby-list: :include:/opt/majordomo-1.94.5/lists/ruby
> owner-ruby:   tlw@att.com
> ruby-owner:   tlw@att.com
> ruby-request: "|/opt/majordomo-1.94.5/wrapper majordomo -l ruby"
> #Ruby Digest
> ruby-digest: ruby
> ruby-digest-outgoing: :include:/opt/majordomo-1.94.5/lists/ruby-digest
> owner-ruby-digest: tlw@att.com
> ruby-digest-owner: tlw@att.com
> ruby-outgoing: :include:/opt/majordomo-1.94.5/lists/ruby, ruby-digestify
> ruby-digestify: "|/opt/majordomo-1.94.5/wrapper digest -r -C -l ruby-digest ruby-digest-outgoing"
> 

Your "ruby" alias is not making use of the "resend" script provided with
majordomo.  This is the same as using a static, non-managed mailing list.
If you substitute ruby for test in the example below, you may have better
luck.

test: "|/opt/majordomo-1.94.5/wrapper resend -l test test-outgoing,nobody"
owner-test: test-owner,
test-owner: dliston
test-approval: test-owner
test-outgoing: :include:/opt/majordomo-1.94.5/lists/test,test-archiver,test-digestify
test-archiver: "|/opt/majordomo-1.94.5/wrapper archive2.pl -f /opt/majordomo-1.94.5/archives/test/test -a -M"
test-digestify: "|/opt/majordomo-1.94.5/wrapper digest -r -C -l test-digest test-digest-outgoing,nobody"
test-request: "|/opt/majordomo-1.94.5/wrapper majordomo -l test"
test-digest: test
owner-test-digest: owner-test
test-digest-outgoing: "|/usr/bin/bulk_mailer owner-test@sonny.org /opt/majordomo-1.94.5/lists/test-digest"

The above aliases have a dependency on entries in the majordomo.cf file;

$whereami = "sonny.org";
      $homedir = "/opt/majordomo-1.94.5";
$datadir = "/opt/majordomo-1.94.5";
$listdir = "$datadir/lists";
$digest_work_dir = "$datadir/digests";
$filedir = "$datadir/archives";
$filedir_suffix = "";
$majordomo_request = 1;

Dan Liston





References:
  • 2 Questions
    From: "Williams, Travis L, NPONS" <tlw@att.com>
Indexed By Date Previous: Re: piping to majordomo fails
From: Daniel Liston <dliston@sonny.org>
Next: Operating system error.
From: "Dr. Tim" <timothy@xrx-inc.com>
Indexed By Thread Previous: 2 Questions
From: "Williams, Travis L, NPONS" <tlw@att.com>
Next: Operating system error.
From: "Dr. Tim" <timothy@xrx-inc.com>

Google
 
Search Internet Search www.greatcircle.com