Great Circle Associates Majordomo-Users
(May 2000)
 

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

Subject: Re: Majordomo + help?
From: Dan Liston <dan @ sonny . org>
Date: Fri, 26 May 2000 00:38:13 -0500 (CDT)
To: Ish Rattan <ishwar @ pali . cps . cmich . edu>
Cc: majordomo-users @ greatcircle . com
In-reply-to: <200005251812.OAA00557@pali.cps.cmich.edu>

This is because sendmail is not automatically adding your domain to local
(to your machine) user addresses.  This can be fixed by one or both of the
following suggestions.

1.  Change line 605 of majordomo.pl so that it does not "require" fully
qualified email addresses.  Do this by changing from
    if (!(/\@/ && /\./)) {	# line 605 in version 1.94.5
to
    if (/\@/ && !/\./) {	# line 590 in version 1.94.4
and let sendmail worry about what is a valid address instead of majordomo
making assumptions.  The first statement requires an @ and a . in the
address.  The replacement (going back to the old way) only requires the .
if an @ is in the address.  But it worked without complaining in 1.94.4,
so why did they break it in 1.94.5?  The choice is yours.

2.  Change sendmail.cf so that it can make majordomo happy before
majordomo complains.  Do this by adding 
FEATURE(always_add_domain)
to your sendmail.mc file and rebuilding your sendmail.cf from it, or
modify your sendmail.cf directly, checking S10, S20, S30, S40, and S50 for
any lines that may be commented out.  Uncomment them to enable "add
local" domain qualification. Then restart sendmail.  

If you are running sendmail newer than 8.9.x, these rulesets may have
extra characters between the S at the beginning of a line, and the number.
SEnvFromL=10, SEnvToL=20, SHdrFromL=30, SHdrToL=40, and SAddDomain=50.

Dan Liston

On Thu, 25 May 2000, Ish Rattan wrote:

> Hello,
> 
> Got past newaliases problem. Again looks like sendmail problem. When
> mail sent from another host things work BUT when sent from a local
> user majordomo complains (see below). So, I tried mail to local user
> and sure enough there is problem with From: line (seee bottom). I am
> stumped, any pointers will be appreciated.
> 
> - ishwar
> ---------majordomo response---
> >From majordomo-Owner@pali.cps.cmich.edu Thu May 25 14:00:43 2000
> Return-Path: <majordomo-Owner@pali.cps.cmich.edu>
> Received: (from majordom@localhost)
> 	by pali.cps.cmich.edu (8.9.3/8.9.3) id OAA00511;
> 	Thu, 25 May 2000 14:00:43 -0400 (EDT)
> 	(envelope-from majordomo-Owner@pali.cps.cmich.edu)
> Date: Thu, 25 May 2000 14:00:43 -0400 (EDT)
> Message-Id: <200005251800.OAA00511@pali.cps.cmich.edu>
> X-Authentication-Warning: pali.cps.cmich.edu: majordom set sender to majordomo-Owner@pali.cps.cmich.edu using -f
> To: majordomo-Owner@pali.cps.cmich.edu
> From: majordomo@pali.cps.cmich.edu
> Subject: MAJORDOMO ABORT (mj_majordomo)
> Reply-To: majordomo@pali.cps.cmich.edu
> Status: R
> 
> 
> MAJORDOMO ABORT (mj_majordomo)!!
> 
> majordomo@pali.cps.cmich.edu: Ish Rattan <ishwar> is not a valid return address.
> 			      ^^^^^^^^^^^^^^^^^^^
> 
> ----mail sent to local user----
> 
> ishwar 2> mail
> Mail version 8.1 6/6/93.  Type ? for help.
> "/var/mail/ishwar": 1 message 1 new
> >N  1 ishwar                Thu May 25 11:32  14/401   "To test mail to local"
> & 1
> Message 1:
> >From ishwar Thu May 25 11:32:01 2000
> Date: Thu, 25 May 2000 11:32:00 -0400 (EDT)
> From: Ish Rattan <ishwar>			<<<< should be user@FQDN
> To: ishwar
> Subject: To test mail to local user
> 
> Is a test.
> 
> &
> ----
> 



References:
Indexed By Date Previous: Re: Contradicting majordomo LIST results
From: Bill Polhemus <bpolhem@swbell.net>
Next: Re: Contradicting majordomo LIST results
From: Dan Liston <dan@sonny.org>
Indexed By Thread Previous: Re: Majordomo + help?
From: "Todd A. Lyons" <todd@mrball.net>
Next: Re: Majordomo + help?
From: Gabe Helou <gabe@angus.mystery.com>

Google
 
Search Internet Search www.greatcircle.com