I leave notes here that I find particularly worth remembering myself.
Howto fix long boot delay with "Starting MTA:" (Common Issue)
Posted 06-10-2010 at 12:20 PM by bittner
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 ...
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:
The main point to resolve the issue, however, is /etc/resolv.conf. For local delivery it should look like this:
For "real" domains (and local delivery) I've seen it works fine also when you simply omit the nameserver part, e.g.:
References
- "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
Code:
domain local search local nameserver 127.0.0.1
Code:
domain bittner search bittner
- Can I get rid of MTA? (a thread on this forum)
Total Comments 0




