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.
> #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
> majordomo: "|/opt/majordomo-1.94.5/wrapper majordomo
> owner-majordomo: email@example.com
> majordomo-owner: firstname.lastname@example.org
> #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: email@example.com
> ruby-owner: firstname.lastname@example.org
> 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: email@example.com
> ruby-digest-owner: firstname.lastname@example.org
> 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
test: "|/opt/majordomo-1.94.5/wrapper resend -l test test-outgoing,nobody"
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-outgoing: "|/usr/bin/bulk_mailer email@example.com /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;
From: "Williams, Travis L, NPONS" <firstname.lastname@example.org>