LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-27-2009, 08:45 AM   #1
wilson47
Member
 
Registered: Jan 2009
Posts: 50

Rep: Reputation: 15
Mail(x) on Slackware 12.2 does not send mail to local users


I think the subject says it all! I have been able to
use the mail program on my old Ubuntu instasll which
I found quite handy. However, it isn't functioning
"out of the box" like I expected. I've tried to configure
it as mail was in Ubuntu to no avail. I am aware
that the versions are different, but I bet I am just
missing something silly.
Thanks!!!
-Glen
 
Old 02-28-2009, 09:10 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,907

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
What is the error you get?
Do you have sendmail installed?
 
Old 03-01-2009, 02:32 PM   #3
wilson47
Member
 
Registered: Jan 2009
Posts: 50

Original Poster
Rep: Reputation: 15
Sendmail is installed, but it shouldn't be necessary
as my ubuntu version doesn't have it installed. If it
wasn't clear what I meant, I just want to send mail
to the users on the system which amounts to writing
a properly formatted email to /var/spool/username .

The "error" I get is that after writing the email like
usual, the CTRL+d sequence on a new line outputs EOT,
and then the message never gets to the recipient.

I can just write up some code that does this, but I
just was hoping I was missing something silly with
the mail program.

Thanks!
Glen
 
Old 03-01-2009, 05:37 PM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,907

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
Quote:
Sendmail is installed, but it shouldn't be necessary as my ubuntu version doesn't have it installed.
You need a MTA to be able to send mails no matter if they are local or not. Slackware's default MTA is sendmail, so since it's installed, you have to make sure it's running (the default configuration should be OK). On ubuntu I think that the default MTA is exim.
 
Old 03-03-2009, 03:46 PM   #5
wilson47
Member
 
Registered: Jan 2009
Posts: 50

Original Poster
Rep: Reputation: 15
hooray! well, starting sendmail did indeed do the
trick. thanks very much for the help with my silly
question...
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix local users send mail restriction y_zl Linux - Security 3 01-04-2009 11:04 PM
Local users cannot send mail from command line or cronjobs jonken Linux - Server 3 01-10-2008 03:29 PM
Postfix: Do not allow local users to send mail Termina Linux - Server 1 03-22-2007 05:15 PM
can send and recieve local mail, but not mail from internet Caine101022 Linux - Software 2 09-09-2005 01:35 PM
I can't send mail by using local mail server hus Linux - Software 0 05-10-2004 02:18 PM


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