PDA

View Full Version : [ubuntu] How to Uninstall Postfix and Install Sendmail



schilders
March 1st, 2010, 09:16 PM
Good Afternoon All,

I'm working on a Karmic cloud server and need to remove Postfix and install Sendmail so that OpenEMM will work. I am very new to Ubuntu and need some guidance regarding the uninstallation procedure. Can someone provide me with a link to this documentation? If you have a link to sendmail installation instructs, that would be a bonus!! Apparently only sendmail will work with OpenEMM which necessitates the Postfix uninstall.

Thanks,
Sid

skillllllz
March 1st, 2010, 09:24 PM
Remove postfix...

sudo apt-get purge postfix
Install sendmail...

sudo apt-get install sendmail
Voilą!

schilders
March 1st, 2010, 09:52 PM
Remove postfix...

sudo apt-get purge postfix
Install sendmail...

sudo apt-get install sendmail
Voilą!
Wow! Didn't realize it was that simple. Does install sendmail include all the configuration prompts, or are there separate config commands to execute?
Thanks,
Sid

skillllllz
March 1st, 2010, 10:51 PM
I'm not sure if sendmail's installer automatically prompts for configuration information. In the worst case scenario, it will not and you will have to edit the config by hand; no harm, no foul.

schilders
March 1st, 2010, 11:32 PM
Wow! Didn't realize it was that simple. Does install sendmail include all the configuration prompts, or are there separate config commands to execute?
Thanks,
Sid

Sorry for a possibly dumb question - Does purge postfix also remove the MySQL table(s) if postfix was configured with MySQL support?
Thanks,
Sid

skillllllz
March 1st, 2010, 11:43 PM
"purge" not only removes postfix, but its config files too. I would be very surprised if it removed any MySQL tables in the process. If those tables are very important, you should be backing them up before you do anything, regardless of what else I or anyone tells you.

schilders
March 1st, 2010, 11:47 PM
"purge" not only removes postfix, but its config files too. I would be very surprised if it removed any MySQL tables in the process. If those tables are very important, you should be backing them up before you do anything, regardless of what else I or anyone tells you.
I will definitely do a MySQL backup before purge postfix. I might be paranoid, but was reading a tut where they talked about integrating Postfix with MySQL. Since I didn't do the Postfix setup, I don't know if that's the case or not. Better safe than sorry!
Thanks much for your help!!

skillllllz
March 1st, 2010, 11:57 PM
No prob. :-)

realpri
July 29th, 2010, 08:30 AM
Please do the needful and explain detail manner

Jesua
January 13th, 2012, 03:46 PM
Remove postfix...

sudo apt-get purge postfix
Install sendmail...

sudo apt-get install sendmail
Voilą!

Worked...

mörgęs
January 13th, 2012, 03:58 PM
Moved to the server forum.