Great Circle Associates Majordomo-Users
(June 2001)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Majordomo Reply problems
From: Daniel Liston <dliston @ netscape . com>
Organization: iPlanet eCommerce Solutions, A Sun|Netscape Alliance
Date: Fri, 29 Jun 2001 14:21:29 -0500
To: Balaji A <BalajiA @ PLANETASIA . COM>, Majordomo Users <majordomo-users @ greatcircle . com>
References: <8440753914E8D4118128009027DE39093E4A11@MLSW00103>

Your having MTA issues at this point, majordomo is working.

OK, your config test is working, but your sendmail is still complaining.
You must not have done "ALL" of my suggested commands.  Of course I made
those suggestions based on the assumption you are running some flavor of
linux with sendmail.  We still do not have this information from you.

> Nothing bad found!  Majordomo _should_ work correctly.
> 
> If it doesn't, check your configuration file
>         (/usr/local/majordomo-1.94.5/majordomo.cf)
> closely, and if it still looks okay, consider asking the majordomo-users
> mailing list at "majordomo-users@greatcircle.com" for assistance.  Be sure
> and fully specify what your problems are, and what type of machine (and
> operating system) you are using.

What machine are you using?  What operating system?  What mailer software?
Please include versions of each.

Still assuming you are running sendmail, but on Solaris (SunOS) you still 
need to edit your /etc/sendmail.cf so it has this line...
O AliasFile=/etc/aliases, /etc/mail/majordomo.aliases
and make sure there is NOT a reference in the sendmail.cf to the real file
location of /usr/local/majordomo-1.94.5/majordomo.aliases.

You might also still need to create a link properly so that the separate 
aliases file in your majordomo directory can be used, or just configure 
your lists in the primary "/etc/aliases" file and not bother with a 
separate aliases file.  If you decide not to bother, the paragraph above 
can be ignored.  Otherwise, make sure your symbolic link was created as
the root user, and the link is from 
/usr/local/majordomo-1.94.5/majordomo.aliases
to
/etc/mail/majordomo.aliases

ln -s /usr/local/majordomo-1.94.5/majordomo.aliases /etc/mail/majordomo.aliases

Also, your /usr directory still has the writable bit enabled.  Did you do
the `chmod go-w /usr`?

Lastly, there is information that must jive with the rest of your configuration
in the /etc/majordomo.cf, /etc/aliases and /etc/mail/majordomo.aliases.  You 
might want to post them to this list too.

Dan Liston

Balaji A wrote:
> 
> Hi,
>        I did the changes suggested by u..still the same problem..majordomo
> is getting the mails but it is not able to reply back to the user..I ran the
> wrapper config test as ordinary user and the output is this
> 
> $ wrapper config-test
> ------------------------------------------------------------
> ---------------- Config-test for Majordomo ----------------
> ------------------------------------------------------------
> 
> --------------------- Obvious things: ---------------------
> ------------------ environment variables ------------------
>    HOME=/usr/local/majordomo-1.94.5
>    LOGNAME=balaji
>    MAJORDOMO_CF=/usr/local/majordomo-1.94.5/majordomo.cf
>    PATH=/bin:/usr/bin:/usr/ucb
>    SHELL=/bin/sh
>    TZ=GMT+5
> --------------------- euid/egid checks ---------------------
>    effective user  = majordomo (uid 113)
>    effective group = majordomo majordomo other (gid 16 16 1 )
> ---------------------- uid/gid checks ----------------------
>    real      user  = majordomo (uid 113)
>    real      group = majordomo majordomo other (gid 16 16 1 )
> ------------------------------------------------------------
> 
>         Non obvious things that cause headaches:
> 
> ------------------------------------------------------------
> Good: 'require'd /usr/local/majordomo-1.94.5/majordomo.cf okay.
> Good: found ctime.pl okay.
> Good: found majordomo_version.pl okay.
> Good: found majordomo.pl okay.
> Good: found shlock.pl okay.
> Good: found config_parse.pl okay.
> 
> You're running Majordomo Version 1.94.5.
> 
> --==> Majordomo home directory is /usr/local/majordomo-1.94.5.
> ------------------- Include directories -------------------
>         /usr/local/majordomo-1.94.5
>         /usr/local/lib/perl5/5.6.1/sun4-solaris
>         /usr/local/lib/perl5/5.6.1
>         /usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris
>         /usr/local/lib/perl5/site_perl/5.6.1
>         /usr/local/lib/perl5/site_perl
>         .
> --------------------------- Home ---------------------------
> Good: changedir to /usr/local/majordomo-1.94.5 succeeded.
> Good: Created a mock lock file.
> ---------------------- temp directory ----------------------
> Good: Created a temp file in $TMPDIR (/usr/tmp).
> ---------------------- list directory ----------------------
> Good: list directory /usr/local/majordomo-1.94.5/lists has good permissions.
> --------------------------- log ---------------------------
> Good: logfile /usr/local/majordomo-1.94.5/Log exists and is writeable.
> ------------------------- Mailers -------------------------
> You have defined a mailer for delivery.
> Attempting to verify that this is a valid mailer...looks okay.
> You have defined a mailer for delivering administrative messages.
> Attempting to verify that this is a valid mailer...looks okay.
> ------------------ Checking majordomo.cf ------------------
> Checking to see if there are new variables that should be in
> your majordomo.cf file...Nope, none that I see.
> 
> Have you configured where Majordomo is?
>         $whereami is ganga.planetasia.microland.co.in
> Good: yup!
> ----------------------- end of tests -----------------------
> 
> Nothing bad found!  Majordomo _should_ work correctly.
> 
> If it doesn't, check your configuration file
>         (/usr/local/majordomo-1.94.5/majordomo.cf)
> closely, and if it still looks okay, consider asking the majordomo-users
> mailing list at "majordomo-users@greatcircle.com" for assistance.  Be sure
> and fully specify what your problems are, and what type of machine (and
> operating system) you are using.
> 
> Enjoy!
> ----------------------------------------------------------------------------
> ---------------------
> i still dont know why it is behaving like this, after making all the changes
> when
> the newaliases command was run it showd this..
> 
> WARNING: writable directory /usr
> WARNING: writable directory /usr
> dbm map "Alias2": unsafe map file
> /usr/local/majordomo-1.94.5/majordomo.aliases: Permission denied
> WARNING: cannot open alias database
> /usr/local/majordomo-1.94.5/majordomo.aliases
> Cannot create database for alias file
> /usr/local/majordomo-1.94.5/majordomo.aliases: No such device
> /etc/aliases: 12 aliases, longest 64 bytes, 591 bytes total
> /etc/mail/majordomo.aliases: 5 aliases, longest 64 bytes, 304 bytes total
> 
> eagerly waiting for u..
> 
> thanks balaji
> 
> > ----------
> > From:         Daniel Liston
> > Sent:         Friday, June 29, 2001 3:11 PM
> > To:   Balaji A
> > Cc:   'Majordomo-Users@GreatCircle.com'
> > Subject:      Re: Majordomo Reply problems
> >
> > 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
> >


Indexed By Date Previous: Majordomo-users: Put recipient e-mail address in place of listname for to-header?
From: Howard Fredericks <hfrederi@edutechltd.com>
Next: Re: Majordomo-users: Put recipient e-mail address in place of listname for to-header?
From: Daniel Liston <dliston@netscape.com>
Indexed By Thread Previous: RE: Majordomo Reply problems
From: "Adrian D'Costa" <adrian@pcsadvt.com>
Next: RE: Majordomo Reply problems
From: Balaji A <BalajiA@PLANETASIA.COM>

Google
 
Search Internet Search www.greatcircle.com