Since I do not know what version of sendmail you are running, or what OS,
I will take the long route assuming 8.9.3 and linux, and say;
as the root user do these commands...
chmod go-w / /var /usr /usr/local /var/spool
chmod -R go-w /usr/local/majordomo-1.94.5
chmod a-x /usr/local/majordomo-1.94.5/majordomo.aliases
chown majordomo:majordomo /usr/local/majordomo-1.94.5/majordomo.aliases
ln -s /usr/local/majordomo-1.94.5/majordomo.aliases /etc/mail
now do another `newaliases` command
If you still get an error, check your sendmail.cf for this line;
O AliasFile=/etc/aliases, /etc/mail/majordomo.aliases
If you had to add or edit a line for the above, restart sendmail;
/usr/sbin/sendmail -bd -q30m
Have you run `wrapper config-test` from the /usr/local/majordomo-1.94.5
directory as root, majordomo, and some other user? What were those
results.
Dan Liston
Balaji A wrote:
>
> Hi,
> Iam sending the mail from balaji to majordomo and This is what is
> there in
>
> /usr/local/majrodomo-1.94.5/Log file
>
> Jun 28 10:30:18 ganga.planetasia.microland.co.in majordomo[2451]
> {balaji@ganga.planetasia.microland.co.in} help
> Jun 28 10:40:21 ganga.planetasia.microland.co.in majordomo[2481]
> {balaji@ganga.planetasia.microland.co.in} config test
>
> It is receiving it fine..but there is no reply..even the config file was
> created..with the default passwds and all those stuff..but there is no reply
> from majordomo..and i couldnt find the /var/log/maillog file to check it
> out..changing the aliases dint work..when i run the newaliases..i get the
> following result
>
> WARNING: writable directory /var
> WARNING: writable directory /var/spool
> WARNING: writable directory /usr
> newaliases: cannot open /usr/local/majordomo-1.94.5/majordomo.aliases:
> Executable files not allowed
> /etc/mail/aliases: 12 aliases, longest 64 bytes, 581 bytes total
> newaliases: cannot open /etc/mail/majordomo.aliases: Executable files not
> allowed
>
> Majordomo is able to read the mail but there is no reply..
> eagerly waiting for ur reply.
> balaji
>
> > ----------
> > From: Dan Liston
> > Sent: Thursday, June 28, 2001 11:05 PM
> > To: Balaji A
> > Cc: 'majordomo-users@GreatCircle.com'
> > Subject: Re: Majordomo Reply problems
> >
> > Who or what user are you sending the email to majordomo from?
> > You can not send majordomo a message from itself, or it will not
> > be processed. Majordomo sees these messages as a mail loop.
> >
> > Check your /path-to/majordomo/Log file, and your /var/log/maillog
> > file for hints as to what happened to the email. Did majordomo
> > see it but not reply? Did the message get to sendmail, but not
> > to majordomo? Did majordomo send a reply for sendmail to process
> > but sendmail black-holed it?
> >
> > Dan Liston
> >
> > Balaji A wrote:
> > >
> > > Hi,
> > > After installation when i send a mail to majordomo..
> > > "config test test.admin" ..it is creating a config file in my lists
> > > directory..but it is not sendin the config file back..i mean there is no
> > > reply from Majordomo..iam unable to know why this is happening..There is
> > no
> > > reply from majordomo what might be the problem..
> > > please help me..
> > >
> > > My alias file is as below..
> > >
> > > majordomo: "|/usr/local/majordomo-1.94.5/wrapper majordomo"
> > > owner-majordomo:balaji@ganga.planetasia.microland.co.in
> > > majordomo-owner:balaji@ganga.planetasia.microland.co.in
> > >
> > > test: "|/usr/local/majordomo-1.94.5/wrapper resend -l test test-list"
> > > test-list: :include:/usr/local/majordomo-1.94.5/lists/test
> > > owner-test: balaji@ganga.planetasia.microland.co.in
> > > test-owner: balaji@ganga.planetasia.microland.co.in
> > > test-request: "|/usr/local/majordomo-1.94.5/wrapper majordomo -l test"
> > > test-approval: balaji@ganga.planetasia.microland.co.in
> > >
> > > The machine iam using is solaris 2.7 and sunOS 5.6...
> > > perl-5.6.1..
> > > thanks balaji
> > >
> > > > ----------
> > > > From: Daniel Liston
> > > > Sent: Wednesday, June 27, 2001 8:33 AM
> > > > To: Diana Mateja
> > > > Cc: Majordomo-Users@GreatCircle.COM
> > > > Subject: Re: Install problem with majordomo.aliases
> > > >
> > > > What are the ownership and permissions on the link you created?
> > > > Are you running on a hosted service? Have you tried the RPM install?
> > > > You could save yourself lots of these problems by using the RPM if
> > > > you own the machine you are installed on.
> > > >
> > > > Dan Liston
> > > >
> > > > Diana Mateja wrote:
> > > > >
> > > > > I am having a problem installing majordomo. Here is my system info:
> > > > > Majordomo Version: 1.94.5
> > > > > Perl version 5.00503
> > > > > OS: Linux2.2.18
> > > > > Mailer: Sendmail8.8.7
> > > > >
> > > > > I made it to the last step where I issued the 'lists' command -
> > > > > 10. Test the configuration again by creating an empty file 'test' in
> > > > > $listdir, and issue a 'lists' command to Majordomo:
> > > > > % touch /path/to/majordomo/lists/test
> > > > > % echo 'lists' | mail majordomo
> > > > >
> > > > > I get the following error -
> > > > > [root@sesgweb lists]# hash map "Alias1": unsafe map file
> > > > > /home/mcuadm/src/majordom/majordomo.aliases.db: Group writable
> > directory
> > > > >
> > > > > So I looked through the archives and found that many have problems
> > at
> > > > > this step and I found one that was similar to mine but the response
> > for
> > > > > that one did not work for me.
> > > > >
> > > > > Someone else reported the error -
> > > > > Issuing an echo lists | mail majordomo on my fBSD 3.3 system
> > > > > with sendmail returns this error:
> > > > >
> > > > > % Cannot open hash database /opt/majordomo.aliases.db:
> > > > > Inappropriate file type or format
> > > > > --------------------
> > > > > The response he got was -
> > > > >
> > > > > Most likely, your separate aliases file for majordomo is
> > > > > not located in a sendmail safe directory or owned by root.
> > > > > Try creating a link from /opt/majordomo.aliases to /etc/mail
> > > > > and in your sendmail.cf use that link as an additional
> > > > > aliases file.
> > > > >
> > > > > As root do;
> > > > > `ln -s /opt/majordomo.aliases /etc/mail` (I used my own pathname.)
> > > > > In sendmail.cf
> > > > > # location of alias file
> > > > > O AliasFile=/etc/aliases, /etc/mail/majordomo.aliases
> > > > >
> > > > > Restart sendmail
> > > > > Maybe `newaliases` or `sendmail -bi`
> > > > > ---------------
> > > > > This worked for him but when I restart sendmail. This is what I
> > get:
> > > > > [root@sesgweb mail]# newaliases
> > > > > WARNING: Group writable directory /home/mcuadm
> > > > > WARNING: Group writable directory /home/mcuadm/src
> > > > > hash map "Alias2": unsafe map file
> > > > > /home/mcuadm/src/majordom/majordomo.aliases.db: Group writable
> > directory
> > > > >
> > > > > WARNING: cannot open alias database
> > > > > /home/mcuadm/src/majordom/majordomo.aliases
> > > > > Cannot create database for alias file
> > > > > /home/mcuadm/src/majordom/majordomo.aliases
> > > > > /etc/aliases: 15 aliases, longest 49 bytes, 226 bytes total
> > > > > /etc/mail/majordomo.aliases: 19 aliases, longest 121 bytes, 1131
> > bytes
> > > > > total
> > > > >
> > > > > I am not a sys admin so I don't understand these errors.
> > > > > Can someone help?
> > > > > Diana
> > > >
> >
References:
|
|