Solved

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

Posted on 2006-07-08
6
349 Views
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 (64.214.83.249 - www.tunefind.org).  

Then, I started my challenge to configure Postfix Mail server.   I learned that,
   /etc/postfix/main.cf
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.  
   /var/log/maillog

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 (64.214.83.249 - 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.

http://www.dnsreport.com/tools/dnsreport.ch?domain=www.tunefind.org

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

END

.  
0
Comment
Question by:mkido
[X]
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
6 Comments
 

Author Comment

by:mkido
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.    
0
 

Author Comment

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

Accepted Solution

by:
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 master.cf and main.cf config files
0
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 

Author Comment

by:mkido
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,

   /var/log/maillog

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

Author Comment

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

   /var/log/maillog

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).  
0
 
LVL 25

Expert Comment

by:Cyclops3590
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
0

Featured Post

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Suggested Courses

751 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