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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-28-2002, 07:31 PM
|
#1
|
Member
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510
Rep:
|
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?
|
|
|
01-28-2002, 09:33 PM
|
#2
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
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
|
|
|
01-29-2002, 03:37 AM
|
#3
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
check dmesg, there's probably a mention in there about sendmail not havign a valid hostname and waiting for 2 minutes at a time.
|
|
|
01-29-2002, 02:57 PM
|
#4
|
Member
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510
Original Poster
Rep:
|
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?
|
|
|
02-01-2002, 11:25 AM
|
#5
|
LQ Newbie
Registered: Jan 2002
Location: asheville nc
Distribution: redhat 7
Posts: 22
Rep:
|
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?"
|
|
|
02-01-2002, 12:54 PM
|
#6
|
Member
Registered: Aug 2000
Location: NY - USA
Distribution: Slackware
Posts: 109
Rep:
|
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.
|
|
|
02-01-2002, 01:16 PM
|
#7
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
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 01:19 PM.
|
|
|
02-01-2002, 01:19 PM
|
#8
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
02-01-2002, 01:22 PM
|
#9
|
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163
Rep:
|
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.
|
|
|
02-01-2002, 01:33 PM
|
#10
|
LQ Newbie
Registered: Jan 2002
Location: asheville nc
Distribution: redhat 7
Posts: 22
Rep:
|
that is very helpful information. I am grateful for you guys and hope to be able to contribute suggestions rather than questions one day...
|
|
|
All times are GMT -5. The time now is 09:33 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|