LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-21-2002, 09:26 PM   #1
robinhood1995
Member
 
Registered: Jan 2002
Location: Ohio
Distribution: CentOS 5.2
Posts: 52

Rep: Reputation: 15
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......
 
Old 12-22-2002, 01:26 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
cool,

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

the file should be built from the .mc file
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
setting up sendmail - rh8 elhombre Linux - Newbie 2 02-19-2004 09:53 AM
Sendmail- RH8.0- Looking for relay on localhost.com rawbear Linux - Software 21 04-26-2003 10:35 PM
RH8 sendmail and sound problem Haploness Linux - Software 3 04-10-2003 03:25 AM
Anybody with RH8.0 vanilla and sendmail success? rawbear Linux - Software 5 01-03-2003 07:33 AM
RH8.0 Evolution or Sendmail GtkUser Linux - Software 1 11-08-2002 03:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration