Go Premium for a chance to win a PS4. Enter to Win


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
  • 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
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.


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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

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…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

971 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