LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Blogs > Notes on Linux
User Name
Password

Notices

I leave notes here that I find particularly worth remembering myself.
Rating: 2 votes, 3.00 average.

Howto fix long boot delay with "Starting MTA:" (Common Issue)

Posted 06-10-2010 at 12:20 PM by bittner
Tags debian, exim4, mta

A common issue when setting up servers in a lab is that the Mail Transfer Agent (MTA) delays the boot process waiting for a very long timeout. In the forums on the web this reads as ...
  • "boot process slow when 'Starting MTA' offline"
  • "Can I get rid of MTA?"
  • "Starting MTA delay"
  • "I see a line saying Starting MTA: It takes ages until Debian comes."

The issue is typically related to an unsuccessful reverse DNS lookup that the Mail Transfer Agent tries to do. Usually - I've figured out -, this is caused by incorrect information in /etc/resolv.conf.

For example, if you're not planning to use (outgoing) mail at all on your server you would set up exim4 (the default MTA on Debian) such that it delivers mail locally only. You can configure this with:
Code:
# dpkg-reconfigure exim4-config
The main point to resolve the issue, however, is /etc/resolv.conf. For local delivery it should look like this:
Code:
domain local
search local
nameserver 127.0.0.1
For "real" domains (and local delivery) I've seen it works fine also when you simply omit the nameserver part, e.g.:
Code:
domain bittner
search bittner
References
Posted in Uncategorized
Views 21466 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 02:22 AM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration