-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, Nov 07, 2005 at 04:14:23AM -0800, eric dan wrote: > hi, > i use mutt with getmail procmail and msmtp > anybody know how i can bind a key so that i can invoke "getmail -d" from > within > mutt > that get's only onread messages. > before i had a crontab set for "/usr/bin/getmail" that worked, but kept on > getting me the same messages over. adding the "-d" made it stop working for > some reason. > also the keybining would be a nice feater than crontab > thanks.
Hi Eric, Take a look at www.scottro.net/mutt.html which covers a bunch of things. There's a keybinding to invoke getmail at will. If it's getting the same messages over and over, it indicates that there is probably something being written to stderr--getmail will get the mail but not delete it from the server--so it may even be a procmail error. (Also, check out my http://www.scottro.net/getmail.html which goes a bit further into detail with getmail.) Try running getmail -v which should give an indication of the error. You can also, of course, simply set it to delete from the server in your getmailrc--again, if you've done that and it's not deleting from the server, my guess is that there's some sort of error. The lines you want are (I just copied this in from my .muttngrc---I'm calling it with -v rather than - -d here.) macro index G "!getmail -v\n" "Invoke getmail" macro pager G "!getmail -v\n" "Invoke getmail" - -- Scott Robbins PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Buffy: Oh, look at my poor neck... all bare and tender and exposed. All that blood, just pumping away. Giles: Oh, please. Spike: Giles, make her stop! Giles: If those two don't kill each other, I might lend a hand. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDb1OO+lTVdes0Z9YRAvMpAJ99OPeXKAN6diWcCbolk6TAnrCy5QCfUN+d DjfsETLq7//aumZk2I6jee4= =1/UY -----END PGP SIGNATURE----- _______________________________________________ arch mailing list [email protected] http://www.archlinux.org/mailman/listinfo/arch
