email@example.com (Dave Sill) writes:
> >A colleague and i have been trying to install majordomo 1.94.4 on a
> >redhat linux box with qmail-1.01-7 and perl-5.004-0
> >we have read all faq's and readme's.
> That's good. So you must know there are several different ways to set
> up Majordomo under qmail. Which approach did you take?
I don't remember off-hand: I did this while on holiday in the UK, (I
live in Spain). If I remember correctly we compiled and installed
majordomo "as normal", and setup the qmail aliases as per the FAQ for
the majordomo-owner and stuff like that. I don't think we did
anything really special.
> >It appears that majordomo is functioning ok, though qmail seems to be
> >complaining. (majordomo passes it's self test)
> >when we look in /var/log/qmail/@00088... (the log file for the
> >30th), it complains about not being able to open
> What are the owner, group, and mode on the wrapper?
The majordomo "user" is major, configured as follows:
$ grep major /etc/passwd /etc/group
/etc/group:users::100:sjmudd, ...[extract] ... ,major
The wrapper is setup as follows:
$ ls -la wrapper
-rwsr-xr-x 1 root major 6486 Dec 30 17:44 wrapper*
> >we've tried to run (as root)
> >/home/major/wrapper majordomo
> You mean you just ran that interactively as root?
Sorry we interactively ran the wrapper test script.
(taken from INSTALL)
9) Chdir to the Majordomo home and (as a regular, unprivileged user, not
the Majordomo user or root) run the configuration test script:
% cd /path/to/majordomo
% ./wrapper config-test
this gives (tail of output):
Have you configured where Majordomo is?
$whereami is hades.myth.co.uk
----------------------- end of tests -----------------------
Nothing bad found! Majordomo _should_ work correctly.
If it doesn't, check your configuration file
closely, and if it still looks okay, consider asking the majordomo-users
mailing list at "firstname.lastname@example.org" for assistance. Be sure
and fully specify what your problems are, and what type of machine (and
operating system) you are using.
> >and it says that email@example.com is not a valid mail address (or
> >something). This seems to be a qmail error/warning, not a majordomo
> >However, we are not sure why qmail is complaining.
> Do you have an alias set up for "majordomo"? It's apparently
> complaining because you're trying to deliver mail to a bad address.
this is what I have in qmail's /var/qmail/alias directory. I think this is correct, but am very unfamiliar with qmail and may have done something stupid:
hades [root /var/qmail/alias]# ls -al | grep major
-rw-r--r-- 1 root root 30 Dec 30 17:48 .qmail-majordomo
-rw-r--r-- 1 root root 30 Dec 30 17:53 .qmail-majordomo-owner
hades [root /var/qmail/alias]# cat .qmail-majordomo
hades [root /var/qmail/alias]# cat .qmail-majordomo-owner
Which is I think correct ???
> >Our guess is that like sendmail you need to tell qmail that majordomo
> >will "change it's identity" and this is ok. sendmail calls this a
> >trusted user, allowing root, uucp and a couple of other users to do
> >this. we don't know how to do this with qmail.
> I'm not sure exactly what you're trying to do, but I've got Majordomo
> set up so it doesn't use the wrapper at all and everything runs under
> the Majordomo user ID.
I don't mind either using the wrapper or not using it. With sendmail
the defaults seem to be to use the wrapper and thus I've attempted to
setup majordomo in the same way with qmail. The majordomo with qmail
FAQ I used (I can't remember which one it was) seemed to indicate that
I used the wrapper. I'm sorry I can't be more precise.
> >the wrapper is suid root, which qmail may object to, but we think the
> >wrapper ought to be used.
> It's possible, but not necessary.
Ok. If I don't use the wrapper, how do I configure majordomo with
qmail without it.
> >we think this is qmail being fussy, AND it's easy to fix, but we're
> >not familiar with the way qmail works or how to check if this is
> >indeed a qmail problem.
> You'd probably have better luck asking this on the qmail list, but
> you'll need to include lots more details of your configuration and the
> problems you're having (e.g., actual error messages) if you expect
> anyone to be able to help.
You're probably right, though I assumed I might be having a problem
which someone would recognise as being an obvious mistake. Majordomo
works well with sendmail, and seems close to working with qmail.
This is the message I get back when I try to provoke the majordomo
from the command line. I guess that this is what will happen when
sending mail to majordomo@localhost:
hades [sjmudd /home/major]$ ./wrapper majordomo
this is a test
Majordomo@hades.myth.co.uk: is not a valid return address.
hades [sjmudd /home/major]$
I guess that majordomo tries to process the headers, and this is where
the problem occurs. However this message is NOT produced by majordomo
but I guess by qmail. It is qmail that doesn't like the majordomo
Does this help?
Simon Mudd ******** All Trading Brokers Europe ********* Madrid, Spain
Work: firstname.lastname@example.org Tel: +34-1-592 8190, Fax: +34-1-592 8170
Home: email@example.com Tel: +34-1-559 2854