Daniel,
Thanks for the hints.
On Sunday, November 2, 2003, at 05:22 PM, Daniel Liston wrote:
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.
Indeed, the AliasFile sendmail directive had been commented out in sendmail.cf.
I now get mostly expected results. However, when I first tried physics-list I got
bash-2.05a# sendmail -bv physics-list@physics.aamu.edu
:include:/usr/local/majordomo-1.94.5/lists/physics... Cannot open /usr/local/majordomo-1.94.5/lists/physics: Group writable file
I then changed the group write permissions. Now I get
bash-2.05a# sendmail -bv physics-list@physics.aamu.edu
aliasing/forwarding loop broken
Any ideas?
The pertinent part of /etc/aliases is
# majordomo
majordomo: "|/usr/local/majordomo-1.94.5/wrapper majordomo"
owner-majordomo: root
majordomo-owner: root
Fixed.
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.
How do I fix this?
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.
220 xenon.physics.aamu.edu ESMTP Sendmail 8.12.9/8.12.6; Mon, 3 Nov 2003 08:43:44 -0600 (CST)
Once I get Mac OS X 10.3 Server, I'll get to do this all over again. 10.3 uses Postfix.
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
Yup. ; ->
Marius
--
Marius Schamschula, Ph.D. - Optical Physicist, Mac, and Network Coordinator
The Center for Applied Optical Sciences
The Center for Hydrology, Soil Climatology and Remote Sensing
Alabama A & M University, Department of Physics
http://www.caos.aamu.edu/ - http://www.hscars.aamu.edu/
http://www.physics.aamu.edu/
Follow-Ups:
References:
|
|