Subject: pine not reading mail?

From: "abdallah" <[email-masked]>
Date: Sat, 05 Jun 2004 09:37:15 -0700

I just installed pine on my redhat system.  I use fetchmail to fetch
mail.  When I run fetchmail, it appears to be downloading emails.  But
when I run pine, there are no emails there.  When I checked my home dir,
I did not see a MBOX file.  

I will appreciate your help in this matter.

Many thanks,
Sam

-- 
http://www.fastmail.fm - Sent 0.000002 seconds ago
-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Eduardo Chappa <[email-masked]>
Date: Sat, 5 Jun 2004 09:50:38 -0700 (PDT)

*** abdallah ([email-masked]) wrote in the pine-info list today:

:) I just installed pine on my redhat system.  I use fetchmail to fetch 
:) mail.  When I run fetchmail, it appears to be downloading emails.  But 
:) when I run pine, there are no emails there.  When I checked my home 
:) dir, I did not see a MBOX file.

Everything depends on where fetchmail is putting that mail. Press M S C 
and take a look at the value of "inbox-path", if it says "inbox" and this 
is not working, then change that value to be the full path to the location 
of the folder where messages are being saved, for example, 
"/var/spool/mail/username".

Notice that Pine does not like that you change your inbox-path in the 
middle of a session, if you do so, quit Pine and restart it. Pine will try 
the new value in the next session.

Eduardo
http://www.math.washington.edu/~chappa/pine/

---

From: Claus Atzenbeck <[email-masked]>
Date: Sat, 5 Jun 2004 18:59:43 +0200 (CEST)

> I did not see a MBOX file.

It sounds that fetchmail does not put your mail into the file which Pine
opens.

Check fetchmail's destination first, then compare it to the mailbox file
which Pine looks up.

Hope this helps...

Greetings,
Claus

---

From: "abdallah" <[email-masked]>
Date: Sat, 05 Jun 2004 10:07:58 -0700

> http://www.math.washington.edu/~chappa/pine/

I changed the path to /var/spool/mail/user - it then asked me for a
folder to use for inbox.  What should go there? Under /var/spool/mail/
there are no folders/  Just two user file names - root and sam.

sam

-- 
http://www.fastmail.fm - A fast, anti-spam email service.

---

From: Pierre-Philipp Braun <[email-masked]>
Date: Sat, 5 Jun 2004 19:27:22 +0200 (CEST)

Quoting Claus Atzenbeck, 18:59 +0200 Sat 5th Jun 2004,
> Check fetchmail's destination first, then compare it to the mailbox file

Besides, there is 'getmail' with is easier to configure, and even faster
in my view, to fetch mails to local dirs. You may then use procmail -Y
to redirect the mails to your MBOX-es.

A ~/.getmail/getmailrc example,

[default]
verbose = 1
readall = 0
message_log = /var/log/getmail.log
timeout = 240
max_message_size = 1048576
no_delivered_to = 1
no_received = 1
delete = 1

[Joe's Mail]
server = mail.isp.com
port = 8110
username = joeuser
password = pass
postmaster = "| procmail -Y ~/.procmail/joerules"

which ends, for example, with,

:0
* ^To.*joe@iap
/var/mail/joe

:0
* ^Cc.*joe@iap
CC

:0:
OTHERS

assuming MAILDIR=/joemailfolder at first.

- -- 
Pierre-Philipp

---

From: Eduardo Chappa <[email-masked]>
Date: Sat, 5 Jun 2004 11:21:00 -0700 (PDT)

:) On Sat, 5 Jun 2004 09:50:38 -0700 (PDT), "Eduardo Chappa" 
:) <[email-masked]> said:
:) > *** abdallah ([email-masked]) wrote in the pine-info 
:) > list today:
:) > 
:) > :) I just installed pine on my redhat system.  I use fetchmail to 
:) > :) fetch mail.  When I run fetchmail, it appears to be downloading 
:) > :) emails.  But when I run pine, there are no emails there.  When I 
:) > :) checked my home dir, I did not see a MBOX file.
:) > 
:) > Everything depends on where fetchmail is putting that mail. Press M S 
:) > C and take a look at the value of "inbox-path", if it says "inbox" 
:) > and this is not working, then change that value to be the full path 
:) > to the location of the folder where messages are being saved, for 
:) > example, "/var/spool/mail/username".
:) 
:) > Notice that Pine does not like that you change your inbox-path in the 
:) > middle of a session, if you do so, quit Pine and restart it. Pine 
:) > will try the new value in the next session.
:) 
:) I changed the path to /var/spool/mail/user - it then asked me for a 
:) folder to use for inbox.  What should go there? Under /var/spool/mail/ 
:) there are no folders/ Just two user file names - root and sam.

Ah ok, I know what's going on. Ever since maildrops came to existence 
changing the inbox-path is not that easy.

First press M S C and put the cursor over inbox-path, now press RETURN and 
remove anything that that line says, press RETURN again and enter the full 
path to the location of your inbox, something like /var/spool/mail/user, 
or maybe /var/mail/user, everything depends on your system.

Eduardo