starting out with gpg
--huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Howdy Mutters,=20 I've been off the list for awhile, but I'm happy to be back. Anyway, my issue du jour is gpg. I've read a bunch of faq about setting it up, and I think I've got it. I have a public key (ID ABFAFC30) published and I can sign and encrypt messages just fine. My question comes to receiving signed messages. When I get an email from someone who is not on my keyring Mutt says that the signature cannot be verified. I was hoping that it would automatically go out to the key server and retreive the key. Is that possible? Is it good practice? Doing a manual gpg --rece-key KEYID works, but I'd rather something more automatic. Thanks in advance, Mike Arrison P.S. Does my signature on this email look right? --huq684BweRXVnRxX Content-Type: application/pgp-signature Content-Disposition: inline -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9nGHm1NmL0av6/DARAkSTAKCuF/xDqpYSqzK/YCx0hbgNxMHtYQCfXkT8 vAj+ZRM17bMwgLMwzQZCHvQ= =tXYe -END PGP SIGNATURE- --huq684BweRXVnRxX--
Re: starting out with gpg
--8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 03, 2002 at 11:27:34AM -0400, Mike Arrison wrote: =20 My question comes to receiving signed messages. When I get an ema= il from someone who is not on my keyring Mutt says that the signature cannot be verified. I was hoping that it would automatically go o= ut to the key server and retreive the key. Is that possible? Is it g= ood practice? Doing a manual gpg --rece-key KEYID works, but I'd rather something more automatic. =20 Not needed! I checked my muttrc for something like gpg --recv and all is commented out. My keyreceive works from my ~/.gnupg/options: =20 keyserver-options auto-key-retrieve include-disabled include-revoked We have a winner. This is the line that worked for me in gnupg 1.07. Thanks for all the help. -Mike Arrison --8t9RHnE3ZwKMSgU+ Content-Type: application/pgp-signature Content-Disposition: inline -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9nJWW1NmL0av6/DARAvudAKDmr5Srw2o5dKBaXB7fCuqJwr0pvACdF3+h 5q/d2mHAaUayNkQTx6vY86U= =ez+f -END PGP SIGNATURE- --8t9RHnE3ZwKMSgU+--
bad mime types
Mutters, I received an msword .doc file today with a mime/encoding like this: A 4 DocumentName.doc [applica/octet-stre, base64, 42K] I'm have application/msword assosicated nicely with antiword, but is there anyway to view this file without saving it first? I could associate application/octet-stream, but that seems dumb. Thoughts? -Mike Arrison
Re: bad mime types
On Tue, Jun 18, 2002 at 02:06:55PM -0400, Mark J. Reed wrote: You can change the type of an attachment from the attachment menu (after hitting 'v'). After moving the cursor to the attachment and before hitting RETURN to open it, hit control-e, and enter application/msword or whatever. That did it. Thanks. And politely ask whoever sent you that attachment to fix their mail user agent software. :) Well, here's the problem: X-Mailer: AOL 7.0 for Windows US sub 10513
saving attachments with permissions
Mutters, In my muttrc I have the following macro: # Add a macro to prepend a default directory macro attach s save-entrybol~/public_html/eol So obviously, I want to download my attachments from a web browser. The problem is that my umask isn't lenient enough, and the attachments end up with 0600 permissions. Is there anyway to add a default permission setting of 0644 for attachment saves? Or even a macro that would issue the chmod? -Mike Arrison
bcc on folder-hook
Mutters, I can't figure out how to make a folder-hook that will set the bcc field. Basically whenever I'm in folder abc, I'd like to bcc an address. I can't figure how to make it work with a send-hook either. I'm thinking something like this: folder-hook abc 'set bcc=[EMAIL PROTECTED]' But bcc doesn't seem setable like that (I suspect because I'm not yet in the compose context). Or, maybe something like this: macro generic setbcc edit-bcckill-line[EMAIL PROTECTED]enter set bcc folder-hook abc 'setbcc' Any ideas? -Mike Arrison
quote_regexp
Howdy Mutters, I just want to contribute a little something I figured out. Nothing earth shattering here, but it might help someone. Aparently some people (ahem, no names please) like to use strange characters to quote people's messages. So I found the quote_regexp command. The default is: set quote_regexp=^([ \t]*[|:}#])+ That does a pretty good job my allowing any number of tabs or spaces followed by either pipes, angle brackets (my favorite), colons, right curly brace or pound, and then that pattern can be repeated ( I think). If you want to allow other characters as quotes, stick in the second brackets, like this one I did: set quote_regexp=^([ \t]*[%|:}#])+ Maybe this will help someone :) -Mike Arrison
multi line macros?
Hello Mutters, In a macro, is it possible to have a multi line sequence? For instance, I'd when I hit my macro key I want to do about 5 different things. This quickly creates a 200 key sequence. I can't figure out how to escape the sequence into multiple lines. Simple backslashes in the middle of the sequence don't seem to do it. Any thoughts? -Mike Arrison
Re: multi line macros?
Well, macro index $somekey \ set var1; \ set var 2; \ set var 3 I tried this: macro compose 3 edit-from^Umy_alias^M; \ edit-bcc^Uother_addr^M Set From to my_alias and I got a Key is not bound error somewhere after the from part. That is the from part worked but the bcc part did not. -Mike
Re: multi line macros?
On Mon, Jun 10, 2002 at 10:35:26AM -0500, David T-G wrote: Note that the backslash is to escape the newline, so you have to end the line with the slash and not have anything, even a blank space, after it. My lines are clean, backslash terminated. Next suggestion? See above post for actual lines. -Mike Arrison
Re: multi line macros?
On Mon, Jun 10, 2002 at 06:18:42PM +0200, Nicolas Rachinsky wrote: macro compose 3 edit-from^Umy_alias^M; \ edit-bcc^Uother_addr^M Set From to my_alias I would try it without the leading whitespace in the second line. Good thought. No dice. -Mike
Re: multi line macros? - Solution
On Mon, Jun 10, 2002 at 06:44:28PM +0200, Nicolas Rachinsky wrote: macro compose 3 edit-from^Umy_alias^M; \ edit-bcc^Uother_addr^M Set From to my_alias Why is there a ';', I don't think you need it. Try it without the ';' and remove all unneccessary whitespace (the leading in the second line, and the whitespace before the '\'). Aha! Eureka. The semicolon is allowed, but all whitespace is not. When I removed the white space from before the second edit, and removed it after the semi, AND removed it after the final ^M... it worked :) Moral: Whitespace is bad. -Mike Arrison
Re: [OT] scriting abook, was: recommend good address book
Andre, On Sat, Jun 08, 2002 at 09:55:04AM -0400, Andre Berger wrote: Talking about abook, is there a way to extract the snailmail address of certain user for use in shell srcipts and the like? -Andre Its funny, but I don't think there is a way currently. That's a good feature request. If you know any C, you can add another export function in the filter.c file. I think even a custom exporter would be easy to write at somepoint. Whereby you could specifiy your output format with a series of printf like commands %Name %Street %City %State %Zip Wouldn't that be nifty? Maybe I'll work on that, of if someone smarter wants to jump in here. -Mike Arrison
mbox files
Hello Mutters, I run mutt in a few different locations. I've gathered a few different sent-mail mbox files that I'd like to combine into one. Would cat'ing one onto another do it? Is mutt smart enough to still sort them? -Mike Arrison
Re: NuBe: upgrade question
First I did which mutt and found it was in /usr/bin. So I figured when running the Mutt 1.4 configure script, that I needed --prefix=/usr/bin. So I ran the script and then as root did 'make install'. This, however reported an error in that it wanted to create a directory called man. you need --prefix=/usr It will then place binaries in /usr/bin and man pages in /usr/man/etc... -Mike Arrison
Re: NuBe: upgrade question
First I did which mutt and found it was in /usr/bin. So I figured when running the Mutt 1.4 configure script, that I needed --prefix=/usr/bin. So I ran the script and then as root did 'make install'. This, however reported an error in that it wanted to create a directory called man. you need --prefix=/usr It will then place binaries in /usr/bin and man pages in /usr/man/etc... -Mike Arrison - - End forwarded message - - -- -- End of mutt-users-digest V1 #1187 *
Re: recommend good address book
Kevin, I'm enjoying using Mutt, although mangling the messages, but am wondering whether there is a good console type address book to use with it? I agree that abook is good. In fact, it is the first project that to which I've felt obliged and able to contribute. Its source is simple, so if you don't like the way it does something, or you want to add a feature, it's easy. Yeah Open Source! -Mike Arrison
Re: 3 quick questions
Kevin, You are bringing back memories of two months ago when I started using mutt. So far every day has been better than the previous. Ain't it great? Anyway, I can't help with all your questions, but: On Thu, Jun 06, 2002 at 04:14:30PM -0400, Kevin Coyner wrote: 3. This is the question that bothers me most: Let's say I have three email POP3 email accounts on three different ISP/domains. I've got fetchmail set up to fetch from all three. But what I can't figure out is how I can, on the fly, select any one of these accounts to be my From: and Reply-to: address. Presently I have my .muttrc setup with set from = [EMAIL PROTECTED] and this has each and every msg going out with that From address. But there are times when I need to use one of those other two I use folder hooks to set my from based on my current folder like this: folder-hook !+(folder1|folder2) 'set from=Me [EMAIL PROTECTED]' folder-hook +(folder1|folder2) 'set from=Me [EMAIL PROTECTED]' But sometimes I start composing a mail in the wrong folder and it was a pain to save it, then open back up in the right folder. So with some help from fellow mutters, I now use these macros to change from info on command: alias Me1 Me [EMAIL PROTECTED] alias Me2 Me [EMAIL PROTECTED] macro compose 1 edit-from^UMe1^M Set From to Me1 macro compose 2 edit-from^UMe2^M Set From to Me2 I sanatized my information here a bit, so forgive me if there are syntax mistakes. :) -Mike Arrison
alias instead of real from
Mutters, I recently changed a line in my muttrc from 'lists [EMAIL PROTECTED]' to 'subscribe [EMAIL PROTECTED]' because I was told to :) But upon doing that the folder index changed from displaying a person's real from address, to this: 71 L Jun 04 09:53 To Mutt Users L (0.3K) ..Re: key macros 72 sL Jun 04 12:18 To Mutt Users' (2.0K) .. 73 L Jun 04 22:16 To Mutt Users' (0.6K) ..Re: key macros - 74 sL Jun 04 15:22 To Mutt Users' (2.4K) . .. 75 L Jun 05 02:12 To Mutt Users' (0.9K) . .. 76 L Jun 05 08:02 To Mutt Users' (1.1K) ..Re: key macros Only the alias which they used in their To: is displayed. What gives? -Mike Arrison
Re: Changing from address
I was really thinking something more of a one keystroke macro kinda thing that would immediately change my from address etc... Your solution is nice, but it a) waits until sending, and b) relies on the to address. I want to be able to change froms regardless of to. Anyone else? -Mike Arrison On Tue, Jun 04, 2002 at 05:47:04AM +0200, Benjamin Pflugmann wrote: How about using a send-hook that checks for the to/from/cc. Mine for this list looks like (1-1 copy from my muttrc): send-hook '~C ^mutt-(users|dev)@mutt\.org$ | ~f ^benjamin-mutt@pflugmann\.de$' ' \ my_hdr From: [EMAIL PROTECTED] ; \ set attribution=On %d, %F wrote: ; \ set signature=~/.signature_mutt ; \ set pgp_sign_as=0xDA119C70 ' # in contrast to '~C listadress ( ~P | ~p )' this rule will also # catch private mail which relates to the list. send-hook assures the # correct mail address is set. fcc-save-hook '~f ^benjamin-mutt@pflugmann\.de$ | \ ~C ^benjamin-mutt@pflugmann\.de$' =archive/rmutt.gz fcc-save-hook '~C ^mutt-dev@mutt\.org$' =archive/mutt_dev.gz fcc-save-hook '~C ^mutt-users@mutt\.org$' =archive/mutt_user.gz HTH, Benjamin. -- [EMAIL PROTECTED]
Re: Changing from address - set edit_hdrs
Sven, set edit_hdrs and use your editor to make the change. Agreed, I think that'll be for the best. map #F1 1G/^From: /e+1CRCMike Arrison [EMAIL PROTECTED]Esc map #F2 1G/^From: /e+1CRCMike Arrison [EMAIL PROTECTED]Esc Perfect, thank you. Except that I didn't mention my email addresses... looking up on me, eh? X-Mailer: Mutt 1.2.5.1i (No Microsoft client in sight) Oh fine... upgrade complete by the way, if you are subscribed to this list then please change lists mutt-users to subscribe mutt-users - thankyou! Thanks for the tip and please dont send TOFU (text oben, fullquote unten). thanks. I was unfamiliar with the acronym, but I think I figured it out, yes? -Mike Arrison
Changing from address
Mutters, I, like most of you, have more than one address I send from. I use folder hooks to set from, my_hdr From, and my_hdr Reply-To. This works perfectly except when I forget to change to the right folder before sending a message. So when I find myself at the compose menu with a finished message and the wrong addresses (a profile if you will) what am I to do? I'm think about something like a macro to change everything, but changing the same vars as my folder hooks doesn't seem to work. I'm sure I'm not the only one with this problem. Any help here? -Mike Arrison
aliases and address book
Hi Mutters, I'm curious if anyone has a good solution for using Mutt's aliasing feature as a good address book (email addr only). The problem I'm running into is that I couldn't possibly come up with a one word nickname for all 100 or so people I know. So instead of saying: alias Adam Smith, Adam [EMAIL PROTECTED] alias Bob Jones, Bob [EMAIL PROTECTED] alias Chuck Jackson, Chuck [EMAIL PROTECTED] ... I would like to to have to specify a nickname, such as: alias Smith, Adam [EMAIL PROTECTED] alias Jones, Bob [EMAIL PROTECTED] alias Jackson, Chuck [EMAIL PROTECTED] ... I'm willing to type in their full names, but I don't want to have to remember full email addresses. Is that legal? -Mike Arrison
slightly OT: yahoo groups
Howdy, What is the relationship between yahoo groups and the mutt user's list? I ran across this link http://groups.yahoo.com/group/mutt-users/ from this page http://mutt.blackfish.org.uk/ . Sorry for being OT. -Mike Arrison
sorting
Hello again, I'm trying to figure out how sorting is really done in Mutt. I currently have sort=threads. I thought that would sort by threads, and then by date. For example, some of my folder have no threads at all, and I'd like those sorted by date (received). Below is the a snip of my bugtraq foler today so you can see what I mean about the dates not being sorted. As you see, the thread looks good, but the other times are out of order. Any ideas? -Mike Arrison 4 May 13 15:05 Ross Coppage(3.0K) ATMSNMPD Vulnerable but no 5 May 13 13:05 Emre Yildirim (1.2K) .. 6 May 13 13:05 Coppage, Ross (2.0K) ATMSNMPD Vulnerable but no 7 s May 13 14:05 security@calder (3.3K) Security Update: 8 O May 14 01:05 BrainRawt . (2.8K) LevCGI.coms NetPad 1.0.2 9 May 14 11:05 3APA3A (1.5K) Re: Fwd: GOBBLES RESPONSE 10 N May 14 12:05 ERRor (3.5K) dH team SECURITY.NNOV: A 11 May 14 15:05 ppp-design (2.7K) NOCC: cross-site-scripting 12 O May 14 09:05 Matthew G. Mars (2.6K) Re: Linux kernel 2.4 weak
Re: sorting
On Tue, May 14, 2002 at 02:03:19PM -0400, darren chamberlain wrote: * Mike Arrison [EMAIL PROTECTED] [2002-05-14 14:00]: Hello again, I'm trying to figure out how sorting is really done in Mutt. I currently have sort=threads. I thought that would sort by threads, and then by date. For example, some of my folder have no threads at all, and I'd like those sorted by date (received). Below is the a snip of my bugtraq foler today so you can see what I mean about the dates not being sorted. As you see, the thread looks good, but the other times are out of order. Any ideas? Do you have sort_aux set to date? Is strict_threads set? sort_aux=date strict_threads is unset -Mike
html mail
Hello, Having come from pine, I'm used to html mail being rendered by lynx or links or something automatically. When I view an html mail in Mutt, it says [-- text/html is unsupported (use 'v' to view this part) --]. Is there something I can do to tell Mutt to render html with lynx or links? Thanks in advance, Mike Arrison
New Messages Flag
Howdy, I'm trying to get a new message flag to display in front of my folder name in the folder index view. So I'm doing the following: set folder_format=%2C %N %8s %d %f Because according to the manual: %N N if folder has new mail, blank otherwise I'm seeing: 10 66442 May 13 08:48 apache_users Unfortunately, I never see an 'N' even though when I enter a folder, it clearly shows new messages (marked with an 'N') like so: 1 N May 12 12:05 XX (0.5K) XX How do I get that 'N' on the folder view to display? Thanks in advance. -Mike Arrison
Re: New Messages Flag
On Mon, May 13, 2002 at 12:35:41PM -0400, Philip Mak wrote: On Mon, May 13, 2002 at 09:59:40AM -0500, David T-G wrote: % I'm trying to get a new message flag to display in front of my % folder name in the folder index view. So I'm doing the following: % %set folder_format=%2C %N %8s %d %f % I'm seeing: % %10 66442 May 13 08:48 apache_users Hmmm... That says to me that your access-time timestamp has been updated by something looking at the folder, be it biff or wnewmail or your shell or even mutt. How about trying a simple test to isolate where the problem is (i.e. is it a set folder_format problem, or is some other process messing with the timestamp): What happens if you remove the set folder_format from your .muttrc and then restart mutt? Will that make the N flag show up correctly? Good thought, but that doesn't seem to be the problem. Upon remove my folder_format line I see the listing as so: 10 -rw--- 1 arrison arrison112989 May 13 12:34 \ apache_users And my mod date is still more recent than my access date. -Mike
Re: New Messages Flag
Tada! We have a winner. In order for a folder to be considered for a 'N' flag, it must be specified in the mailboxes command. That was what I was missing. Thanks a bunch to all. -Mike On Mon, May 13, 2002 at 08:35:20PM +0200, Wojciech Krygier wrote: On Mon, May 13, 2002 at 10:20:04AM -0400, Mike Arrison wrote: Howdy, I'm trying to get a new message flag to display in front of my folder name in the folder index view. So I'm doing the following: set folder_format=%2C %N %8s %d %f Because according to the manual: %N N if folder has new mail, blank otherwise I'm seeing: 10 66442 May 13 08:48 apache_users Unfortunately, I never see an 'N' even though when I enter a folder, it clearly shows new messages (marked with an 'N') like so: 1 N May 12 12:05 XX (0.5K) XX How do I get that 'N' on the folder view to display? Thanks in advance. -Mike Arrison Is that folder specified as a mailbox with 'mailboxes' command ? Wojciech Krygier -- Home is where the computer is plugged in.
deleting messages and default folders
Hello Mutters, My switch from Pine to Mutt is going pretty well so far. I have a few questions that I could use some help with though. - Let's say I delete all messages in a folder by pressing 'd'. Then I go to Undelete them. I can't seem to figure out how to go up to select those deleted messages. The cursor only highlights undeleted messages. I can use 'U' to undelete via a pattern, but I'd rather not have to do that. Am I missing something? - Also, is there a way to have mutt open in a file folder other than your spoolfile? My spoolfile isn't my primary mailbox, and I'd rather have Mutt open my primary by default. Thanks in advance, Mike Arrison
deleting messages and default folders
Hello Mutters, My switch from Pine to Mutt is going pretty well so far. I have a few questions that I could use some help with though. - Let's say I delete all messages in a folder by pressing 'd'. Then I go to Undelete them. I can't seem to figure out how to go up to select those deleted messages. The cursor only highlights undeleted messages. I can use 'U' to undelete via a pattern, but I'd rather not have to do that. Am I missing something? - Also, is there a way to have mutt open in a file folder other than your spoolfile? My spoolfile isn't my primary mailbox, and I'd rather have Mutt open my primary by default. Thanks in advance, Mike Arrison
Re: deleting messages and default folders
On Fri, May 10, 2002 at 04:04:42PM +0200, Jochen Striepe wrote: Hi, please wrap your lines at 72 chars. Thx. I'd very much like to. How would I do that automatically in vi? Is there something like set editor=vim set wrap 72 or something? -Mike
newbie
Howdy, I'm currently using pine, and would like to switch to mutt. The major stumbling block I'm hitting is finding a simple muttrc file to learn from. I've seen the huge ones on mutt.org, but what I'm looking for is a 10 liner or something to get me started. Can anybody point me in the right direction here? -Mike Arrison