Hello,
got suse 6.2, installed sendmail runs fine also with MX record.
Installed majordomo. Seems to run fine as well. Got in sendmai.cf the
majordomo.aliases directory configured.
I created a file /var/lib/majordomo/lists/test
I did
echo "lists" | mail mdom
and a mail gets send to root saying 'lists'.
An error pops up though:
hash map "Alias1": missing map file /usr/lib/majordomo/majordomo.aliases.db: No
such file or directory
How do I create the db file from the aliases file?
My bigger problem though is I don't understand at all how this works. I read
the files INSTALL, README.linux and the FAQ. They all talk in some way about
some config, writeconfig and a list password and stuff. Can somebody shed some
light on this?
I just simply want to create a list test@my.domain and when somebody sends
an email to mdom@my.domain saying 'subscribe test' he gets a reply saying he
was accepted. I guess that is how all the mailing lists work. I couldn't get
this to work though. Here is what I have:
/var/lib/majordomo/lists/test //file empty,mode 664
/var/lib/majordomo/lists/test.info //file with some stuff written in it,664
/usr/lib/majordomo/majordomo.aliases:
majordomo: "|/usr/lib/majordomo/wrapper majordomo"
owner-majordomo: root,
majordomo-owner: root,
# sample entry for a majordomo mailing-list called "test"
# read /usr/doc/packages/majordomo/README.linux for more information
# replace "test" with a new name and put the administrator into
# the "owner-test" alias instead of "root".
#
test: "|/usr/lib/majordomo/wrapper resend -l test test-outgoing"
test-outgoing: :include:/var/lib/majordomo/lists/test
test-request: "|/usr/lib/majordomo/wrapper majordomo -l test"
test-approval: owner-test,
owner-test-outgoing: owner-test,
owner-test-request: owner-test,
owner-test: root
~/.majordomo:
test test.admin mdom@my.domain
/etc/sendmail.cf:
# location of alias file
O AliasFile=/etc/aliases,/usr/lib/majordomo/majordomo.aliases
So when I send an email to test@my.domain it vanishes into nowhere. When I
send one to mdom@my.domain it goes to root and nothing else happens.
Where am I messing things up? Thank you.
--
Marcel Kunath
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Montie House Network Greater Lansing Linux Users Group
http://www.montiehouse.com http://www.gllug.org
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Follow-Ups:
-
Re: newbie
From: Mats Dufberg <Mats.Dufberg@abc.se>
|
|