LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
LinkBack Search this Thread
Old 11-17-2005, 06:00 PM   #1
muusle
LQ Newbie
 
Registered: Sep 2005
Distribution: Slackware 10.2
Posts: 10

Rep: Reputation: 0
Question Sendmail problem () |No local mailer defined


Hi,

Due too a lack of insight in Sendmail and its rather complex structure I can't seem to nail this one...

The problem presents it self when I'm trying to use Sendmail in any way, and every time it spits out the same; be the following:

Code:

No local mailer defined
QueueDirectory (Q) option must be set
DEBUG:
Slackware 10.2
Sendmail used: 8.13.1
I'm use the "m4" way of altering the Sendmail configuration file.

Use this method:
http://www.linuxquestions.org/questions/answers/269

My config file looks like this:
(Prosessed with m4 to /etc/mail/sendmail.cf)

Code:
dnl# This is the default sendmail .mc file for Slackware.  To generate
dnl# the sendmail.cf file from this (perhaps after making some changes),
dnl# use the m4 files in /usr/share/sendmail/cf like this:
dnl#
dnl# cp sendmail-slackware.mc /usr/share/sendmail/cf/config.mc
dnl# cd /usr/share/sendmail/cf
dnl# sh Build config.cf
dnl#
dnl# You may then install the resulting .cf file:
dnl# cp config.cf /etc/mail/sendmail.cf
dnl#
include(`../m4/cf.m4')
VERSIONID(`default setup for Slackware Linux')dnl
OSTYPE(`linux')dnl
dnl# These settings help protect against people verifying email addresses
dnl# at your site in order to send you email that you probably don't want:
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl
dnl# Uncomment the line below to send outgoing mail through an external server:
dnl define(`SMART_HOST',`mailserver.example.com')
dnl# No timeout for ident:
define(`confTO_IDENT', `0')dnl
dnl# Enable the line below to use smrsh to restrict what sendmail can run:
dnl FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
dnl# See the README in /usr/share/sendmail/cf for a ton of information on
dnl# how these options work:
FEATURE(`use_cw_file')dnl
FEATURE(`use_ct_file')dnl
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl
FEATURE(`access_db', `hash -T<TMPF> /etc/mail/access')dnl
FEATURE(`blacklist_recipients')dnl
FEATURE(`local_procmail',`',`procmail -t -Y -a $h -d $u')dnl
FEATURE(`always_add_domain')dnl
FEATURE(`redirect')dnl
dnl# Turn this feature on if you don't always have DNS, or enjoy junk mail:
dnl FEATURE(`accept_unresolvable_domains')dnl
EXPOSED_USER(`root')dnl
dnl# Also accept mail for localhost.localdomain:
LOCAL_DOMAIN(`localhost.localdomain')dnl
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
Hmm...

Last edited by muusle; 11-17-2005 at 06:02 PM.
 
Old 11-17-2005, 06:41 PM   #2
uopjohnson
Member
 
Registered: Jun 2004
Location: San Francisco
Distribution: Slackware, Ubuntu, RHEL, OS X
Posts: 159

Rep: Reputation: 30
Do you have procmail installed?
Code:
which procmail
should give the path to procmail. That, I believe, is the local mailer in this case. Have you made changes to this mc file already? Sendmail will work out of the box on slackware 10.2 and has sasl built in now, so the first half of that tutorial is now irrelevant. You now just need to make some changes to the included /usr/share/sendmail/cf/cf/sendmail-slackware-tls-sasl.mc file and recompile it.
 
Old 11-17-2005, 07:44 PM   #3
muusle
LQ Newbie
 
Registered: Sep 2005
Distribution: Slackware 10.2
Posts: 10

Original Poster
Rep: Reputation: 0
Hi,

The "which procmail" command returns /usr/bin/procmail

However the sendmail-slackware-tls-sasl.mc file do not exist, only sendmail-slackware-tls.mc
Recompiled with both, same result.

As you commented, the Slackware 10.2 have build in support for this now, information i didn't have on my flying start... =)

Any suggestions?

Thanx
 
Old 11-17-2005, 11:21 PM   #4
uopjohnson
Member
 
Registered: Jun 2004
Location: San Francisco
Distribution: Slackware, Ubuntu, RHEL, OS X
Posts: 159

Rep: Reputation: 30
You should probably uninstall sendmail along with all of its configuration files and install the sendmail from 10.2 you can download the package from any of the slackware mirrors. I know that the original is in "n" but I can't recall if there have been updates. Check the change logs. Once you get that installed then try some basic mailing to make sure that the default install is configured properly. Then you can move on to the more advance sasl tls stuff. Without knowing what you may have done to your existing install that is about all I can offer in the way of help. If you are on a test machine now might also be a good time for a reinstall. I, for one, took about four fresh installs before I felt like my web/mail server was up to snuff.
 
Old 11-18-2005, 12:59 PM   #5
muusle
LQ Newbie
 
Registered: Sep 2005
Distribution: Slackware 10.2
Posts: 10

Original Poster
Rep: Reputation: 0
Tanks for the tips.


It's the damndes thing, it wouldn’t take..

So, as you suggested; a reinstall is in order...

 
  


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail - No local mailer defined. unclejessie77 Linux - Software 7 06-13-2012 07:50 AM
local mail relay problem in Sendmail RajaRC Linux - Networking 3 09-15-2004 07:23 AM
sendmail local mailer problem kafnir Linux - Networking 1 06-28-2004 06:23 PM
queudirectory & local mailer define kafnir Linux - Networking 0 06-24-2004 05:35 PM
Local mail only in Sendmail jhildebrand Linux - Software 0 06-13-2003 01:46 PM


All times are GMT -5. The time now is 06:30 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