[comp.mail.mh] scan address munging

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

folks,

  if an address doesn't have a host part, my scan tacks on the local
  hostname.  so i get:

33  22.02  bigmac@aix3        suzy configuration <<Hi, Bruce came and asked a

  instead of the preferred

33  22.02  bigmac             suzy configuration <<Hi, Bruce came and asked a

  any ideas?  unfortunately, this is the best i can do for
  configuration:
  version: MH [6.6 UCI] [RAND] [IBM AIX 3.1]

  i noticed that i get the desired behavior on another machine with
  the following:

  options: [ATZ] [BERK] [BSD42] [BSD43] [DUMB] [ISI] [MHE] [MHRC]
  	   [NFS] [NETWORK] [NOMHSEQ] [OVERHEAD] [RPATHS] [UK]
  	   [MSGPROT='"0600"'] [FOLDPROT='"0700"'] [MORE='"/usr/ucb/more"']
  	   [SBACKUP='"#"'] [SENDMTS] [SMTP]

  hopefully there is something i can do short of recompiling.

							--bw
							wohler@sap-ag.de

jromine@buckaroo.ics.uci.edu (John Romine) (03/07/91)

Bill Wohler <wohler@sap-ag.de> writes:
>  if an address doesn't have a host part, my scan tacks on the local
>  hostname.

You might try creating a scan format file which uses %(friendly{from}).
See scan(1), and mh-format(5) for details.
--
John Romine