LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 06-19-2009, 04:06 PM   #1
sspisharody
LQ Newbie
 
Registered: Jan 2009
Location: Phoenix, AZ
Posts: 3

Rep: Reputation: 0
CentOS Sendmail


I have a CentOS box that uses sendmail for notifications. By default, I understand it sends them to the MX record of the domain i.e. mail.example.com

How would I go about changing that to a specific IP xx.xx.xx.xx?

If I have to configure a service.switch file for sendmail, what would be the format of that?
 
Old 06-19-2009, 04:59 PM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,976

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Hi,

You should use mailertable to do what you want. If you have to use ip address instead of fqdn, the syntax is:
Code:
example.com   esmtp:[x.x.x.x]
Quote:
If I have to configure a service.switch file for sendmail, what would be the format of that?
What you mean by service.switch? IF you mean a startup file that is used when you run "service sendmail start", I guess it's already set when you installed sendmail
 
  


Reply

Tags
centos, sendmail, service


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem configuring Sendmail on CentOS 5.2 baldur2630 Linux - Server 4 02-02-2009 08:34 AM
Sendmail not working on Centos 4.5 xoise Linux - Software 5 12-29-2008 03:54 PM
Sendmail on CentOS Devileyezz Linux - Server 1 11-04-2007 02:08 PM
sendmail on CentOS 4.4 - where do I see the mail SENT to the server? Dan8080 Linux - Newbie 3 09-28-2006 12:30 AM
CentOS 4.2, Sendmail Problem adnonimape Linux - Software 2 03-24-2006 07:35 PM


All times are GMT -5. The time now is 09:00 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration