Quote:Azfar Kazmi writes:
>How do I suppress host name from email address? E.g. my domain is xyz.com
>and host is abc. The email address becomes abc.xyz.com
It's explained in the FAQ which should be consulted before posting.
a) Again from the FAQ of sendmail V8:
* How do I make all my addresses appear to be from a single host?
Using the V8 configuration macros, use:
This will cause all addresses to be sent out as being from
the indicated domain.
If you're using version 8.x (x > 6) sendmail, and you want to hide
this information in the envelope as well as the headers, use:
If you also want to masquerade the recipients, use
But be careful and read cf/README first about possible problems!
b) For Sun's sendmail (prior to version 8):
Look for a rule (should be in ruleset 22) like
and change it to
if you have correctly defined $m.
If you have SunOS 5.x (with x < 5; aka Solaris 2.x) you also have to
change the following rule:
Hope this helps,
[Please don't send me copies of usenet postings. Thanks!]
<URL: http://www.informatik.uni-kiel.de/%7Eca/ >