[comp.mail.misc] Smail 3.19 - question about visible_name attribute

ken@dali.cc.gatech.edu (Ken Seefried iii) (02/14/91)

-----

I seem to have made a mistake, or have a misunderstanding about how
the visible_name attribute works in Smail 3.19.  

In my $LIB_DIR/config file I have the lines:

	visible_domains = com
	visible_name = sware.com

And my smail was compiled with DOMAINS=sware.com in EDITME.  Now, I
was under the impression that this would cause mail headers to be
munged so that it looked like mail going out from our site came from
$user@sware.com.  However, what I've got is mail in the form
$user@$users_machine.sware.com.  Any clues?

Failing that, is there a way that I can force Smail to insert a
`Reply-To:' header of the form that I want, if the user hasn't
supplied one (or is this a blaspheme against the mail-header-gods?)?

Many thanks...

--

	ken seefried iii	"Specialization is for insects."
	ken@dali.cc.gatech.edu	   - Robert A. Heinlein (1916-1988)

les@chinet.chi.il.us (Leslie Mikesell) (02/16/91)

In article <22025@hydra.gatech.EDU> ken@dali.cc.gatech.edu (Ken Seefried iii) writes:

>I seem to have made a mistake, or have a misunderstanding about how
>the visible_name attribute works in Smail 3.19.  

>In my $LIB_DIR/config file I have the lines:
>
>	visible_domains = com
>	visible_name = sware.com

>And my smail was compiled with DOMAINS=sware.com in EDITME.  Now, I
>was under the impression that this would cause mail headers to be
>munged so that it looked like mail going out from our site came from
>$user@sware.com.  However, what I've got is mail in the form
>$user@$users_machine.sware.com.  Any clues?

I suspect that your user agent is generating the From: line before
handing it to smail.  Smail3 only modifies local forms by adding
the @visible_name.  Perhaps you can change the UA to either use
the preferred form or just omit the From: line entirely and let
smail build its own.  If you have source for the UA, you may
find an option to do this since some mail transports won't allow
ordinary users to create their own From: header lines.

Les Mikesell
  les@chinet.chi.il.us