FedoraForum.org - Fedora Support Forums and Community
Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2011
    Location
    Scotland
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    sendmail really slow to start at boot

    My F16 install has always been slow to boot and I've noticed the main culprit is sendmai (takes about a minute to start)l.

    How can I find out why sendmail is so slow to start?

    Is it possible to disable sendmail, will it break anything by not having it?

  2. #2
    Join Date
    Nov 2007
    Posts
    81
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: sendmail really slow to start at boot

    Make sure you have your hostname in /etc/hosts just put it on the end of both ipv4 and ipv6 localhost.

    *edit*

    Shouldn't be much about disabling sendmail, I think it's mostly for sending some reports to root's mail as default.

    But fixing the above might speed up some other applications too, I know emacs and I think firefox is a bit slow because they can't resolve the computers own hostname.
    Last edited by bsund; 8th February 2012 at 10:03 PM.

  3. #3
    Join Date
    Jan 2010
    Posts
    92
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: sendmail really slow to start at boot

    If you boot the system often then disable the auto-starting of the service (F15 and earlier: chkconfig, F16: systemctl) to speed up the process. If you don't use it (I guess you don't) there is no great loss except maybe some local system mail.

    Then you can take your time to fiddle with it.

    In my experience delays of sendmail startup usually signifies some DNS problems. But usually the DNS timeout in the usual sendmail configuration is far longer than one minute. So maybe the DNS is just slow to connect to for some reason.

  4. #4
    Join Date
    Nov 2011
    Location
    Scotland
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: sendmail really slow to start at boot

    Quote Originally Posted by bsund
    Make sure you have your hostname in /etc/hosts just put it on the end of both ipv4 and ipv6 localhost.
    Brilliant! That solved it, thanks. Fedora now boots in under a minute
    Last edited by wireman; 13th February 2012 at 08:37 PM.

Similar Threads

  1. F8 slow to boot and slow to open terminal/gedit
    By JonR in forum Using Fedora
    Replies: 8
    Last Post: 25th March 2008, 08:37 AM
  2. slow sendmail startup
    By luca in forum Servers & Networking
    Replies: 4
    Last Post: 23rd December 2007, 12:51 AM
  3. Sendmail slow when booting up
    By tron_thomas in forum Using Fedora
    Replies: 20
    Last Post: 24th November 2007, 06:02 AM
  4. K3b slow to start, slow to burn
    By booger in forum Using Fedora
    Replies: 1
    Last Post: 23rd November 2007, 06:56 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •