2 pop3s

2000-05-25 Thread Richard Spencer

can I place instructions in the .muttrc
file to check two pop3 mailboxes?




Re: absolute newbie...

2000-05-22 Thread Richard Spencer

On Sun, May 21, 2000 at 11:03:08PM -0400, David T-G wrote:
 If you're happily using mutt and you aren't seeing new messages suddenly
 being listed in the index, then perhaps fetchmail is delivering to a
 different mailbox (maybe it's delivering to /var/spool/mail/$user but
 you're looking at $HOME/Mail/INBOX or some such).

Hey, that's EXACTLY what happens to me, and the thing I'm trying to fix.
How might I go about changing this so that Fetchmail sends my messages
to somewhere Mutt can find them easily?

I preferred it when I had Mutt looking for my mail in 
/home/$USER/Mail/inbox but Fetchmail seems to want to put some in
/var/spool/mail/$USER (from one POP3 server) and lose other mail
(from another server.) Someone told me to ask this Q on a Fetchmail
list, but it seems relevant here too!

Anyone..? 
---end quoted text---



.fetchmailrc

2000-05-21 Thread Richard Spencer

When I began using Linux I started with
Red Hat 6.0 and used KDE's KMail for a MUA.

At that time I was checking 2 email accounts
for mail, which was easy to implement, but I wasn't
thrilled about the lack of configurability, and 
wanted a text-based MUA.

I then decided to switch to Mutt, and with some
effort, configured my .muttrc to my satisfaction.
I used this config file to name my smtp server, 
and settled for checking only mail in my primary 
account.

But today I tried to use Mutt to check the other
account as well. Here's what I did:

created a .fetchmailrc like this...

poll pop3.uol.com.br proto pop3
  user [EMAIL PROTECTED] pass secret1
  fetchall keep
poll pop.a001.sprintmail.com proto pop3
  user [EMAIL PROTECTED] pass secret2
  fetchall keep
smtphost smtp.uol.com.br

When I ran fetchmail, I was happy to see that
messages were being read, and not deleted.
So happy in fact, that I went ahead and changed 
both 'keep' entries to 'nokeep'

I noted that my mail for the first account was
ending up in /var/spool/mail/$USER and was 
confident that all of the mail would end up there.

I thought I'd have to change my .muttrc line:

   set spoolfile='/home/$USER/Mail/inbox'
to set spoolfile='/var/spool/mail/$USER'

but anyhow was satisfied that the mail ended up
SOMEWHERE.

But I was wrong; the mail for the second account
didn't end up in /var/spool/mail/$USER

I put the following in .muttrc so that I could
read my incoming mail, but after changing to 
another directory, couldn't easily change back
(which I could easily do when /home/$USER/Mail/inbox 
held inbound mail.)

Can anyone tell me:
1) where the mail from sprintmail might be?
2) which files to check for clues?
3) a good way to tell Mutt to read my inbox
   in /var/spool/mail first? (I already tried
   making my /home/$USER/Mail/inbox a symlink
   to /var/spool/mail/$USER, and that seemed
   not to work as well; the inbox was labeled
   in a  peculiar fashion--it became 'inbox@'. 

I can tell you I'm running Red Hat 6.0 on a Pentium
Laptop, and haven't taken any steps to configure
sendmail, although it always runs as a process.

430 ?  S  0:00 sendmail: accepting connections on port 25 

thanks!