Subject: Re: sendmail help....
To: Greg Evans <raisplin@rcn.com>
From: Franz Urbanski <fou@ON-Luebeck.DE>
List: port-mac68k
Date: 03/12/1999 22:42:34
On Thu, Mar 11, 1999 at 09:36:05PM -0500, Greg Evans wrote:
> Looking for some help setting up sendmail. Just a couple questions..
> 
> 1) is it possible to set up sendmail so that it uses user@ip_address 
> instead of user@domain assuming that the machine it is running on does 
> not have a FQDN associated with it, and if so, 
> 
> 2) where would I set this up?
> 
> 3) If sendmail can't do this is there another mail program that can?

To configure sendmail, you must modify /etc/sendmail.cf 
- unfortunately, this file is almost "write only".

You can build "sendmail.cf" using the "m4" macro processor. Some
examples and a "README" can be found in the source tree of sendmail
starting at the "cf"-directory - e.g. /usr/src/sendmail-8.9.1a/cf/

Example (hides my private site name)
------------------------------------------------------------------------
MASQUERADE_AS(my-isp.de)
MASQUERADE_DOMAIN(my-private-site.my-isp.de)
------------------------------------------------------------------------

HTH

Franz