sendmail.cf rewrite errors

Michael Kandall kandall at sgitokyo.nsg.sgi.com
Thu Dec 27 17:10:27 AEST 1990


I am working as a consultant to SGI, and I also am having problems 
with the sendmail.cf file.

I modified the D F and N macros as mentioned in the comments of the
distributed sendmail.cf.  Not using any special rules, pathaliases, 
alternate naming, etc.  YP is off.  Changes are as follows:

	# Full local domain name
	DDnsg.sgi.com
	# Forwarding host, another_machine is connect by UUCP, so
	# non-fully qualified name is used.  (Should not affect
	# incoming mail.
	DFanother_machine
	CFanother_machine
	# default network name
	ONnsg.sgi.com

Out-going mail seems to work fine.  In-coming domain-addressed
mail generates the following errors to SYSLOG:

	Dec 27 02:24:12 sgitokyo sendmail[19465]: AA19465: 
		SYSERR: rewrite: expansion too long
	Dec 27 02:24:12 sgitokyo sendmail[19465]: Unparseable user 
		nuucp wants to be a.b.c.d!senders_name

Mail is sent to the postmaster (me) with the following header errors
enclosed.

       ----- Transcript of session follows -----
    554 rewrite: expansion too long
    setgroups: No permission match
    
       ----- Unsent message follows -----

I believe the permissions problem is just a consequence of the 
rewrite rules mis-parsing of the input header.  If I fix the problem 
which is breaking the rule set, permissions problem should go away.

If anyone could donate their modified copy of a distributed
sendmail.cf (just as a sanity check for me), or can recommend an 
approach for tracking down where in the system the error lies, 
I would appreciate it.

Thank you,
    

Mike
-----
Michael Kandall  (kandall at sgitokyo.nsg.sgi.com)
Independent Consultant to Nihon Silicon Graphics



More information about the Comp.sys.sgi mailing list