Great Circle Associates Majordomo-Users
(November 2003)
 

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

Subject: Re: No reply from majordomo
From: Daniel Liston <dliston @ sonny . org>
Date: Sun, 02 Nov 2003 17:22:28 -0600
To: Marius Schamschula <marius @ caos . aamu . edu>
Cc: majordomo-users @ greatcircle . com
In-reply-to: <4F955BB1-0954-11D8-BA25-00039311F926@caos.aamu.edu>
References: <4F955BB1-0954-11D8-BA25-00039311F926@caos.aamu.edu>
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)

I hope this is solved, as I have been away all week.
More comments inline.

Marius Schamschula wrote:

> 
> 
> On Monday, October 27, 2003, at 10:13 PM, Daniel Liston wrote:
> 
>     Assuming sendmail is installed and functional, you can test aliases
>     with
>     sendmail -bv alias@your.domain
> 
>     an alias of
>     nobody: /dev/null
>     would be tested like this;
>     # sendmail -bv nobody@your.domain
>     /dev/null... deliverable: mailer *file*, user /dev/null
> 
>     To test your distribution list,
>     # sendmail -bv listname@your.domain
>     "|/usr/lib/majordomo/wrapper resend -l listname
>     listname-outgoing,nobody"... deliverable: mailer prog, user
>     "|/usr/lib/majordomo/wrapper resend -l listname
>     listname-outgoing,nobody"
>     and
>     # sendmail -bv listname-outgoing@your.domain
>     me@my.domain... deliverable: mailer local, user me
>     someuser@netscape.net... deliverable: mailer relay, host
>     smarthost.example.net, user someuser@netscape.net
> 
> 
>     The above shows the -outgoing address expands to the per user
>     delivery of the list's :include: file, and that non-local recipient
>     mail is sent through a smarthost.
> 
> 
> 
> There seems to be a problem expanding, For example, I get
> 
> bash-2.05a# sendmail -bv physics@physics.aamu.edu
> physics@physics.aamu.edu... deliverable: mailer local, user physics
> bash-2.05a# sendmail -bv majordomo@physics.aamu.edu
> majordomo@physics.aamu.edu... deliverable: mailer local, user majordomo
> bash-2.05a# sendmail -bv physics-list@physics.aamu.edu
> physics-list@physics.aamu.edu... deliverable: mailer local, user 
> physics-list
> bash-2.05a# sendmail -bv physics-request@physics.aamu.edu
> physics-request@physics.aamu.edu... deliverable: mailer local, user 
> physics-request

The above would imply that you have users in /etc/passwd that
match the addresses being verified, *and* the /etc/alises file
is being ignored.

> 
> The pertinent part of /etc/aliases is
> 
> # majordomo
> majordomo: "|/usr/local/majordomo-1.94.5/wrapper majordomo"
> owner-majordomo: root
> majordomo-owner: root

Personal experience says using root as the owner is a bad idea.
The same is true of using postmaster as the owner.

> 
> physics: "|/usr/local/majordomo-1.94.5/wrapper resend -l physics 
> physics-list"
> physics-list: :include:/usr/local/majordomo-1.94.5/lists/physics
> physics-request: "|/usr/local/majordomo-1.94.5/wrapper majordomo -l 
> physics"
> owner-physics: marius
> physics-owner: marius

The above is ok, but you are risking sendmail advertising your
physics-list address in the message headers.

> 
> 
>     Without seeing your aliases for the list, or the majordomo.cf file,
>     it is
>     difficult to know what could be happening with your list. What do
>     the majordomo and sendmail log files show when you try to send mail
>     to your list?
> 
> 
> majordomo.cf is vanilla. The only changes i made were
> 
> $whereami = "physics.aamu.edu";
> $sendmail_command = "/usr/sbin/sendmail";

Make sure your /usr/sbin/sendmail is not just a link to qmail.
If it does link to some other MTA, make sure it supports using
the /etc/aliases file.

> 
> 
>     Do your majordomo perl scripts have the location of your
>     installation of perl in the first line? This is usually
>     #!/usr/bin/perl or #!/bin/perl or possibly even #!/usr/local/bin/perl
> 
> 
> I edited the Makefile so perl is @
> 
> /usr/bin/perl

I hope the above is represented in the script as
#!/usr/bin/perl

Dan Liston



Follow-Ups:
Indexed By Date Previous: Re: How to make moderator option work?
From: Daniel Liston <dliston@sonny.org>
Next: Re: What do these config commands mean ...
From: Lee <lee_19712003@yahoo.com>
Indexed By Thread Previous: Re: How to make moderator option work?
From: "Charlie Smith" <smithcw@ldschurch.org>
Next: Re: No reply from majordomo
From: Marius Schamschula <marius@caos.aamu.edu>

Google
 
Search Internet Search www.greatcircle.com