LinuxQuestions.org
Help answer threads with 0 replies.
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 05-11-2011, 06:12 AM   #1
K_L
LQ Newbie
 
Registered: Feb 2010
Posts: 11

Rep: Reputation: 0
Question Sendmail reconfigure


Hello,

I was given task to change configuration for sendmail. I need to change the IP for smart host relay.

I googled a few sites and searched this forum to check how that is done. What I cathered from results is that I need to make changes to sendmail.mc and then recreate the config file.

So I found the smarthost that had our old IP and changed it to the new one
define(`SMART_HOST', `********')dnl

then issued command
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
I also checked that sendmail.cf changed DS********

Then I restarted sendmail service.

But checking the maillog I noticed that the old smart host is still in use. I have no idea what I'm doing wrong. Please help the n00b and google handicap
 
Old 05-11-2011, 06:48 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,522

Rep: Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502Reputation: 1502
Hi,

What is the output of:
Code:
sendmail -bv foo@bar.com
Maybe your'e using mailertable to overwrite some domains
 
Old 05-12-2011, 02:36 PM   #3
K_L
LQ Newbie
 
Registered: Feb 2010
Posts: 11

Original Poster
Rep: Reputation: 0
Hello and thanks for answering.

Apparently the solution was borrowed from Windows world. I rebooted the machine and problem was solved. I don't understand why restartting service didn't help. I quess that happens when you go poke around system you didn't install your self
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
changed ip cannot reconfigure 3gtech Linux - Newbie 5 06-21-2010 11:04 AM
reconfigure rpm DBabo Linux - Software 23 12-18-2007 10:22 PM
reconfigure on vector? amantonas VectorLinux 2 03-21-2007 07:50 AM
Can't reconfigure Grub mikieboy Linux - Newbie 2 05-19-2004 06:03 PM
kernel reconfigure apax Linux - Software 2 11-04-2003 03:39 PM


All times are GMT -5. The time now is 08:20 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration