fork process on reply
When I press reply, I want to fork a new instance of mutt with that new instance then executions the editor with the replied to message and headers in place. I would do this into another screen window ideally but others might want to launch an xterm for this purpose. The advantage is to have the initial instance of mutt intact together with mailbox, filters and sorting method. doable? -- - Eric Smith
Re: fork process on reply
Eric Smith wrote: [Fri Nov 21 2008, 04:46:01AM EST] I would do this into another screen window ideally but others might want to launch an xterm for this purpose. I do this for new messages, replies, group-replies and list-replies. http://agriffis.n01se.net/skel.hg/index.cgi/file/tip/bin/xmutt The macros I use are at the top of the script. That's after my muttrc has been processed by m4. See lines 410-447 in: http://agriffis.n01se.net/skel.hg/index.cgi/file/tip/muttrc.in lines 410-447 Aron
new mail to sender
Hello, Sorry for the maybe primitive question, but I couldn't find an answer anywhere: Sometimes I want to create a new mail (not reply) to a sender who is not in my aliases file. Is there a way to do it quicker then typing his email address? Thanks in advance, Martin
Re: new mail to sender
On Fri, Nov 21, 2008 at 03:35:06PM +0100, [EMAIL PROTECTED] wrote: Hello, Sorry for the maybe primitive question, but I couldn't find an answer anywhere: Sometimes I want to create a new mail (not reply) to a sender who is not in my aliases file. Is there a way to do it quicker then typing his email address? Thanks in advance, Martin Cut and paste the address? If you have the standard mouse set up on Linux/Unix it's very quick. Double click on button 1 (left) on the address to select it and then single click on button 2 (middle) to paste it. If you have only a two button mouse then usually clicking both buttons simultaneously will emulate a middle button click. If (like me) you like thngs even easier then you can have an extra button (I have a four button trackball) which emulates double click so then it's just one click to select the text and one click to paste it. -- Chris Green
Re: how to set up authentication
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday, November 21 at 12:48 AM, quoth zirath: I upgraded (using backports) to version 1.5.18 and added the set smtp_url to the .muttrc. I'm now getting an error message no authenticators available. That means that mutt doesn't know what to do with the authentication methods that your SMTP server is advertising. You can check out what they're advertising by running mutt in debug mode (or using telnet and issuing an EHLO command). The real problem, though, may be that you need to link mutt against a better SASL library. ~Kyle - -- It is a tragic mix-up when the United States spends $500,000 for every enemy soldier killed, and only $53 annually on the victims of poverty. -- Reverend Martin Luther King, Jr. -BEGIN PGP SIGNATURE- Comment: Thank you for using encryption! iEYEARECAAYFAkkm3/oACgkQBkIOoMqOI15q6gCg6kiAGGU0n5FsAAA0Inkcrs3X dn8AoN+61zNr0+besl1gjukL6KdN1GNQ =Mm1M -END PGP SIGNATURE-
Re: new mail to sender
On 2008-11-21, [EMAIL PROTECTED] wrote: Hello, Sorry for the maybe primitive question, but I couldn't find an answer anywhere: Sometimes I want to create a new mail (not reply) to a sender who is not in my aliases file. Is there a way to do it quicker then typing his email address? There is a patch to do this, posted to the mutt-dev list in February, 2008, by Brian Medley with the subject [PATCH] compose to sender. As far as I can tell, it has not [yet] been included in the official mutt sources. Regards, Gary
Retrieving select PGP keys
This may properly be a PGP (or GPG) question, but I thought I'd inquire here for a mutt-based solution. I want to auto-retrieve PGP public keys for only certain messages. I don't want to fill my keyring with keys from mailing lists, for example, but I do want to retrieve and verify keys from private correspondents. Under the default mutt configuration, setting keyserver-options to auto-key-retrieve in gpg.conf will grab any available public key for each email. Does anyone have a solution--a macro, perhaps--that would add the public key to my keyring only when called? TIA, JL -- JL [EMAIL PROTECTED] This message optimized for teletypes.
Re: new mail to sender
Sorry for the maybe primitive question, but I couldn't find an answer anywhere: Sometimes I want to create a new mail (not reply) to a sender who is not in my aliases file. Is there a way to do it quicker then typing his email address? If you have edit_headers=yes, you can just use reply and delete the In-Reply-To: header and change the subject. But I understand that some people don't like edit_headers. -- -D.[EMAIL PROTECTED]NSITUniversity of Chicago
Re: fork process on reply
On 2008-11-21, Aron Griffis [EMAIL PROTECTED] wrote: Eric Smith wrote: [Fri Nov 21 2008, 04:46:01AM EST] I would do this into another screen window ideally but others might want to launch an xterm for this purpose. I do this for new messages, replies, group-replies and list-replies. http://agriffis.n01se.net/skel.hg/index.cgi/file/tip/bin/xmutt The macros I use are at the top of the script. That's after my muttrc has been processed by m4. See lines 410-447 in: http://agriffis.n01se.net/skel.hg/index.cgi/file/tip/muttrc.in lines 410-447 Interesting. What do you about setting the 'r' flag for messages to which you've replied? I played with a scheme similar to yours for a while, but I didn't like that there was no way to automatically and reliably set the 'r' flag according to whether or not I actually replied to a message. Regards, Gary
Re: Retrieving select PGP keys
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday, November 21 at 05:18 PM, quoth Jorge Luis: I want to auto-retrieve PGP public keys for only certain messages. I don't want to fill my keyring with keys from mailing lists, for example, but I do want to retrieve and verify keys from private correspondents. This can be accomplished pretty easily using a message hook and some extra variables. First, put your pgp decode commands in custom variables, like so: set my_pgpdecode=gpgwrapper.sh --charset utf-8 --status-fd=2 --no-verbose --quiet --batch --output - %f set my_pgpdecrypt=gpg --status-fd=2 --no-verbose --quiet --batch --output - %f Now, store the special argument: set my_pgplookuparg=--keyserver-options auto-key-retrieve=1 Then create a few message hooks, like this: message-hook . 'set pgp_decode_command=$my_pgpdecode $my_pgplookuparg' message-hook . 'set pgp_decrypt_command=$my_pgpdecrypt $my_pgplookuparg' message-hook ~l 'set pgp_decode_command=$my_pgpdecode' message-hook ~l 'set pgp_decrypt_command=$my_pgpdecrypt' I haven't tested that; you may have to set up more hooks for the other pgp-related commands (pgp_verify_command, etc), but that's the basic idea: messages from mailing lists don't get the auto-key-retrieve keyserver option. What do you think? ~Kyle - -- When we blindly adopt any religion, political system, or literary dogma, we become automatons. We cease to grow. -- Anais Nin -BEGIN PGP SIGNATURE- Comment: Thank you for using encryption! iEYEARECAAYFAkknPNcACgkQBkIOoMqOI17BwQCg1nG+NxXgowVLR0CYrnXfFE99 48wAn31Lc2rXUAYG6k03XElLaogSWk69 =rZob -END PGP SIGNATURE-
Re: new mail to sender
On 23:06 Fri 21 Nov , Gary Johnson wrote: On 2008-11-21, [EMAIL PROTECTED] wrote: Hello, Sorry for the maybe primitive question, but I couldn't find an answer anywhere: Sometimes I want to create a new mail (not reply) to a sender who is not in my aliases file. Is there a way to do it quicker then typing his email address? There is a patch to do this, posted to the mutt-dev list in February, 2008, by Brian Medley with the subject [PATCH] compose to sender. As far as I can tell, it has not [yet] been included in the official mutt sources. Regards, Gary Thanks for all the answers! This patch would do just what I wanted, but I think I'll wait until it is included in the official mutt. As I understood from the discussion it is not %100 bulletproof yet. Regards Martin
Re: Retrieving select PGP keys
* Kyle Wheeler [EMAIL PROTECTED] [20081121 16:57 -0600]: On Friday, November 21 at 05:18 PM, quoth Jorge Luis: I want to auto-retrieve PGP public keys for only certain messages. I don't want to fill my keyring with keys from mailing lists, for example, but I do want to retrieve and verify keys from private correspondents. This can be accomplished pretty easily using a message hook and some extra variables. First, put your pgp decode commands in custom variables, like so: set my_pgpdecode=gpgwrapper.sh --charset utf-8 --status-fd=2 --no-verbose --quiet --batch --output - %f set my_pgpdecrypt=gpg --status-fd=2 --no-verbose --quiet --batch --output - %f Now, store the special argument: set my_pgplookuparg=--keyserver-options auto-key-retrieve=1 Then create a few message hooks, like this: message-hook . 'set pgp_decode_command=$my_pgpdecode $my_pgplookuparg' message-hook . 'set pgp_decrypt_command=$my_pgpdecrypt $my_pgplookuparg' message-hook ~l 'set pgp_decode_command=$my_pgpdecode' message-hook ~l 'set pgp_decrypt_command=$my_pgpdecrypt' I haven't tested that; you may have to set up more hooks for the other pgp-related commands (pgp_verify_command, etc), but that's the basic idea: messages from mailing lists don't get the auto-key-retrieve keyserver option. What do you think? Thanks, Kyle. The gpg.rc that ships with my distribution's mutt includes set pgp_getkeys_command=gpg --no-verbose --batch --fetch-keys hkp://subkeys.pgp.net The command needs some tweaking; it leaves my screen in a disarrayed state, but I think what I need--and what you put me on to--is a message hook that simply excludes ~l. -- JL [EMAIL PROTECTED] This message optimized for teletypes.
Bcc'ing myself on personal mail - not when posting to the list.
I like to have my personal e-mails threaded in the same way as what happens when I post to mailing lists. After hitting 'm' I just edit the Bcc: field when the e-mail is not going to a mailing list . and when I hit 'r' I do it systematically. The only trouble about this approach is that half of the time I just forget and have to go to my sent folder and re-send the message to myself so that it eventually takes its place in the relevant thread. I was wondering if there was a fairly simple way to have mutt help me with this. I'm sure I could come up with some complex hook that - e.g. checks the lists I am currently subscribed to and add the Bcc: header for all mail that's not directed to a mailing list -- hence, hopefully covering both the 'm'--new messages, and the 'r'--replies to individuals (not mailing lists). But since I have limited time to spend on this hobby and a lot on my plate at this point, I was thinking that displaying Bcc: anyone on this message? just before I get actually hit 'y' to send the message would be satisfactory .. especially if I had no as the default reply and if my Bcc: address could be retrieved from a list of aliases or something. Hope this makes sense. CJ
not leaving a thread
Hi, is it possible to configure mutt so that pressing the TAB key in the pager (to display the next unread message) while reading mails which are within a thread doesn't leave the scope of the thread? It it's possible, how do I do that? -- http://en.wikipedia.org/wiki/Posting_style
Re: searching in search results
On Wed, Nov 19, 2008 at 08:36:43PM -0600, lee wrote: is it possible to somehow search within search results? Thanks a lot for your answers! I didn't even know that it's possible to combine different search criteria in one line, and I've been using mutt for years ... Combining them should be enough in most cases :) But I found two packages: mairix - indexes and searches email in locally stored email nmzmail - indexes and searches email in maildir folders I'll take a look at them and try them out, I'm curious what can be done with them. -- http://en.wikipedia.org/wiki/Posting_style
Re: Bcc'ing myself on personal mail - not when posting to the list.
On Fri, Nov 21, 2008 at 08:28:45PM -0500, Chris Jones wrote: I like to have my personal e-mails threaded in the same way as what happens when I post to mailing lists. If you can set up a filter for incoming mail, and if it's possible to use Cc: instead of Bcc:, you could filter out all incoming messages that have a list address in the To: header and your address in the Cc: header. Hm, yeah, you could still use Bcc:, just add another header like X-blah-abc: some more unique content and use that for filtering instead of Cc:. -- http://en.wikipedia.org/wiki/Posting_style
Re: how to set up authentication
On Fri, Nov 21, 2008 at 12:48:40AM -0500, zirath wrote: I'm getting an error message when trying to send mail externally (thru our dsl isp's server) that authentication is needed. set smtp_url=smtp://user:[EMAIL PROTECTED]/ I upgraded (using backports) to version 1.5.18 and added the set smtp_url to the .muttrc. I'm now getting an error message no authenticators available. Try set ssl_force_tls = yes set ssl_starttls = yes If the server of your provider is server.provider.com, and if your mail account is for another/your own domain, like yourdomain.com, and if your username/local part for that is user, it might have to look weird like this: set smtp_url=smtp://[EMAIL PROTECTED]:[EMAIL PROTECTED]/ Try telnet server.provider.com smtp and enter EHLO (without the quotes, QUIT to quit). If the server doesn't offer STARTTLS in response to EHLO but requires it, it is probably misconfigured --- probably because I don't know what the RFCs say about this, but if STARTTLS is required, it won't appear to make sense not to offer it. -- http://en.wikipedia.org/wiki/Posting_style
Re: Bcc'ing myself on personal mail - not when posting to the list.
Chris Jones wrote: [Fri Nov 21 2008, 08:28:45PM EST] I was wondering if there was a fairly simple way to have mutt help me with this. send-hook . unmy_hdr Bcc: send-hook '!~u' my_hdr Bcc: [EMAIL PROTECTED] Does that do the trick?
Re: fork process on reply
Gary Johnson wrote: [Fri Nov 21 2008, 05:28:54PM EST] Interesting. What do you about setting the 'r' flag for messages to which you've replied? I don't presently. I played with a scheme similar to yours for a while, but I didn't like that there was no way to automatically and reliably set the 'r' flag according to whether or not I actually replied to a message. Yeah, I think the best you can do is set-flagr in the reply macros, and assume you always finish what you start. ;-) Aron
Re: how to set up authentication
Kyle Wheeler wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday, November 21 at 12:48 AM, quoth zirath: I upgraded (using backports) to version 1.5.18 and added the set smtp_url to the .muttrc. I'm now getting an error message no authenticators available. That means that mutt doesn't know what to do with the authentication methods that your SMTP server is advertising. You can check out what they're advertising by running mutt in debug mode (or using telnet and issuing an EHLO command). The real problem, though, may be that you need to link mutt against a better SASL library. ~Kyle - -- It is a tragic mix-up when the United States spends $500,000 for every enemy soldier killed, and only $53 annually on the victims of poverty. -- Reverend Martin Luther King, Jr. -BEGIN PGP SIGNATURE- Comment: Thank you for using encryption! iEYEARECAAYFAkkm3/oACgkQBkIOoMqOI15q6gCg6kiAGGU0n5FsAAA0Inkcrs3X dn8AoN+61zNr0+besl1gjukL6KdN1GNQ =Mm1M -END PGP SIGNATURE- This was the result of ehlo at the isp server port 25: 250-smtp101.vzn.mail.re1.yahoo.com 250-AUTH LOGIN PLAIN XYMCOOKIE 250-PIPELINING 250 8BITMIME