I use mutt to get mail off a pop server:

Use the -f option to specify mailbox and -e startup options, run the whole
thing from the command line:

mutt -f pop://username:[EMAIL PROTECTED]/ -e 'push somestrings'

This will work but only if executed from a tty. If you are trying to do this
from cron then you will have to assign stdin from some valid tty. Assigning
a static tty works for me as long you quit out of mutt in the -e command.

Previous advice on fetchmail is very valid. You would want to have a very
good reason for doing the above.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Sven Guckes
Sent: Friday, 4 October 2002 07:07
To: [EMAIL PROTECTED]
Subject: Re: configuring POP to retrieve mail periodically ->
cron+fetchmail


* Neal Norwitz <[EMAIL PROTECTED]> [2002-10-03 15:20]:
> version 1.4.  I am trying to configure mutt to see if it's useful.
> I've got most things working ok, except I can't get mutt to
> automatically get mail via POP3 every minute.

wrong tool.   -> man crontab + man fetchmail

> mutt works fine when I press G to fetch mail.
> But mutt won't go out and get mail by itself.

feature.

> Any help would be appreciated.  Please cc me,
> as I'm not on the mailling list.

learn about the "lists" command then!  (see sig)

Sven

--
Sven Guckes               [EMAIL PROTECTED]
use     "lists address"   when you are *not* subscribed
use "subscribe address"   when you   *are*   subscribed
-> http://www.math.fu-berlin.de/~guckes/mutt/setup.html

Reply via email to