Hans H. Anderson wrote:
> Hello,
>
> I am installing majordomo on a Rackspace server from scratch. The
> installation was fine, installing from INSTALL. The ./wrapper config-test
> reports all good. I am running as 'majordomo' with the wrapper suid to
> root.
>
> I have /etc/aliases set up like this. Paths are correct as per the setup:
>
> Majordomo-Owner: email@hansanderson.com
> majordomo-owner: email@hansanderson.com
You should not have 2 of the same line in your /etc/aliases file. The
aliases are not case sensitive, and these are regarded as duplicates.
This goes for the 2 lines above and first 2 lines below this comment.
> Majordomo: "|/home/majordomo/1.94.5/wrapper majordomo"
> majordomo: "|/home/majordomo/1.94.5/wrapper majordomo"
> hans_test: "|/home/majordomo/1.94.5/wrapper resend -l hans_test hans_test-list",hans_test-archive
The line above should have ,nobody before the ending quotation mark,
and the ,hans_test-archive should be removed from that alias and added
to the hans_test-list: alias.
> hans_test-archive: "|/home/majordomo/1.94.5/wrapper archive2.pl -f /home/majordomo/1.94.5/lists/hans_test.archive/archive -D -a"
Just so you know what the above line is doing, I thought I would show
you this snippet from the archive2.pl file itself.
# 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
# -D Archive file is <archive>.YYYYMMDD
# -m Archive file is <archive>.YYMM
# -M Archive file is <archive>.YYYYMM
# -y Archive file is <archive>.YY
# -Y Archive file is <archive>.YYYY
# Exactly one of "-u" or "-a" must be specified.
# At most one of "-d", "-D", "-m", "-M", "-y", or "-Y" may be specified;
# if none is specified, archive name is simply <archive>
You are probably not looking for a "daily" archive, unless you expect to
receive hundreds of messages to your list every day. I would use -M instead.
The above line means that you also have these 2 lines in your majordomo.cf;
# $filedir = "$listdir";
# $filedir_suffix = ".archive";
and you expect the file saved in that directory to be named archive.20030903.
The final word "archive" on that line should be hans_test, but that is just a
preference of mine.
> hans_test-list: :include:/home/majordomo/1.94.5/lists/hans_test
> owner-hans_test: email@hansanderson.com
> hans_test-owner: email@hansanderson.com
> hans_test-approval: email@hansanderson.com
> hans_test-request: "|/home/majordomo/1.94.5/wrapper majordomo -l hans_test"
The rest of your aliases look functional.
>
> Some of those were set up via a Webmin interface for Majordomo. I don't
> use webmin very often, but I didn't readily understand how to use
> Majordomo, so I thought I'd set up one for an example. The duplicate
> lines at the top are an attempt to make sure that it wasn't a lower/upper
> problem.
>
> The problem I'm having is this: when I send a message to
> [Mm]ajordomo@localhost (or from another machine using the proper domain),
> I get no reponse. Nothing to the owner (email@hansanderson.com), nothing
> as a bounce, no response at all. I have the hans_test list setup, and ran
> the 'echo list|mail majordomo' suggestion from the INSTALL file and
> nothing happens either... no bounce, no signup, nada.
Email addresses, and their aliases, are NOT case sensitive. Majordomo on
the other hand IS filname case sensitive. Make sure the file in your lists
directory is "hans_test" and not "Hans_Test" or anything else with upper
case letters. Even though underscores are allowed, I would get rid of them
too.
The other thing majordomo is sensitive of, it fully qualified domain names.
What MTA are you running? Sendmail? Which version?
>
> Is this an easy one for the Majordomo experts? What am I missing? I'm a
> competent computer user, but will admit to have blocks with fax/modems,
> printers and anything that touches sendmail.
>
Is your sendmail working? Can you send a message to owner-hans_test from
the local machine or across the network, and receive that message at the
email@hansanderson.com address? What do the sendmail logs look like when
you write to majordomo? (/var/log/maillog if you are on linux) Check the
time stamps on the log entries too.
Dan Liston
Follow-Ups:
References:
|
|