Re: Don't leave mutt after m^C (or similar)
On Wed, Sep 11, 2013 at 01:53:10PM +0200, Matthias Beyer wrote: > Hi, > > sometimes I accidentially type 'm' or so, for new mail. The I hit > CTRL-C for abort, and Enter for confirm. But I don't want to leave > mutt! > > How to change the default to "no, I don't want to leave mutt" for all > "quit mutt?" messages? Hi, Don't abort new mail with Ctrl+c. Use Ctrl+g. It can be used for aborting of other functions as well. Regerds, Veljko
Re: How to create a new aliase (key-binding)?
On Tue, Dec 25, 2012 at 05:08:04PM +0800, Woody Wu wrote: > > Hi, list > > Copy/paste into the .mail_aliases file is boring. Is there a key > binding that inserts a new aliase based on the current reading message? That would be "a". a create-aliascreate an alias from a message sender Regards, Veljko
Re: Move message to another mailbox
On Tue, Dec 25, 2012 at 05:10:20PM +0800, Woody Wu wrote: > Hi, List > > I know 'C' can copy message to another mailbox. But I don't find out > what's the binding for moving message. Could you please tell me? > Hi Woody, Try with "s". >From help: s save-messagesave message/attachment to a mailbox/file Regards, Veljko
Re: Key binding problem
On Tue, Oct 25, 2011 at 03:19:38PM -0500, Tycho Andersen wrote: > On Tue, Oct 25, 2011 at 08:53:59PM +0200, Veljko wrote: > > > > Hi! > > > > Alt is same as pushed and released Esc, so \ej would give you ALT+j. > > Thanks for the response! > > Unfortunately, I still have the same problem (push \ej or push \252 > works, but pressing ALT+j doesn't; pressing esc then j does, though). > > \t As Brandon said, it could be related to the terminal you are using. I just added bind index \ej sidebar-next to my muttrc and ALT+j works. Acording to Rute User's Tutorial and Exposition "The Alt modifier (i.e., Alt-?) is in fact a short way of pressing and releasing Esc before entering the key combination; hence Esc then f is the same as Alt-f--UNIX is different from other operating systems in this use of Esc." Maybe your /etc/inputrc is mapped some other way? -- Veljko
Re: Key binding problem
On Tue, Oct 25, 2011 at 01:34:30PM -0500, Tycho Andersen wrote: > Hi all, > > I'm trying to bind a key combination to an action. Specifically, I'm > trying to bind ALT+j to something. :exec what-key gives me octal 252 > as the value for this key combo, so I stuck: > > bind index,pager \252 sidebar-next > > in my ~/.muttrc. However, when I source it and press ALT+j, it tells > me that the key is not bound. What's more confusing is that if I do > > :push \252 > > I see the desired action. > > Thoughts? TIA > > \t Hi! Alt is same as pushed and released Esc, so \ej would give you ALT+j. -- Veljko
Re: offlineimap much slower than gmail-imap
On Mon, May 02, 2011 at 02:17:26PM +0200, Jose M Vidal wrote: > No way: just set the caching just for headers, but the response is > still very slow. > Any other clue I can follow? > Thanks a lot! > > jm My best guess is I/O load. If I use rtorrent with 10 torrents running (each of them with lots of connections that read/write to disk) it does takes lot more time to index 5 mails. iotop is nice tool for I/O troubleshooting. Maybe you should start there. Regards, -- Veljko
Re: offlineimap much slower than gmail-imap
On Mon, May 02, 2011 at 12:03:46AM +0200, Jose M Vidal wrote: > I was happily using mutt with gmail-imap. > Then I decided to switch to offlineimap+msmtp, so I could still use > mutt offline, have a backup of all my e-mails and, hopefully, increase > mutt speed by working locally. > But, after having all installed an all my e-mails already downloaded > (10GB / 45.000 e-mails), every time I switch from INBOX to All Mail, > it takes 6 minutes (!) to refresh the index. > I had caché enabled with imap, and I am stilll keeping it in my .muttrc: > > set header_cache=~/.mutt/GMail/cache/headers¬ > set message_cachedir=~/.mutt/GMail/cache/bodies¬ > > But I am afraid cache only works with online imap, because now > accessing to folders is much-much slower than with previous online > configuration. > Is there anything I can do to speed-up my mutt? > Thanks in advanced, > > -- > jm > > PS: my mutt is 1.5.20 I'm using offlineimap for severral accounts (one of them with ~5 mails) and refreshing is very fast. I only have: set header_cache='~/.mutt/hcache because it is not necessary to cache whole massage (they are already on your local disk). Sory I can't help any more, but just wanted to say that offlineimap works fine with mutt. Your problem must be elsewhere. Regards, -- Veljko
Labels
Hi! I'm using editlabel script (http://blitiri.com.ar/p/other/mutt-labels/) for labeling mails in mutt, but now I have about 400 mails that I want to label in the same time. Is that even possible?
Re: Mailcap and piping
On Sun, Mar 20, 2011 at 11:06:32AM -0700, Chip Camden wrote: > Here's a little script I use to move stdin to a file argument: > > > #!/bin/sh > needsterm=false > while getopts th o; do > case "$o" in > t) needsterm=true;; > h) echo >&2 "Usage: $0 [-t] cmd" > exit 1;; > esac > done > shift `expr $OPTIND - 1` > file=`mktemp /tmp/farg.XX` > cat > $file > if $needsterm; then > `printf "$*" $file` < /dev/tty > else > `printf "$*" $file` > fi > rm $file > > > I call it 'farg'. > > Now you can use mutt's pipe command for any command that accepts a file > argument: > > |farg 'mplayer %s' > > for commands that want stdin to be the terminal, add -t: > > |farg -t 'vim %s' > > -- > Sterling (Chip) Camden | sterl...@camdensoftware.com | 2048D/3A978E4F > http://chipsquips.com | http://camdensoftware.com | http://chipstips.com Thanks Chip, that worked!
Re: Mailcap and piping
On Sun, Mar 20, 2011 at 05:52:39PM +0100, Christian Ebert wrote: > I don't know VLC and what it accepts as arguments, but with > mplayer this works at the Mutt pipe-entry prompt: > > mplayer - > > or > > mplayer /dev/stdin > > Find out if and how VLC accepts standard input as an argument. Tried with mplayer and the result is: Playing /dev/stdin. Cannot seek backward in linear streams! Seek failed or Playing -. Reading from stdin... Cannot seek backward in linear streams! Seek failed > > But it doesn't really matter. I was just being curious about it. :-) > > In practice you would use pipe-message and pipe-entry for text > content mainly I would think. > > c Yeah, I guess you are right, not really intended to be used with multimedia.
Re: Mailcap and piping
On Sun, Mar 20, 2011 at 01:25:05PM +0100, Christian Ebert wrote: > * Veljko on Saturday, March 19, 2011 at 23:55:59 +0100 > > On Sat, Mar 19, 2011 at 11:52:22PM +0100, Veljko wrote: > >> On Sat, Mar 19, 2011 at 08:49:43PM +0100, Christian Ebert wrote: > >>> * Veljko on Saturday, March 19, 2011 at 16:05:18 +0100 > >>>> Just out of curiosity, how to use pipe ("|") to open attachment with > >>>> desired application? > >>> > >>> You can just leave out the filename expando (%s). For example: > >>> > >>> application/pdf; xpdf /dev/stdin > >> > >> Sorry, I understand that my subject contribute to the confusion. What I > >> was asking was using pipe in view-attachment part. When rely on mailcap > >> entries is is sufficient to pres enter (and that is working now), but > >> alternative is to press "|" > >> and enter command, that is, we are asked to "Pipe to:". Maybe I > >> misunderstood it's usage... > > > > To be more clear, I'm refering to this: > > pipe-message | pipe message/attachment to a shell command > > And the question is? ;-) Why not try it out? It does just what it > says, according to your current pipe-related settings like > pipe_decode. And you can use/test it from Mutt's commandline or > in macros. You just enter the command at the pipe-message prompt > manually or write it in the macro. > > But I am quite certain that I don't understand what your question > is, sorry. > > c Well, I tried it and it doesn't work. I have some .wmv file attached in mail. After Ctrl-v I'm in position to press enter after selecting attachment. Something like: A 4 some_video_file.wmv [video/x-ms-wmv, base64, 1.3M] If I press enter, video file is started in mplayer, bacause it is set that way in my mailcap and that's fine. But if I want to play it in VLC, I thought I can press "|" and enter command that will start my attached video file. It doesn't work. pipe_decode doesn't make any difference. But it doesn't really matter. I was just being curious about it. :-)
Re: Mailcap and piping
On Sat, Mar 19, 2011 at 11:52:22PM +0100, Veljko wrote: > On Sat, Mar 19, 2011 at 08:49:43PM +0100, Christian Ebert wrote: > > * Veljko on Saturday, March 19, 2011 at 16:05:18 +0100 > > > Just out of curiosity, how to use pipe ("|") to open attachment with > > > desired application? > > > > You can just leave out the filename expando (%s). For example: > > > > application/pdf; xpdf /dev/stdin > > Sorry, I understand that my subject contribute to the confusion. What I > was asking was using pipe in view-attachment part. When rely on mailcap > entries is is sufficient to pres enter (and that is working now), but > alternative is to press "|" > and enter command, that is, we are asked to "Pipe to:". Maybe I > misunderstood it's usage... To be more clear, I'm refering to this: pipe-message | pipe message/attachment to a shell command
Re: Mailcap and piping
On Sat, Mar 19, 2011 at 08:49:43PM +0100, Christian Ebert wrote: > * Veljko on Saturday, March 19, 2011 at 16:05:18 +0100 > > Just out of curiosity, how to use pipe ("|") to open attachment with > > desired application? > > You can just leave out the filename expando (%s). For example: > > application/pdf; xpdf /dev/stdin Sorry, I understand that my subject contribute to the confusion. What I was asking was using pipe in view-attachment part. When rely on mailcap entries is is sufficient to pres enter (and that is working now), but alternative is to press "|" and enter command, that is, we are asked to "Pipe to:". Maybe I misunderstood it's usage...
Re: Mailcap and piping
On Sat, Mar 19, 2011 at 03:37:21PM +0100, Christian Ebert wrote: > * Veljko on Saturday, March 19, 2011 at 14:37:17 +0100 > > I set up my mailcap for various types of files, but some of them are not > > recognized properly and it just says "application/octet-stream" despite > > the fact it is .jpg of .pps or something like that. What I want to do in > > that case is to pipe attachment to apropriate application. What is the > > right way to do it? I tried something like: > > vlc %s > > but it doesn't work. > > Either use/extend mime.types (you can create an additonal > mime.types file: $HOME/.mime.types) in conjunction with > > mime_lookup application/octet-stream application/octetstream > > in your muttrc. > > Or use a script like Gary Johnsons mutt_bgrun: > http://www.spocom.com/users/gjohnson/mutt/ > > c > -- > theatre - books - texts - movies > Black Trash Productions at home: http://www.blacktrash.org > Black Trash Productions on Facebook: > http://www.facebook.com/blacktrashproductions Actually, I'm already using mutt_bgrun (thanks for that great script Gary), but thats just for viewing attachment in the background. mime.types solved my problem and now all attachments are runned by appropriate application. Thanks Christian! Just out of curiosity, how to use pipe ("|") to open attachment with desired application?
Mailcap and piping
Hi! I set up my mailcap for various types of files, but some of them are not recognized properly and it just says "application/octet-stream" despite the fact it is .jpg of .pps or something like that. What I want to do in that case is to pipe attachment to apropriate application. What is the right way to do it? I tried something like: vlc %s but it doesn't work.
Re: Comodo Secure Email Certificate
On Mon, Mar 14, 2011 at 01:01:14AM -0700, Jason Helfman wrote: > Which directions did you follow? When I try to import my pem file that was > exported, I get this error: > > [jhelfman@eggman ~]$ smime_keys add_pem jhelfman.pem > Not all contents were bagged. can't continue. at /usr/local/bin/smime_keys > line 572. > > Did you use a .pem file, or another? > > Thanks! > Jason First link is sufficient. After you follow link Comodo sent you, your certificate is installed in your browser (firefox in my case). You need to export it then (Edit - Preferences - Advanced - Encryption - View Certificates - Your Certificates - Backup). It is .p12, not .pem file, so you need to use: smime_keys add_p12 ~/your_comodo_cert.p12 If your muttrc is not in ~/.muttrc, copy it there just for this command, so it can find what it needs. Cheers!
Re: Comodo Secure Email Certificate
On Sun, Mar 13, 2011 at 05:42:46PM +0100, Veljko wrote: > Hi! > > I just applied for Comodo's free email certificate > http://www.comodo.com/home/email-security/free-email-certificate.php > > How can it be used with mutt? > In case anybody else is wondering how to do it, I found it: http://equiraptor.com/smime_mutt_how-to.html http://kb.wisc.edu/middleware/page.php?id=4091 Cheers!
Comodo Secure Email Certificate
Hi! I just applied for Comodo's free email certificate http://www.comodo.com/home/email-security/free-email-certificate.php How can it be used with mutt?