[comp.mail.sendmail] -bt test option

sgs@rand.mel.cocam.oz.au (Stuart Szabo) (03/08/91)

  I am looking for some documentation on how to interpret what is 
being returned by 'sendmail -bt -Csendmail.cf'

	In particular,  which rulesets should I be testing.   What
I'm trying to do is to fix a problem with incoming mail not being
resolved correctly.   How can I work out which rulesets are being 
used on incoming mail?

	Also are there any books or documentation available on 
sendmail.   I am running SCO xenix and using the sendmail supplied
with the SCO tcp/ip package.


		Thanks,
			Stuart Szabo
			sgs@rand.mel.cocam.oz.au
	 

wohler@sapwdf.UUCP (Bill Wohler) (03/12/91)

sgs@rand.mel.cocam.oz.au (Stuart Szabo) writes:
>  I am looking for some documentation on how to interpret what is 
>being returned by 'sendmail -bt -Csendmail.cf'

stuart,

  you'll also want to add a -d21.n (1 < n < 99) flag.  as i recall,
  n==13 was good for seeing which rules were succeeding.  experiment.

  you'll want a copy of the sendmail installation and operation guide.
  a hard copy is in the usenix unix system manager's manual.

  the following diagram, from this paper describes the rulesets that
  sendmail applies to messages.

		  --> 0 -> resolved address
		 /
		/   /-> 1 -> S -\
	  addr -> D-             --> 4 -> msg
		    \-> 2 -> R -/

		D - sender domain addition
		S - mailer-specific sender rewriting
		R - mailer-specific recipient rewriting

  for example, to test what your outgoing address might look like, you
  could run sendmail -bt -d21.5 and assume the sender rule for the tcp mailer
  is 17:

	1,17,4 wohler

  sendmail will run the address through ruleset three first.

  hope this helps.

						--bw
						wohler@sap-ag.de