Solaris Sendmail

Derek Martin ddm at pizzashack.org
Sat May 26 12:03:25 EDT 2001


On Fri, May 25, 2001 at 07:00:25PM -0400, Anthony J. Gabrielson wrote:
> Hello,
> 	Quick question.  How do I change the default domain on a Solaris
> mail server?  I don't want it to be the hostname, but rather another
> domain.
> 
> Any ideas?

Yep, if you're using the m4 stuff to configure sendmail, you want to
use this:

  define(`confDOMAIN_NAME',`my.host.com')

If you're configuring via the .cf file directly, use this:

  Djmy.host.com

Depending on what you're trying to do, you might instead want to use
masquerading.  The m4 macro is this:

  MASQUERADE_AS(`host.com')

The config file macro is this:

  DMhost.com

-- 
---------------------------------------------------
Derek Martin          |   Unix/Linux geek
ddm at pizzashack.org    |   GnuPG Key ID: 0x81CFE75D
Retrieve my public key at http://pgp.mit.edu

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list