Great Circle Associates Majordomo-Users
(June 1994)
 

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

Subject: Re: resend problems continue
From: "Michael J. Corrigan" <corrigan @ ucsd . edu>
Date: Tue, 07 Jun 1994 21:43:46 -0700
To: colin sebastian roald <colin @ callisto . pas . rochester . edu>
Cc: majordomo-users @ GreatCircle . COM
In-reply-to: Your message of "Tue, 07 Jun 1994 15:08:59 -0400." <199406071908.PAA13429@callisto.pas.rochester.edu>
Reply-to: majordomo-users @ GreatCircle . COM

Actually maybe it should have been "echo $status". The point is to display
the exit status the command:
/bin/sh -c "/applic/ath/majordomo/wrapper resend -l psi -h callisto.pas.rochester.edu psi-outgoing" 

If the exit status is 1 you get unknown mailer error 1.
If the exit status is 0 sendmail is happy.
echo $status should print out which it is.
If you can't get it a 0 out of it, then create a shell script, say resend2
or whatever with contents:

#!/bin/sh
/applic/ath/majordomo/wrapper resend -l psi -h callisto.pas.rochester.edu psi-outgoing
exit 0

and make the alias
psi: "|/whatever/resend2"

...temporarily to get the list going ?
-mike

> From: "Michael J. Corrigan" <corrigan@ucsd.edu>
> > Try (this takes sendmail out of the equation):
> > 
> > cat sample_mesg | /bin/sh -c "/applic/ath/majordomo/wrapper resend -l psi -
h callisto.pas.rochester.edu psi-outgoing" ; echo $?
> > 
> > where sample_mesg is something resend would want to see.
> 
> when i include the "echo", i get "Newline in variable name."
> [i'm using tcsh, if that matters.]
> 
> when i leave it off, the message is delivered correctly, all the
> headers are rewritten, and i am ecstatic.  when i try to do the 
> same thing by passing it through my list alias (which is:
> 
> psi: "|/applic/ath/majordomo/wrapper resend -l psi -h callisto.pas.rochester.
edu psi-outgoing"
> 
> ), it crashes with "unknown mailer error 1", and i almost put my fist
> through the screen.  
> 
> what the hell could be wrong here?  "resend" works from the command line, 
> so it must be compiled correctly.  half a dozen people have told me my
> sendmail alias is correct. is there any possible way i could have sendmail
> 8.6.9 configured to refuse to forward to a program?  what else could it
> possibly be?  
> 
> help me, please...
> 
> 
> 
> --
> colin | precisely why all of the above should be so is not clear, but goes so
me
> roald | way to explaining why, on the Disc, the Gods are not so much worshipp
ed
>         as blamed.  (pratchett)
> 


References:
Indexed By Date Previous: [no subject]
From: davep@jersey.sps.mot.com (Dave Penaskovic)
Next: Re: setting default regexp_array in 1.90
From: "John P. Rouillard" <rouilj@cs.umb.edu>
Indexed By Thread Previous: Re: resend problems continue
From: colin sebastian roald <colin@callisto.pas.rochester.edu>
Next: Re: resend problems continue
From: colin sebastian roald <colin@callisto.pas.rochester.edu>

Google
 
Search Internet Search www.greatcircle.com