Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Solaris Sendmail



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).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org