LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-03-2006, 11:28 AM   #1
PCjunior
LQ Newbie
 
Registered: Apr 2006
Posts: 3

Rep: Reputation: 0
Problem getting Sendmail loaded after package installation


While not new to linux, I'm trying to get sendmail working so I can host my own mail server. I installed a minimal slackware 10.0, and I'm adding packages as I go so I can learn.

I've installed the latest Sendmail package from the ftp.slackware.com site along with the "no-arch" (if someone knows what this means let me know) package with upgradepkg. Since the sendmail package said procmail was required I downloaded and installed that too.

I'm guessing here that scripts get started in rc.M, but when I issue a 'top' command no sendmail process is running. When I issue the command ./sendmail.rc start I get the following:


Starting sendmail MTA daemon: /usr/sbin/sendmail -L sm-mta -bd -q25m
451 4.0.0 can not chdir(/var/spool/mqueue/): No such file or directory
Starting sendmail MSP queue runner: /usr/sbin/sendmail -L sm-msp-queue -Ac -q25m
can not chdir(/var/spool/clientmqueue/): No such file or directory

What am I missing?
 
Old 09-03-2006, 03:08 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Slackware 10.0 is a tad outdated. You're wise to upgrade to a recent sendmail release, but I hope you took the package from the slackware-10.0/patches/packages directory and not from slackware-current?

The "noarch" package contains the necessary configuration files for Sendmail. "Noarch" means the package does not depend on a certain processor architecture, but can be installed on any computer.

Something does not seem right after installing your sendmail package - the /var/spool/mqueue and /var/spool/clientmqueue directories (these two appear in the error messages) should have been created.

Try creating them yourself:
Code:
mkdir -p /var/spool/mqueue
chown root:mail /var/spool/mqueue
chmod 700 /var/spool/mqueue

mkdir -p /var/spool/clientmqueue
chown smmsp:smmsp /var/spool/clientmqueue
chmod 770 /var/spool/clientmqueue
Eric
 
Old 09-03-2006, 03:49 PM   #3
PCjunior
LQ Newbie
 
Registered: Apr 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks, that was quick. I did a search and came up with the same results. I was going to ask about the permissions for mqueue. (Yes I did get sendmail from the patches directory).
 
Old 09-03-2006, 04:05 PM   #4
PCjunior
LQ Newbie
 
Registered: Apr 2006
Posts: 3

Original Poster
Rep: Reputation: 0
... OK, I have my domain name MX record set, how to I test that sendmail is working ?
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
message "Problem during installation: x package needed for (installed) x package frayed2 Linux - Newbie 1 04-24-2005 07:05 PM
Problem with Package Installation chjade84 Linux - Newbie 1 04-02-2004 01:14 PM
Do I really need Sendmail to be loaded ??? caio Linux - Networking 6 05-23-2003 10:51 AM
what file is sendmail loaded in? purpleburple Linux - General 2 01-22-2003 06:11 PM
package installation problem billwoody Linux - Software 3 04-01-2002 01:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:28 PM.

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
Open Source Consulting | Domain Registration