Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


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

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

I have a brand new Web Server (www.tunefind.org), 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 "mail.tunefind.org".   It was fine for a little while, but I have a desire to send and receive emails directly from the own Web Server machine ( - www.tunefind.org).  

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 "mail.tunefind.org".   At least I want to send email out from ( - www.tunefind.org), 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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2

Author Comment

ID: 17066640
I have been reading "www.postfix.org" 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 240 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 master.cf and main.cf config files
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.


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 (sendmail.mc 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

ATEN's HDBaseT Presentation at InfoComm 2017

Hear ATEN Product Manager YT Liang review HDBaseT technology, highlighting ATEN’s latest solutions as they relate to real-world applications during her presentation at the HDBaseT booth at InfoComm 2017.

Question has a verified solution.

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

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

719 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