# sendmail in RH8

**URL:** <https://forums.thehomestack.io/t/sendmail-in-rh8/50>\
**Category:** Linux - General\
**Created:** [December 23, 2002, 10:39pm UTC](https://forums.thehomestack.io/t/sendmail-in-rh8/50 "2002-12-23T22:39:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![robinhood1995](https://forums.thehomestack.io/letter_avatar_proxy/v4/letter/r/48db29/32.png) [@robinhood1995](https://forums.thehomestack.io/u/robinhood1995)\
**Post date:** [December 23, 2002, 10:39pm UTC](https://forums.thehomestack.io/t/sendmail-in-rh8/50/1 "2002-12-23T22:39:13Z")

</div>

Sendmail on RH8 ( post #1)

Hi Gang,

This worked for me !!!

Change the following entries in the /etc/mail/sendmail.cf file…

++++++++++++++++++++++++++++++++++++++++++++++

##### $Id: accept\_unresolvable\_domains.m4,v 8.10 1999/02/07 07:26:07 gshapiro Exp $

[Cwmydomain.com](http://Cwmydomain.com)

##################

# local info

##################

# my LDAP cluster

# need to set this before any LDAP lookups are done (including classes)

#D{sendmailMTACluster}$m

Cwlocalhost

# file containing names of hosts for which we receive email

Fw/etc/mail/local-host-names

# my official domain name

# … define this only if sendmail cannot automatically determine your domain

[Djmydomain.com](http://Djmydomain.com)

CP.

# “Smart” relay host (may be null)

[DSsmtp.myipserver.com](http://DSsmtp.myipserver.com)  
++++++++++++++++++++++++++++++++++++++++++++++

Also do the following in the /etc/mail/access file :

# Check the /usr/share/doc/sendmail/README.cf file for a description

# of the format of this file. (search for access\_db in that file)

# The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc

# package.

# 

# by default we allow relaying from localhost…

[mydomain.com](http://mydomain.com) RELAY  
localhost.localdomain RELAY  
localhost RELAY  
127.0.0.1 RELAY

Enjoy!!!

P.S. Happy Holidays…
