Re: newbie: filtering email
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday, June 15 at 10:10 PM, quoth Don Raikes: I have a .fetchmailrc file setup, and can use it if it is the most efficient method. I also have the pop_host setup in my .muttrc file so I can use the ctrl+g to retrieve my email. You can still use mutt to trigger fetchmail, and you can still use ctrl+g to trigger it. For example: macro index \cg 'shell-escapefetchmail -senter' The advantage is that fetchmail can feed each message to an MDA (like procmail) whereas mutt can't (because it's doing all the delivery itself). The disadvantage is that you have to use a separate program, and it's slightly less obvious. Kyle, It actually helps a lot. I will look into maildrop and see how that works. Thansk for the quick reply. Happy to help! ~Kyle - -- All men by nature desire to know. -- Aristotle -BEGIN PGP SIGNATURE- Comment: Thank you for using encryption! iEYEARECAAYFAkhWBBIACgkQBkIOoMqOI17TOQCgt2GApUU5uOmxkUrXFG2UU4Gx TSUAn2EurYacpTBOoM/O7U/mHLwyPz3B =70/7 -END PGP SIGNATURE-
Re: newbie: filtering email
On 15 Jun 2008 22:10 -0700, by [EMAIL PROTECTED] (Don Raikes): No I pull my messages down to my local system using pop. I have a .fetchmailrc file setup, and can use it if it is the most efficient method. I also have the pop_host setup in my .muttrc file so I can use the ctrl+g to retrieve my email. This is easy to do. Just set mda to procmail in your .fetchmailrc. For example, mine is (save for a lot of other things that are irrelevant in this case): ** cut ** defaults fetchall mda /usr/bin/procmail -d locallogin poll remoteserver with proto pop3, tracepolls: user remotelogin password remotepassword ** cut ** Then, create your ~/.procmailrc. While experimenting you may want to keep this recipe at the very top: ** cut ** :0cw $DEFAULT ** cut ** This will ensure that a copy (`c' flag) of each message is always written to your inbox. The `w' flag tells procmail to check to see if the delivery succeeded before continuing. You can also replace $DEFAULT above with an explicit path, for example `/home/don/mail.copy'. -- Michael Kjörling .. [EMAIL PROTECTED] .. http://michael.kjorling.se * . No bird soars too high if he soars with his own wings . * * ENCRYPTED email preferred -- OpenPGP key ID: 0x 758F8749 BDE9ADA6 * * ASCII Ribbon Campaign: Against HTML mail, proprietary attachments * signature.asc Description: Digital signature
Re: :source ~/.muttrc command weirdly moves message around in
On Sun 06/15/08 at 09:40 PM -0500, Kyle Wheeler [EMAIL PROTECTED] wrote: [...] that you use something more like this: folder-hook '(|=cv|=dm)$' 'set index_format=whatever' The only problem I'm having with this: '(|=cv|=dm)$' instead of this: '|cv|dm' in this: folder-hook '(|=cv|=dm)$' 'set index_format=%3C %Z %[%m/%d] %-22.22F %c %s' is that with '(|=cv|=dm)$' these three folders don't show, in their index, the result of %c above, but rather the result of %3l in the following line (which is a few lines above in my.muttrc): folder-hook . 'set index_format=%3C %Z %[%m/%d] %-20.20n %3l %s' And that of course gives me an index-view that shows the number of lines in the message (some of which are 0 since I use maildirs) instead of the message's size in bytes. How can I keep the form you've suggested and also get the results of %c instead of %3l ? -- // [EMAIL PROTECTED] // To do: 1) Get VIM for Linux. 2) Get VIM for NetBSD 3) Get VIM for Solaris. 4) Get VIM for the Mac. 5) Get VIM for Windows. 6) Laugh at non-VIM users. pgp1sDjbhVyNG.pgp Description: PGP signature
Re: :source ~/.muttrc command weirdly moves message around in
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Monday, June 16 at 03:15 PM, quoth Russell Hoover: On Sun 06/15/08 at 09:40 PM -0500, Kyle Wheeler [EMAIL PROTECTED] wrote: [...] that you use something more like this: folder-hook '(|=cv|=dm)$' 'set index_format=whatever' The only problem I'm having with this: '(|=cv|=dm)$' Hmmm... so it's not matching? Interesting. Try deconstructing it, to see what's breaking the match. For example, remove the $ off the end, and see if that helps. ~Kyle - -- Only a mediocre person is always at his best. -- Somerset Maugham -BEGIN PGP SIGNATURE- Comment: Thank you for using encryption! iEYEARECAAYFAkhWv0YACgkQBkIOoMqOI15IiACgrdR/NPO+dCqt3Ip3ZAQuYbZG DYAAnjJ7fIWPC4PFwVF1WWbqsuCKgBsV =fS6x -END PGP SIGNATURE-
Re: :source ~/.muttrc command weirdly moves message around in
Hi Russell! On Mon, 16 Jun 2008, Russell Hoover wrote: How can I keep the form you've suggested and also get the results of %c instead of %3l ? Have you tried something like the following format: (%?l?%4l%4c?) This will display the line number if available otherwise it will print the byte size. regards, Christian