Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to remove hostname part in recipient address

1 view
Skip to first unread message

Alan Kong

unread,
Mar 11, 2002, 9:26:30 PM3/11/02
to
Hi,
We are running sendmail 8.11 on Solaris 2.8. We have set
DOMAIN(OUR_DOMAIN) &
MASQUERADE_AS(OUR_DOMAIN)
when creating sendmail.cf

When our user type in:

TO: a,b,c

using Netscape 6.x, or Eudora, the recipient adress appeared as:
a...@HOST.OUR_DOMAIN, b...@HOST.OUR_DOMAIN, c@OUR_DOAMIN
^^^^ ^^^ ^^^^^^^^^^^^
Our user was fuzzy abount having the host field added to recipients.

WOnder how I could remove the host field part in the recipient address.

The host name was not added if the recipients were typed as:
TO: a
TO: b
TO: c

Thanks.


Regards

Alan

Per Hedeland

unread,
Mar 12, 2002, 5:18:54 PM3/12/02
to
In article <a6jp0m$24i$1...@eng-ser1.erg.cuhk.edu.hk> kkk...@ee.cuhk.hk
(Alan Kong) writes:

Sounds like a MUA bug, or perhaps a misunderstanding of the user
interface of the MUA - AFAIK at least Netscape doesn't really expect
more than one address per To: line *in the user interface* (but then
merges them into a single To: header in the actual message) - and the
MUA "fixing" only the last address on the line, leaving the rest to be
"fixed" by sendmail. In any case sendmail doesn't treat addresses in the
To: header differently based on whether they're first/last/alone on the
line.

The obvious and proper fix is of course for the user to give the real,
complete, addresses in the first place, instead of relying on MUA or MTA
to magically "do what I mean". However if you want sendmail to "fix"
such things using the masquerade name rather than the local host name,
you can use

FEATURE(`allmasquerade')

--Per Hedeland
p...@bluetail.com

0 new messages