Visakha forced the electrons to say:
> options, and finally decided that Mutt was what I needed.
Way to go, buddy!
> I have a pop3 mailbox at mailandnews.com and would like to use it for all
> purposes. What do I need to do??
If your mutt is compiled with POP and IMAP support, then all you have to do is
to put the lines
set pop_host="mailandnews.com"
set pop_user="yourusername"
and optionally
set pop_pass="your password" (otherwise mutt will prompt you for the
password) in your .muttrc. All linux distributions that I have seen
have mutt compiled with POP support.
But - I would suggest you go for fetchmail+procmail. A simple .fetchmailrc
like
poll mailandnews.com proto pop3 user yourusername pass "your password"
will download mails for you from your pop host. Arrange for fetchmail to be
started/stopped from the ip-up/ip-down scripts of pppd.
One of the main advantages of using fetchmail to retrieve email from pop
server is that you can use procmail to filter your email. For example,
I have the following four lines in my .procmailrc:
MAILDIR=/home/binand/Mail
:0:
* (^Reply-To:.*|^Old-To:.*|^TO)linux-india-help
$MAILDIR/Linux/linux-india
Now, all the mails from this list go to the mailbox
~binand/Mail/Linux/linux-india, leaving my inbox free for other
mails. There are a lot of other stuff you can do with procmail, read
the manpages.
Binand
--
The prompt for all occasions:
export PS1="F:\$(pwd | tr '/[a-z]' '\134\134[A-Z]')> "
--------------- Binand Raj S. ([EMAIL PROTECTED])
-----------------------------------------------------------------------
For information on this and other Linux India mailing lists check out
http://lists.linux-india.org/