LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-10-2004, 12:55 PM   #1
drj000
Member
 
Registered: Sep 2004
Location: Hagerstown, MD
Distribution: Ubuntu Natty Narwahl
Posts: 258

Rep: Reputation: 31
POP3 and mail spool question


I was wondering how I can run a POP3 server over my local mail spool so that I can get all the system messages that are delivered there in my email client?
If I can get this figured out, I've also got some other plans for my mail spool. I'm going to use hotway and fetchmail to get my hotmail e-mail there, and FetchYahoo to get my Yahoo e-mail delivered there. That way, when I'm away from my computer, I can ssh to my computer and use mutt to read all my email in one place, but still use Evolution to read all my E-mail when I'm at my computer.
 
Old 11-11-2004, 07:40 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
look into procmail
 
Old 11-11-2004, 08:49 PM   #3
drj000
Member
 
Registered: Sep 2004
Location: Hagerstown, MD
Distribution: Ubuntu Natty Narwahl
Posts: 258

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by Finlay
look into procmail
Can procmail actually be used to create a POP3 server? I ask, becaues everything I've read about it makes it sound like it really just sorts your mail to where you want it. I don't want that. I want an actual POP3 server running on my machine that I can use to access my mail spool.
 
Old 11-11-2004, 08:56 PM   #4
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
when you say 'access my mail spool' do you mean you have a local email server or do you mean you ISP email server?
 
Old 11-11-2004, 09:41 PM   #5
drj000
Member
 
Registered: Sep 2004
Location: Hagerstown, MD
Distribution: Ubuntu Natty Narwahl
Posts: 258

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by Finlay
when you say 'access my mail spool' do you mean you have a local email server or do you mean you ISP email server?
I'm talking about the file /var/spool/mail/~username
I know I can use fetchmail, and a couple of other scripts and programs, to collect all my email into that file, and then I want to be able to access it from a single pop3 server running on my machine.
Also, my computer seems to deliver important system info, like attempted ssh connections, and so forth, as emails to /var/spool/mail/root. But that's only occasional stuff that I can easily read using mutt, so I'm not worried about accessing that mail spool, although it might be nice to be able to get those through a pop server as well.
 
Old 11-11-2004, 09:55 PM   #6
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
ok
your profile says you have FC 3
you will need to have the pop3 service started at boot, you will need to allow port 25 if you have a firewall enabled. you will have to configure something like sendmail or courier to handle your emailing. then you will use fetchmail to gather your email from other locations to your local machine.
 
Old 11-12-2004, 09:12 AM   #7
drj000
Member
 
Registered: Sep 2004
Location: Hagerstown, MD
Distribution: Ubuntu Natty Narwahl
Posts: 258

Original Poster
Rep: Reputation: 31
Quote:
Originally posted by Finlay
ok
your profile says you have FC 3
you will need to have the pop3 service started at boot, you will need to allow port 25 if you have a firewall enabled. you will have to configure something like sendmail or courier to handle your emailing.
What program should I use to provide the pop3 service? That's what I don't understand. Will sendmail do that? I tried to read through the man page for sendmail, but it was way too complicated.
 
Old 11-12-2004, 09:39 AM   #8
akilles
Member
 
Registered: Sep 2004
Location: Vestfold, Norway
Distribution: Slackware
Posts: 139

Rep: Reputation: 15
in /etc/inetd.conf (slackware) there's a POP3 section.

I would suggest using the IMAP protocol. That runs on port 143.
Cyrus IMAP should support /var/spool/mail/~username and should be easy to configure.
If you're set on using POP3 then I'd suggest you try a google search for:
+Linux +POP3 +"/var/spool/mail"

I use Courier-IMAP and Postfix, but unfortunately Courier-IMAP doesn't support /var/spool/mail
Also, you might want to think about switching to the Maildir system. I use that with Courier and I'm very satisfied.

-geir
 
Old 11-12-2004, 02:20 PM   #9
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
there is just a small program called pop3d that does the pop stuff
 
  


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
Individual user's mail file in /var/spool/mail Swakoo Linux - General 1 09-07-2005 07:33 AM
sendmail error Fetching mail could not lock /var/spool/mail/username sukhdev50 Linux - Networking 0 05-04-2005 04:41 AM
Question about Pine and POP3 Mail jpbarto Linux - Software 0 08-25-2004 09:26 AM
Postfix $HOME/mail/inbox instead of /var/spool/mail ramram29 Linux - Software 3 08-08-2004 02:28 AM
?how to make mail go to diff place than /var/spool/mail ctejas Linux - General 0 06-24-2004 01:58 AM


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