Richard Spencer muttered:
>
> 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
I use:
# Host 1
poll host1.domain1 protocoll pop3 usename someuser1 there is localuser1 \
here password somepasswd1
# Host 2
poll host2.domain2 protocoll pop3 username someuser2 there is \
localuser2 here password somepasswd2
This is to be sure sendmail will put it to right local users.
Maybe you want to check fetchmailconf. It provides a GUI to build your
.fetchmailrc
> 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.
>
> 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.)
You can use '!' as a shortcut for $spoolfile. It's normally a good idea
to make ! and ~/Mail/inbox mailboxes. So you can easily go there with
'c<tab>'.
> Can anyone tell me:
> 1) where the mail from sprintmail might be?
Check your logs if you're lucky sendmail put them to some backupfile.
> 3) a good way to tell Mutt to read my inbox
> in /var/spool/mail first?
Since /var/spool/mail/$USERNAME is the default $spoolfile mutt should
look there first. If not set $spoolfile to this.
Michael
--
Staff meeting in the conference room in %d minutes.
PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65 40FA 5967 ACA1 0B57 7C13