[comp.mail.sendmail] sendmail works, but complains...

mjf@mjm.mjm.com (Mark Fresolone) (04/24/91)

I think I'm just hosed.
My system in an HP9000/800 with HP-UX 7.0.  I use the HP-UX sendmail
(i.e.  no source).  I have a UUCP link to a site with internet access,
and have sucessfully routed unknown UUCP and all RFC 822 destinations
to my gateway site.  Sendmail also recognizes our site as an RFC 822
destination for incoming mail.

I wanted to make one last change to have an RFC 822 "From:" address,
instead of a UUCP one.  (I was actually asked to provide this by our
gateway site.)  The following changes to Ruleset 13 (the uucp mailer)
in the HP-UX sendmail.cf accomplishes this successfully:

< R$+			$@$1<@$k.UUX>	user => my_host!user
---
> # Send internet-style "From:" address
> R$+			$:$1<@$w>	add local domain (Site-hidden)

Mail gets routed and tagged successfuly, but there is one annoying
catch - when a user sends mail through the gateway the following error
message is mailed back by sendmail:

	Subject: Returned mail: Unable to deliver mail
(This is false ----------------^                      )

   	----- Transcript of session follows -----
	554 No ! in UUCP: mjf@mjm.mjm.com
	....

There seems no way to get around this without going back to a UUCP-style
From address.  Any clues?

Mark Fresolone					mjf@mjm.com,  rutgers!mjm!mjf
Melillo Consulting/MJM Software			908-873-0075/Fax 908-873-2250

rickert@mp.cs.niu.edu (Neil Rickert) (04/24/91)

In article <1940002@mjm.mjm.com> mjf@mjm.mjm.com (Mark Fresolone) writes:
>My system in an HP9000/800 with HP-UX 7.0.  I use the HP-UX sendmail
>(i.e.  no source).  I have a UUCP link to a site with internet access,
>and have sucessfully routed unknown UUCP and all RFC 822 destinations
>
>I wanted to make one last change to have an RFC 822 "From:" address,
>instead of a UUCP one.  (I was actually asked to provide this by our
>gateway site.)  The following changes to Ruleset 13 (the uucp mailer)

>   	----- Transcript of session follows -----
>	554 No ! in UUCP: mjf@mjm.mjm.com

  Check your UUCP mailer definition.  It probably looks something like
this:

Muucp, P=/usr/bin/uux, F=FMUDuh, ......

 Try removing the 'U' flag in the F= string of mailer flags.  This should
eliminate the problem you are having.  The U flag tells 'sendmail' to put the
Unix From line into the form:  From address date remote from host
and without the '!' it cannot find the first host name in the path.

 There is a slight risk that this will result in all mail arriving on the
using system saying - 'From uucp etc' (instead of from the actual sender).

-- 
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
  Neil W. Rickert, Computer Science               <rickert@cs.niu.edu>
  Northern Illinois Univ.
  DeKalb, IL 60115                                   +1-815-753-6940