LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-27-2003, 06:08 AM   #1
JM_Fraser
Newbie
 
Registered: Nov 2003
Location: London, UK
Distribution: RH
Posts: 24

Rep: Reputation: 15
how to disable sendmail and enable postfix?


After a lot of mad struggling with Postfix I was up2dating (RH v7.2) my system and in the process manage to restore a few Sendmail files. So now I can send mail outside of my box, which is GREAT! But it now transpires that it is Sendmail which is doing the work and nothing to do with my painstaking efforts with Postfix's main.cf.

How can I disable Sendmail and have Postfix as default mailer for ingoing and outgoing, internal and external mail? thx. JM :confused
 
Old 11-27-2003, 06:23 AM   #2
DirtDart
Member
 
Registered: Nov 2003
Distribution: Mandrake 10.1/Solaris 10 (sparc)
Posts: 96

Rep: Reputation: 16
In your /etc/rc3.d/ folder, you should have a S##sendmail and a S##postfix file.

As root, do a /etc/rc3.d/S##sendmail stop and a /etc/rc3.d/S##postfix, then a mv /etc/rc3.d/S##sendmail /etc/rc3.d/s##sendmail.

That will stop sendmail, start postfix, then changing the big 'S' to a little 's' will stop it from starting next time you boot.
 
Old 11-27-2003, 06:24 AM   #3
DirtDart
Member
 
Registered: Nov 2003
Distribution: Mandrake 10.1/Solaris 10 (sparc)
Posts: 96

Rep: Reputation: 16
Oh yeah...the ## in the above post are actual numbers...
 
Old 11-27-2003, 06:39 AM   #4
JM_Fraser
Newbie
 
Registered: Nov 2003
Location: London, UK
Distribution: RH
Posts: 24

Original Poster
Rep: Reputation: 15
Thanks D. Do I just do a "STOP" after the first command? What command do I give after the second and third Sendmail statements? Any command after the Postfix statement?
 
Old 11-27-2003, 07:07 AM   #5
JM_Fraser
Newbie
 
Registered: Nov 2003
Location: London, UK
Distribution: RH
Posts: 24

Original Poster
Rep: Reputation: 15
D. I have gone to the folder you specified. There is S80sendmail there but no Postfix file. When I do a ./S80sendmail stop, the server does stop. But as there is no Postfix file there, does this mean that I have installed it incorrectly?
 
Old 11-27-2003, 05:29 PM   #6
DirtDart
Member
 
Registered: Nov 2003
Distribution: Mandrake 10.1/Solaris 10 (sparc)
Posts: 96

Rep: Reputation: 16
Usually when you install a program, it has an entry in the /etc/rcx.d/ folder, which is actually just a link to somewhere else.

Type: rpm -qa | grep -i postfix to see if you have postfix installed. If so, type rpm -qil postfixpackagename to find out where the files are.
 
Old 11-28-2003, 07:15 AM   #7
JM_Fraser
Newbie
 
Registered: Nov 2003
Location: London, UK
Distribution: RH
Posts: 24

Original Poster
Rep: Reputation: 15
Thanks D. I have checked all this and found that Postfix is loaded in all the correct places. I have sorted out my MX records, also with my ISP. But I when I send mail from webmail to my domain and vice versa I see nothing. If I specify and external SMTP host then I can send mail outside, but when I hit reply, the mail is sent but it does not end up in my mail box; although I do not get a "not sent msg" at the webclient end which would suggest that the mail is getting delivered. How do I access it though?

At the "machine client" end for sending mail locally, how do I "bind" an internal login name, to an external email addr, do they have to be the same?
 
  


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
Runlevel Editor - Cannot Enable/Disable caesium5 Suse/Novell 1 10-06-2005 05:35 AM
looking for a enable/disable mouse command to X samel_tvom Linux - Hardware 2 03-03-2005 11:00 AM
enable disable Tuttle General 0 01-08-2005 04:21 PM
Enable/Disable GTk CheckButton Claus Programming 2 12-01-2003 04:44 AM
how to disable sendmail and enable postfix? JM_Fraser Linux - Newbie 0 11-27-2003 06:07 AM


All times are GMT -5. The time now is 10:52 PM.

Main Menu
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