LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Sendmail on RH8 (https://www.linuxquestions.org/questions/linux-general-1/sendmail-on-rh8-39087/)

robinhood1995 12-21-2002 09:26 PM

Sendmail on RH8
 
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

##################
# 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

CP.

# "Smart" relay host (may be null)
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 RELAY
localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY


Enjoy!!!!

P.S. Happy Holidays......

DavidPhillips 12-22-2002 01:26 AM

cool,

just be careful editing that file it can cause problems for sendmail

the file should be built from the .mc file


All times are GMT -5. The time now is 10:49 AM.