Making Postfix activated over Sendmail, how?   How to test email sending?

Posted on 2006-07-08
Last Modified: 2010-03-18
Hello!   everyone,

I have a brand new Web Server (, and it is collocated to an ISP (Internet Service Provider) near my office.   The IPS suggested me to use Postfix rather than Sendmail for Mail Transport Agency.   Right now, I have a temporarily setup that the ISP's other host machine play the role of MTA (Mail Transport Agent) as the name of "".   It was fine for a little while, but I have a desire to send and receive emails directly from the own Web Server machine ( -  

Then, I started my challenge to configure Postfix Mail server.   I learned that,
is the configuration file about most control over Postfix.   Then I learned that,
   /usr/sbin/postfix start
makes activate Postfix deamon.   Now, at least on that Server machine, Postfix deamon is running.   As shown below.  

The first problem is there is a competetion between Sendmail and Postfix in the machine, and I don't know how to fix only to the Postfix as MTA.

The second problem is that I don't know how to test email-sending and receiving while another machine is currently assigned the role of "".   At least I want to send email out from ( -, but I do not know any way to test it.

I think I have to go through many challenges, but please advice me piece by piece of knowledge I have to learn and know, to fulfill my goal.   Thank you !   I attach my DNS report status, so that you, experts, may suggest the health of my domain's setting.

Here is a little bit of /var/log/maillog,

Jul  8 17:17:13 biwa postfix/postfix-script: stopping the Postfix mail system
Jul  8 17:17:13 biwa postfix/master[5792]: terminating on signal 15
Jul  8 17:17:19 biwa postfix/postfix-script: starting the Postfix mail system
Jul  8 17:17:19 biwa postfix/master[6338]: daemon started -- version 2.0.11


Question by:mkido
  • 4
  • 2

Author Comment

ID: 17066640
I have been reading "" documentation, but up to now, I didn't find a clear method about switch from Sendmail to Postfix, nor I found easy command line test method to send email from Postfix.    

Author Comment

ID: 17066653
The machine's OS version is Linux FedoraCore1 Yarrow (2003).
LVL 25

Accepted Solution

Cyclops3590 earned 60 total points
ID: 17068736
first of all postfix was meant to actually be easily migratable from sendmail.  This causes problems when both are installed.  Each have a sendmail binary they use (each different) so if sendmail was installed first, then postfix.  Postfix tries to use Sendmail's sendmail and screws up.  This can only be fixed (at least in my experience as of yet) to uninstall both Sendmail and Postfix, then install Postfix.  Unless something specifically references Sendmail for some reason there shouldn't be an issues in doing this

When the postfix daemon dies so quickly like that, it generally means there is a problem with one of the config files.

do the following first off
cat /etc/syslog.conf | grep -i mail
so we can see exactly where all of the mail logging is going.  Because there should be something in the logs saying what is causing the crash.  If we can't find anything there, then we'll move to the and config files
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.


Author Comment

ID: 17070446
Thank you, Cyclops3590

I somehow understand the tight relationship between Sendmail and Postfix.   That is a very good suggestion for Email server newbie like me.   I am reading mail log at,


And I see that maillog tells everything about what is going on.   Let me check your command line too.   One moment.

Author Comment

ID: 17086610
I looked into /etc/syslog.conf, and as I thought all mail log in my case goes to,


Based on the error messages in maillog and I did trial and errors, then finally sendmail sent my emails out.   So, I got what I wanted.   And I stopped working on Postfix.   Sendmail isn't bad, especially when a m4 macro is available ( file).  
LVL 25

Expert Comment

ID: 17086716
Well at least its working.  I have absolutely no experience in Sendmail, but I know plenty of experts on EE do so if you ever need help in that area, don't hesitate

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question