LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-17-2005, 10:34 AM   #1
Murdock1979
Member
 
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429
Blog Entries: 2

Rep: Reputation: 30
Mail Setup


Hello All!

I am trying to sen email through PINE to other fellow users on my Linux OS, but nothing happends. How do I set up my OS for mailing?

thanks,
Mords
 
Old 07-17-2005, 12:11 PM   #2
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,263

Rep: Reputation: 54
Do you have sendmail running? You should be able to send mail automatically if it is. I think Pine can use smtp now, but have never tried it.
 
Old 07-17-2005, 12:42 PM   #3
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,230

Rep: Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724
Make sure /etc/rc.d/rc.sendmail is executable
 
Old 07-17-2005, 02:58 PM   #4
Murdock1979
Member
 
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429

Original Poster
Blog Entries: 2

Rep: Reputation: 30
Hello!

Thanks for the replies...

I am running sendmail, but it gives me an 451 error telling me BIND is already is use or something like that.

what does that mean?

Thanks
 
Old 07-17-2005, 03:26 PM   #5
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,230

Rep: Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724
That depends on what caused the error.
For example if you run /etc/rc.d/rc.sendmail start
while sendmail is already started
 
Old 07-19-2005, 05:44 AM   #6
Murdock1979
Member
 
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429

Original Poster
Blog Entries: 2

Rep: Reputation: 30
I know sendmail is running (using ps).

When I reboot the mail does go through. How do I retrieve mail without rebooting?

thanks,
Mords
 
Old 07-19-2005, 06:36 AM   #7
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,230

Rep: Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724
Quote:
How do I retrieve mail without rebooting?
Sorry, I don't get it well...

Did you try mail command from a terminal ?
 
Old 07-19-2005, 07:42 AM   #8
Murdock1979
Member
 
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429

Original Poster
Blog Entries: 2

Rep: Reputation: 30
What happend was that I rebooted this morning and when I logged in (root and my user account) I was notified of the new mail and lo and behold, it was there.

So sendmail does work. But for some reason only when I reboot does it send the mail through.

And yes, all I am using is mail.

thanks in advance,
Mords
 
Old 07-19-2005, 08:13 AM   #9
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,230

Rep: Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724
Could you make a simple test ?
Code:
Murdock1979@darkstar $ mail Murdock1979
Subject: test message
this is a test message
<ctrl-d>
Murdock1979@darkstar $
Then browse your mailbox :
Code:
Murdock1979@darkstar $ mail
>N  1 Murdock1979@darkstar Tue Jul 19 15:10   20/756   test message
? 1
...
? del 1
? quit
Murdock1979@darkstar $
Does all work well ?
 
Old 07-19-2005, 08:45 AM   #10
Murdock1979
Member
 
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429

Original Poster
Blog Entries: 2

Rep: Reputation: 30
Thanks for that long code, but to no avail. Nothing comes up. Only when I reboot does it come up.

BTW, what is procmail used for?
 
Old 07-19-2005, 09:00 AM   #11
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,230

Rep: Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724
That was not a long code, only a little commands sequence...

Could you ellaborate with "Only when I reboot does it come up"
you mean that the mails are sent only at the boot ?

Have you any iptables rule ?
Do you run procmail ? If yes how is your ~/.procmailrc ?
 
Old 07-19-2005, 10:20 AM   #12
Murdock1979
Member
 
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429

Original Poster
Blog Entries: 2

Rep: Reputation: 30
Thanks for your continued efforts.

What I mean is when I reboot and log in, when it tells me the last time I logged in, the cute quote, etc., it also says I have new mail and it is there.

But when I send the email, nothing seems to be sent until the next I reboot and log in.

I have procmail installed, but I can't say if it is configured correctly.

I'm new to Linux, but I'm slowly learning.

Thanks,
mords
 
Old 07-19-2005, 11:28 AM   #13
Namaseit
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 325

Rep: Reputation: 30
That mail isn't recieved mail. Its there by default when you install slackware. It should be like 2 emails right? One saying welcome to slack and another saying something or other. You didn't recieve those from the internet. Its just there on the install.
 
Old 07-19-2005, 11:40 AM   #14
Murdock1979
Member
 
Registered: Oct 2003
Distribution: Slackware Debian VectorLinux
Posts: 429

Original Poster
Blog Entries: 2

Rep: Reputation: 30
I am not alking about those two letters...I get new messages...the ones I sent to myself.

Thanks anyways though
Mords
 
Old 07-19-2005, 11:46 AM   #15
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,230

Rep: Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724Reputation: 724
If you logout and login instead of reboot, does it send mail ?

How do you know that mails were sent or not, you check
with the mail command ?
 
  


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
E-Mail Setup issinho Linux - Networking 2 07-21-2005 09:56 PM
Mail Setup antidelldude Fedora 7 01-20-2005 09:50 PM
How did YOU setup your Mail server tharris Linux - Newbie 5 03-31-2004 07:25 AM
mail server and mail client setup issues htm Linux - General 1 03-16-2004 09:32 AM
Advanced Mail setup BBQ_Matt Linux - Networking 5 01-28-2004 05:42 PM

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

All times are GMT -5. The time now is 10:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration