LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-28-2002, 06:31 PM   #1
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Rep: Reputation: 31
Sendmail takes 5 minutes to start


I've been trying to attach a primary slave HDD to my system, and it keeps crashing my linux box after about 5 minutes after linux has loaded. Anyway, I've tried different HDD's and different IDE cables, but I am still not able to get things stable.

So I have to continually shutdown and reboot my system. To make a long story short, when Linux loads it loads something called "sendmail". This takes about 5 FULL MINUTES to start. What is causing sendmail to take so long to start and can I do anything to make it start faster?
 
Old 01-28-2002, 08:33 PM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
Setting the hostname and having it in /etc/hosts usually fixes the problem

or you can run setup and go into system services and turn sendmail off if you don't need it
 
Old 01-29-2002, 02:37 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,376

Rep: Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962
check dmesg, there's probably a mention in there about sendmail not havign a valid hostname and waiting for 2 minutes at a time.
 
Old 01-29-2002, 01:57 PM   #4
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Original Poster
Rep: Reputation: 31
No my hostname is ok and my hosts file is ok. I looked in /var/log/dmesg and didn't find anything about sendmail.

So why does sendmail take 5 minutes to start each time I boot my linux?
 
Old 02-01-2002, 10:25 AM   #5
christyc
LQ Newbie
 
Registered: Jan 2002
Location: asheville nc
Distribution: redhat 7
Posts: 22

Rep: Reputation: 15
none

>or you can run setup and go into system services and turn >sendmail off if you don't need it

I'd like to do that...the same thing happens to me. I also read that sendmail can be used by others via internet for spamming etc..I don't thing I need sendmail....is what i read dramatic gossip, anyway? regarding above, are you talking about command-line "run setup?"
 
Old 02-01-2002, 11:54 AM   #6
kill-hup
Member
 
Registered: Aug 2000
Location: NY - USA
Distribution: Slackware
Posts: 109

Rep: Reputation: 15
Sendmail can be used to send spam if you have it misconfigured to allow "relaying". Probably a good rule of thumb is if you don't need it and don't know how to set it up safely/properly, either seek help or shut it off If you're not comfortable editing/unlinking rc files, you can do a 'chkconfig --del sendmail' to stop sendmail from being started by the system.
 
Old 02-01-2002, 12:16 PM   #7
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
yes in RedHat you run setup from an xterm and it has most of your setup stuff in there, one of them being system services.

by default sendmail is local only.

it is not a problem


but I still say it's etc/hosts


that's about the only fix I know of for the sendmail failing to start quickly

Last edited by DavidPhillips; 02-01-2002 at 12:19 PM.
 
Old 02-01-2002, 12:19 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,376

Rep: Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962
sendmail is used for internal mail delivery to /var/spool/mail mail boxes, you need sendmail if you use fetchmail or such like. if you only ever get mail via imap or soemthing, you don't need sendmail. and sendmail is 100% internal by default so can't be abused at all.
 
Old 02-01-2002, 12:22 PM   #9
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,154

Rep: Reputation: 56
Besides that sendmail rules.


I am really tired of hotmail, and I move around a lot at work, using different isp's so I need one email server to use, I have one at home so why not use it.
 
Old 02-01-2002, 12:33 PM   #10
christyc
LQ Newbie
 
Registered: Jan 2002
Location: asheville nc
Distribution: redhat 7
Posts: 22

Rep: Reputation: 15
that is very helpful information. I am grateful for you guys and hope to be able to contribute suggestions rather than questions one day...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail takes forever to start up paul.nel Linux - General 3 01-28-2005 01:17 PM
FC3- kde takes minutes to start any application amitrana Linux - General 1 12-08-2004 02:24 AM
sendmail takes minutes to start dirken Linux - Newbie 4 07-09-2004 05:09 PM
xfree takes minutes to start snu Linux - Software 0 07-13-2003 09:26 AM
Xfree takes minutes to start snu Linux - Software 2 07-10-2003 11:55 AM


All times are GMT -5. The time now is 11:44 AM.

Main Menu
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