Showing posts with label mutt. Show all posts
Showing posts with label mutt. Show all posts

Tuesday, February 5

Using your tools to focus

Recently I've put up a couple posts talking about refocusing on Getting things Done and making sure you are working as efficiently as you can in life.  I've focused on vim, mutt, and Mail.app.  

But what about the other apps?  Outlook being the primary one?  Basically my point in the posts was to get you thinking about what tools you use and what tools can make you more efficient in your life.  Are you using those tools to their fullest potential?  Are you using your to-do system in Outlook?  With yourself?  Are you using it with other people?  How about the calendar?  The Journal feature?  The Note system?  Are you using those?

How do you use your tools.  Can you use them better.  That's what I want to inspire you to think about.  Now, some of you will go, and you will say "hey, Joel has a thought here, let me try and use the to-do's"  But how many of you will reform the way you work around it?  

I challenge you to do so.

The other part of this post is a question for my readers.  Thunderbird.  By show of hands, how many of you use Thunderbird?  Probably alot of you judging by the statistics on my web page hits. (mostly firefox.)  Now, out of those people, how many of you use any GTD plugins for Thunderbird?  Care to share what they are?

 Subscribe in a reader

Friday, February 1

Mail.app in Leopard, GTD, and how I made things a bit more efficient.

I was using (and still do) use Mutt to read my email when I am remote and don't have access to a descent connection.  (Which seems to happen alot to me lately for some reason).  So what I do is ssh back home and run mutt in screen.  Great.  Works fine.  You also may remember from a previous post about how I keep my Next Actions list in Vim on a separate screen.

Welp, I found out two things:
1)  Mutt doesn't render images well, (read: at all) and it's a bit difficult to automate the opening of things via mailcap if you are remote.  Therefore, what good does it do me?  Well the advantage of mutt was the ability to use macros to automatically file things at a push of a button.  Mail.app doesn't have this functionality by default.  Then I watched Merlin Mann's presentation that I have posted on the blog as well, and he turned me onto a program called "Mail Act-On", a free plugin for Mail.app.

Essentially this program allows you to create "macros" for filing your email (or for doing ANYTHING to it, coloring it red, filing it in a folder, flagging it, whatever).  So, I said "hey, let's take a look at how we are doing things here".  Can we make this even more efficient, and better looking.  

I have been using Mail.app since I first started using a Mac and I love it.  It's a simple easy to use Mail client that did what I wanted it to do.  Just in Leopard, it got alot better.  The ability to have Notes and To-Do's, with the ability for To-Do's to sync with iCal was it for me.

So, I got rid of both Mutt (i'll still use it for the above purposes, like I said, but for everyday use, I am going to Mail.app) and my vim outliner next-action items list.

So what did I do?  Well, I created a Note in Notes for every context I have "@home", "@work", "@waiting", "@someday" you get the picture.  In each of these Notes in their appropriate context's I put my Projects.   But this time instead of indenting and using my "--", "?-" system, I just type what I need to do, highlight it, and click on "To-Do".  It makes a nice To-Do and I can set priorities, due dates, even drag these ToDo's into iCal for a specific date and time.

Seemless, much easier and less to maintain.  That's what it should be about.  Don't let your GTD solution run you, you need to be running it.

Bonus feature?  If an email comes in that needs a Todo created out of it, I highlight the text, click To-do, and it's in my system for tracking.  Very nice.

I did ask Apple for two things though their bug system tho.  The ability to Nest To-Do's, and the ability to sync Notes and To-Do's with my iPhone.

Now, alot of people ask me (I get alot of emails about my posts, I think people are afraid of using the comment system.  Which is fine, either way you want to do it, of course I encourage you to use the comment system so that everyone may benefit from your thoughts as well.  Plus it's a great place to put the URL of your blog) how I take my To-Do's with me.  Well, if I am going to the store, and I want the shopping list to go with me, I'll send an email to myself and let it sit in the inbox.  That way I just check my email on my iPhone and there's my list.  

This will all be fixed when Apple implements all the feature requests I have asked for. 
1. To-Do Syncing with Leopard and the iPhone 
2. Notes syncing with Leopard and the iPhone
3. To-Do, Contacts, and Calendar syncing with .Mac
4. Notes Syncing with Stickies (the other notes app in OSX)
5.  The ability to nest to-do's.  (arrange To-Do's by a project)

Hopefully Apple takes some ideas to heart and implements them.  However it won't be good until you can sync all that stuff OTA.  Wirelessly.  Even via Bluetooth would be awesome.  That way I don't have to find a cable, plug it in, yuck.  

I don't want to sync my songs that way, just my contacts, calendars, notes, and todo's!  It would take forever to sync songs and videos.  I don't care.  I just want the ability to be in my office (and my iPhone, which sits in the kitchen), and my wife and I are getting ready to walk out the door, and I can fire up iSync, click Sync, my iPhone syncs with my laptop, and I grab the thing and walk out the door.


 Subscribe in a reader

Mail.app in Leopard, GTD, and how I made things a bit more efficient.

I was using (and still do) use Mutt to read my email when I am remote and don't have access to a descent connection.  (Which seems to happen alot to me lately for some reason).  So what I do is ssh back home and run mutt in screen.  Great.  Works fine.  You also may remember from a previous post about how I keep my Next Actions list in Vim on a separate screen.

Welp, I found out two things:
1)  Mutt doesn't render images well, (read: at all) and it's a bit difficult to automate the opening of things via mailcap if you are remote.  Therefore, what good does it do me?  Well the advantage of mutt was the ability to use macros to automatically file things at a push of a button.  Mail.app doesn't have this functionality by default.  Then I watched Merlin Mann's presentation that I have posted on the blog as well, and he turned me onto a program called "Mail Act-On", a free plugin for Mail.app.

Essentially this program allows you to create "macros" for filing your email (or for doing ANYTHING to it, coloring it red, filing it in a folder, flagging it, whatever).  So, I said "hey, let's take a look at how we are doing things here".  Can we make this even more efficient, and better looking.  

I have been using Mail.app since I first started using a Mac and I love it.  It's a simple easy to use Mail client that did what I wanted it to do.  Just in Leopard, it got alot better.  The ability to have Notes and To-Do's, with the ability for To-Do's to sync with iCal was it for me.

So, I got rid of both Mutt (i'll still use it for the above purposes, like I said, but for everyday use, I am going to Mail.app) and my vim outliner next-action items list.

So what did I do?  Well, I created a Note in Notes for every context I have "@home", "@work", "@waiting", "@someday" you get the picture.  In each of these Notes in their appropriate context's I put my Projects.   But this time instead of indenting and using my "--", "?-" system, I just type what I need to do, highlight it, and click on "To-Do".  It makes a nice To-Do and I can set priorities, due dates, even drag these ToDo's into iCal for a specific date and time.

Seemless, much easier and less to maintain.  That's what it should be about.  Don't let your GTD solution run you, you need to be running it.

Bonus feature?  If an email comes in that needs a Todo created out of it, I highlight the text, click To-do, and it's in my system for tracking.  Very nice.

I did ask Apple for two things though their bug system tho.  The ability to Nest To-Do's, and the ability to sync Notes and To-Do's with my iPhone.

Now, alot of people ask me (I get alot of emails about my posts, I think people are afraid of using the comment system.  Which is fine, either way you want to do it, of course I encourage you to use the comment system so that everyone may benefit from your thoughts as well.  Plus it's a great place to put the URL of your blog) how I take my To-Do's with me.  Well, if I am going to the store, and I want the shopping list to go with me, I'll send an email to myself and let it sit in the inbox.  That way I just check my email on my iPhone and there's my list.  

This will all be fixed when Apple implements all the feature requests I have asked for. 
1. To-Do Syncing with Leopard and the iPhone 
2. Notes syncing with Leopard and the iPhone
3. To-Do, Contacts, and Calendar syncing with .Mac
4. Notes Syncing with Stickies (the other notes app in OSX)
5.  The ability to nest to-do's.  (arrange To-Do's by a project)

Hopefully Apple takes some ideas to heart and implements them.  However it won't be good until you can sync all that stuff OTA.  Wirelessly.  Even via Bluetooth would be awesome.  That way I don't have to find a cable, plug it in, yuck.  

I don't want to sync my songs that way, just my contacts, calendars, notes, and todo's!  It would take forever to sync songs and videos.  I don't care.  I just want the ability to be in my office (and my iPhone, which sits in the kitchen), and my wife and I are getting ready to walk out the door, and I can fire up iSync, click Sync, my iPhone syncs with my laptop, and I grab the thing and walk out the door.


 Subscribe in a reader

Tuesday, January 29

So, you want RSS feeds in your inbox?

One thing I liked about the new Mail.app in Leopard was the ability to aggregate not only my email, but RSS feeds right into my inbox, so I could just scroll through and read all my feeds in line with my email.

Well, Mutt doesn't do it natively, and I couldn't find a patch in the 10 seconds I was Googling to perform this action.  However, I did find a nice tool called "rss2email".  A program written in python that takes the rss feeds that you give it, reads them, parses them into either plaintext or html, and then sends them to you via whatever smtp server you want.

It works great and I highly recommend it.  All you have to do to automate it is to cron it.  Done.

 Subscribe in a reader

So, you want RSS feeds in your inbox?

One thing I liked about the new Mail.app in Leopard was the ability to aggregate not only my email, but RSS feeds right into my inbox, so I could just scroll through and read all my feeds in line with my email.

Well, Mutt doesn't do it natively, and I couldn't find a patch in the 10 seconds I was Googling to perform this action.  However, I did find a nice tool called "rss2email".  A program written in python that takes the rss feeds that you give it, reads them, parses them into either plaintext or html, and then sends them to you via whatever smtp server you want.

It works great and I highly recommend it.  All you have to do to automate it is to cron it.  Done.

 Subscribe in a reader

Thursday, January 24

Getting Things Done (GTD), Mutt, and Vim

I've Googled about 100 articles in the past couple days detailing how people best use Mutt to implement their theory of how GTD works for them. I found alot of good articles, but many implemented alot of scripts and extra headers, and tagging... yuck. Way too much!

The point of GTD is to make the world and your email in particular work for you, not you work for it. I don't want to manually have to edit a "X" header everytime I want to tag an email with "Defer" or "Reply". I want to just hit a one or two keystroke combination and be done with it.
The major point of GTD is to navigate through life easier, not have alot of things pending in your mind. Get it out of your mind and get it on paper, (or whatever) and be done with
thinking about it. Just have it in a trusted bucket where you can store stuff.

So I have a different theory. First off let me preface this by saying that I do not keep my To-Do list and "Next Actions" list in Mutt. I use a VIM outline. This is an excellent way for me to keep up on how things are going with my actions simply by looking at them. I know what needs
to be done next, I know what things I am waiting on, all at a glance.  This is how I envisioned it.

My contexts are simple:

@home -- All the tasks that could be done at home, Cleaning the Garage, organizing the basement, getting the taxes together, being an awesome dad. You get the picture.


@work -- All the tasks that could be (should be, have to be) accomplished at work. Doing Timesheets, filing bug reports, answering email, talking with a coworker about a project.


@waiting -- Stuff I am waiting on someone else for. Do I need to ping them? No, but I reguarily review my @waiting list to make sure that people get back to me on items, and if they don't then I make a next action item to ping them back @work or @home.


@someday -- Someday/Maybe. All the things I'd like to accomplish someday. Clean out my Closet, Finish that Snort paper i've been working on.


@review -- Weekly/Daily tasks. This is usually the first thing I check. Things I need to do "today". If I need to do something on a particular day, I'll make an appt in iCal to do it. Nothing goes on the calendar unless it WILL get done that day. The Calendar is sacred territory. Then I make a reminder in iCal to alert me. Things I need to accomplish that are "next action items" in @home or @work, I'll simply say "check @work" in my @review list. Simple.


@phone -- Phone calls I need to make. These can be done anywhere.  Whenever I have a chance to do them, I'll make a couple phone calls.  Things rarely go in there because I basically loathe talking on the phone. I'd rather do everything through IRC, IM, or email. I keep records of stuff this way.

That's it. Under the contexts, if I have a particular project I'll indent it. For example.
@home
Clean Garage
-- Go to Lowe's
-- Buy Shelves
-- Assemble Shelves
-- Make time to clean Garage
-- Clean Garage

Simple enough. When I indent once, it's a project, any indents under the project are next action items. Now, next to the Next action items, I have lines. "--". Let me define my lines.

-- To do.
++ Cancelled.
\- Done
-> Deferred or assigned to someone else
?- Waiting on this.

That's it. No need to get tricky. Now I can easily glance at my list and tell what needs to be done, what has been done, and what I am waiting on.

KISS principle. Keep It Simple Stupid!

Now, for the other part. Email, mutt (or muttng -- which I use) and how I have it implemented.

Before I started the GTD philsophy, I used the folder method. You know the one.. "All email from Sourcefire goes in the Sourcefire folder." "All email from snort-users list goes in the snort-users list folder." What do you wind up with? A hundred folders! This isn't the most
efficient way to do anything. So I had to get away from that. I started thinking, what is the most efficient way of sorting email? I got a hold of a friend of mine Emory, and asked him what he did (he's a big GTD guy as well), and he gave me a couple thoughts. So I took his ideas, combined them with a couple of my ideas, and here we are.

I made 4 folders.
_Read -- Emails I have read.
_Reply -- Emails I need to reply to, but it will take me over 2 minutes to do so. (GTD's philosophy is, if it takes >2 minutes to do something, you need to alot some time to do it. If it takes <2>

_Waiting -- Emails that I am waiting on someone else to get back to me about the contents on.

_Defer -- Emails that I assigned to someone else but I need to stay in on until completion (things rarely go here).

I have another folder called "lists" that I already had. Under the folder lists I had about 20 subfolders with all the listservers I subscribe to. This.. was too much for easy sorting.

First thing I did was move all the email from all the subfolders under "lists" and put it in "lists". Of course, I wound up with about 13,000 emails in here, but who cares? It's all in context and it will make more sense in a second.
Second thing I did was change all my procmail recipes (or rules) to instead of putting everything in subfolders of "lists", just dump it all in "lists".
Third thing I did was get rid of all the auto-processing rules to sort emails by sender. I had rules in there, if they came from sourcefire.com to put into a folder called sourcefire. If it came from apple.com or mac.com, put it in apple. Too much. Put it all in the inbox. Pretty
simple so far.

The next thing I did, since I am going to have more email coming into my inbox now, is to have a way to easily process it. I wanted to be able to read an email, mark it, and know exactly where it is. "Hey that email from Billy-bob, is it in sourcefire? is it in snort-users? In defer? Where
the hell did I put that". Spotlight on the mac makes this very nice, however, I am using mutt. So I needed a better way. Finally I came up with my answer. Macros. I wanted to be able to mash a key or two and have my email sort automatically after I get done reading it. So I made
some muttng macros.
macro index,pager \1 "=_Read" "Save Message to _Read"
macro index,pager \
2 "=_Reply" "Save Message to _reply"
macro index,pager \
3 "=_Waiting" "Save Message to _waiting"
macro index,pager \
4 "=_Defer" "Save Message to _defer"
macro index,pager \
5 "=lists" "Save Message to Lists"
macro index,pager \
6 "=spam" "Move Message to spam"

Now, when I mash "esc 1" the email is copied to _Read and marked for deletion in Inbox. No selecting the folder, no hitting "yes" no hitting enter. I just mash Esc-1. Done.
Same thing with 2, 3, 4, 5, and 6. I don't have to change headers or anything. They are sorted by folder, and I don't have to worry about it. I use the sidebar patch (built into muttng) to see how many emails I have in each folder at a glance. If you use mutt and you don't use the
sidebar, I suggest a look. Very handy.

That's it. In my sidebar I have 6 folders. Now my workflow is simple.

Email comes in, do I need to respond, or assign it to someone else? Yes or No?   If yes, will the response take longer than two minutes. If Yes, file to _Reply, if No, respond. If I do not need to respond file to _Read. If I need to assign it to someone else, forward it. If I need to
track it, the email goes to _defer until tracking is done, then it goes to _read.

All listserv traffic goes to lists. I check this a couple times a day just to skim through.

The spam folder is for spam (duh). And I get ALOT of spam. Fortunately for me, I have built some really bullet-proof spam rules in procmail and they do 95% of the sorting for me. However. Everyone once in awhile, a real email will get sent to spam (empty subjects, people who write in all caps, people who send me subjects with all Caps, or a whole bunch of
!!!!!).

The only other folder that is automatically filed is a folder called "big". All emails that have attachments that are over 3 mb/s in size go to this folder. This rarely happens and 100% of the time people will ask me "Hey I just sent you an email with a bunch of pictures in it, did you get it?"  I'll go check big. Done.

I think this system will work for me. Let me know if any of it works out for you.

Subscribe in a reader

Getting Things Done (GTD), Mutt, and Vim

I've Googled about 100 articles in the past couple days detailing how people best use Mutt to implement their theory of how GTD works for them. I found alot of good articles, but many implemented alot of scripts and extra headers, and tagging... yuck. Way too much!


The point of GTD is to make the world and your email in particular work for you, not you work for it. I don't want to manually have to edit a "X" header everytime I want to tag an email with "Defer" or "Reply". I want to just hit a one or two keystroke combination and be done with it.
The major point of GTD is to navigate through life easier, not have alot of things pending in your mind. Get it out of your mind and get it on paper, (or whatever) and be done with thinking about it. Just have it in a trusted bucket where you can store stuff.

So I have a different theory. First off let me preface this by saying that I do not keep my To-Do list and "Next Actions" list in Mutt. I use a VIM outline. This is an excellent way for me to keep up on how things are going with my actions simply by looking at them. I know what needs
to be done next, I know what things I am waiting on, all at a glance.  This is how I envisioned it.

My contexts are simple:

@home -- All the tasks that could be done at home, Cleaning the Garage, organizing the basement, getting the taxes together, being an awesome dad. You get the picture.

@work -- All the tasks that could be (should be, have to be) accomplished at work. Doing Timesheets, filing bug reports, answering email, talking with a coworker about a project.

@waiting -- Stuff I am waiting on someone else for. Do I need to ping them? No, but I reguarily review my @waiting list to make sure that people get back to me on items, and if they don't then I make a next action item to ping them back @work or @home.

@someday -- Someday/Maybe. All the things I'd like to accomplish someday. Clean out my Closet, Finish that Snort paper i've been working on.

@review -- Weekly/Daily tasks. This is usually the first thing I check. Things I need to do "today". If I need to do something on a particular day, I'll make an appt in iCal to do it. Nothing goes on the calendar unless it WILL get done that day. The Calendar is sacred territory. Then I make a reminder in iCal to alert me. Things I need to accomplish that are "next action items" in @home or @work, I'll simply say "check @work" in my @review list. Simple.

@phone -- Phone calls I need to make. These can be done anywhere.  Whenever I have a chance to do them, I'll make a couple phone calls.  Things rarely go in there because I basically loathe talking on the phone. I'd rather do everything through IRC, IM, or email. I keep records of stuff this way.

That's it. Under the contexts, if I have a particular project I'll indent it. For example.
@home
Clean Garage
-- Go to Lowe's
-- Buy Shelves
-- Assemble Shelves
-- Make time to clean Garage
-- Clean Garage

Simple enough. When I indent once, it's a project, any indents under the project are next action items. Now, next to the Next action items, I have lines. "--". Let me define my lines.

-- To do.
++ Cancelled.
\- Done
-> Deferred or assigned to someone else
?- Waiting on this.

That's it. No need to get tricky. Now I can easily glance at my list and tell what needs to be done, what has been done, and what I am waiting on.

KISS principle. Keep It Simple Stupid!

Now, for the other part. Email, mutt (or muttng -- which I use) and how I have it implemented.

Before I started the GTD philsophy, I used the folder method. You know the one.. "All email from Sourcefire goes in the Sourcefire folder." "All email from snort-users list goes in the snort-users list folder." What do you wind up with? A hundred folders! This isn't the most
efficient way to do anything. So I had to get away from that. I started thinking, what is the most efficient way of sorting email? I got a hold of a friend of mine Emory, and asked him what he did (he's a big GTD guy as well), and he gave me a couple thoughts. So I took his ideas, combined them with a couple of my ideas, and here we are.

I made 3 folders.
Archive -- Emails I have read.
Listservs -- Emails from Listservers, I don't read these as often and all the listserv traffic is put into this folder on the server.

Waiting -- Emails that I am waiting on someone else to get back to me about the contents on.

First thing I did was move all the email from all the lists under "listservs". Of course, I wound up with about 13,000 emails in here, but who cares? It's all in context and it will make more sense in a second.

Second thing I did was change all my procmail recipes (or rules) to instead of putting everything in subfolders of "lists", just dump it all in "listservs".
Third thing I did was get rid of all the auto-processing rules to sort emails by sender. I had rules in there, if they came from sourcefire.com to put into a folder called sourcefire. If it came from apple.com or mac.com, put it in apple. Too much. Put it all in the inbox. Pretty
simple so far.

The next thing I did, since I am going to have more email coming into my inbox now, is to have a way to easily process it. I wanted to be able to read an email, mark it, and know exactly where it is. "Hey that email from Billy-bob, is it in sourcefire? is it in snort-users? In defer? Where the hell did I put that". Spotlight on the mac makes this very nice, however, I am using mutt. So I needed a better way. Finally I came up with my answer. Macros. I wanted to be able to mash a key or two and have my email sort automatically after I get done reading it. So I made some muttng macros.
macro index,pager \e1 "<copy-message>=Archive\ny<delete-message>" "Save Message to Archive"
macro index,pager \e
2 "<copy-message>=Listservs\ny<delete-message>" "Save Message to Listservs"
macro index,pager \e
3 "<copy-message>=Waiting\ny<delete-message>" "Save Message to Waiting"


Now, when I mash "esc 1" the email is copied to Archive and marked for deletion in Inbox. No selecting the folder, no hitting "yes" no hitting enter. I just mash Esc-1. Done.

Same thing with 2, 3, 4, 5, and 6. I don't have to change headers or anything. They are sorted by folder, and I don't have to worry about it. I use the sidebar patch (built into muttng) to see how many emails I have in each folder at a glance. If you use mutt and you don't use the
sidebar, I suggest a look. Very handy.

That's it. In my sidebar I have 6 folders. Now my workflow is simple.

Email comes in, do I need to respond, or assign it to someone else? Yes or No?   If yes, will the response take longer than two minutes. If Yes, file to Archive, if No, respond. If I do not need to respond file to Archive. If I need to assign it to someone else, forward it. If I need to
track it, the email goes to Archive and I create a todo in Omnifocus to track it until tracking is done, then it goes to Archive.

All listserv traffic goes to listservs. I check this a couple times a day just to skim through.

The spam folder is for spam (duh). And I get ALOT of spam. Fortunately for me, I have built some really bullet-proof spam rules in procmail and they do 95% of the sorting for me. However. Everyone once in awhile, a real email will get sent to spam (empty subjects, people who write in all caps, people who send me subjects with all Caps, or a whole bunch of "!!!!!").

I think this system will work for me. Let me know if any of it works out for you.

Subscribe in a reader

Sunday, January 6

Procmail rule for the Storm Worm

Check this out

:0
* ^Subject:.*((A fresh|As the|It\'s the|Blasting|As you embrace another|Joyous|Happy 2008|Happy|Lots of greetings on the)(((n|N)ew)((y|Y)ear))|New Hope and New Beginnings|(Ecard|Postcard|wishes for You))
{
:0 B
* ^http.*((((happy|familypost|fresh|newyear|post(\-)?|parents|santap)cards)|hellosanta|hohoho|santawishes)(2008)?)|(you|u)havepostcard|merrychristmasdude|worldlcasino|happy2008toyou|winbnow)
${MAILDIR}/.spam/tmp $MAILDIR/.spam/new
}

I started going through all the Storm worm emails that I've been getting, took all the domains, and made a procmail rule out of them.  Now, it's quite a big list with lots of 'or' statements.  I haven't sped it up or optimized it any, so we'll see how it works.  If you have suggestions for making it faster, please feel free to get back to me.   Hopefully this helps you out a bit.  Or, if you have made some rules, please submit them back here.


Subscribe in a reader

Procmail rule for the Storm Worm

Check this out

:0
* ^Subject:.*((A fresh|As the|It\'s the|Blasting|As you embrace another|Joyous|Happy 2008|Happy|Lots of greetings on the)(((n|N)ew)((y|Y)ear))|New Hope and New Beginnings|(Ecard|Postcard|wishes for You))
{
:0 B
* ^http.*((((happy|familypost|fresh|newyear|post(\-)?|parents|santap)cards)|hellosanta|hohoho|santawishes)(2008)?)|(you|u)havepostcard|merrychristmasdude|worldlcasino|happy2008toyou|winbnow)
${MAILDIR}/.spam/tmp $MAILDIR/.spam/new
}

I started going through all the Storm worm emails that I've been getting, took all the domains, and made a procmail rule out of them.  Now, it's quite a big list with lots of 'or' statements.  I haven't sped it up or optimized it any, so we'll see how it works.  If you have suggestions for making it faster, please feel free to get back to me.   Hopefully this helps you out a bit.  Or, if you have made some rules, please submit them back here.


Subscribe in a reader

Friday, January 4

Getting Muttng to work on OSX

Okay, I've been meaning to do this for awhile, but I keep forgetting to do it.  So here goes, a step by step guide on getting muttng to work on OSX.  Leopard, btw.  I can't help you with Tiger anymore.

For my purposes, I am going to enable header cacheing (handy, so muttng doesn't have to do a lookup of every email header on the server).  I am going to use IMAP.  I am going to make muttng able to query OSX's Address Book (VERY HANDY), and we are going to use msmtp for the smtp agent.

1.  Go download mutt-ng, grab the latest snapshot.  You can either wget it, or just click on the package you want.  It's only about 2.6 Mb. http://nion.modprobe.de/mutt-ng/snapshots/ 
2.  If you don't have Xcode installed on your machine, (which you don't really need, but you DO need gcc, and since that comes with the Xcode developer package...) go get it.  http://developer.apple.com  You will need an Apple Developer login, which, is free.  Download that, and install it.  It's 1.16Gb, so it's not a download for dialup or your cell card. (Unless you have a lot of time)
3.  Go get msmtp, our smtp agent (you can use whatever you want, but I am not going to help you.  I am using msmtp, if you don't like it... get over it.)  http://sourceforge.net/project/showfiles.php?group_id=86651
4. I am going to make a directory in my "~" path named Software.  So..
~$ mkdir Software
~$ cd Software
Software$ mv ~/Downloads/mutt* msmtp* .
5.  Let's set-up msmtp first.
Software$ bzip2 -d msmtp-1.4.13.tar.bz2
Software$ tar xvf msmtp-1.4.13.tar
Software$ cd msmtp-1.4.13/
msmtp-1.4.13$ ./configure --with-ssl=openssl
msmtp-1.4.13$ make
msmtp-1.4.13$ sudo make install
Password:
Done.
6. Go get lbdb.  http://www.spinnaker.de/lbdb  We are going to use this for our Address Book queries.  Let's move that into our Software directory as well.
~$ cd Software
Software$ mv ~/Downloads/lbdb* .
Software$ tar xvf lbdb_0.35.1.tar
Software$ cd lbdb-0.35.1/
lbdb-0.36.1$ ./configure
lbdb-0.36.1$ make
lbdb-0.36.1$ sudo make install
Password:
Done.
7. Go get gdbm.  We are going to need this for the header caching in muttng.  http://mirrors.kernel.org/gnu/gdbm/
$cd ~/Software
Software$ mv ~/Downloads/gdbm* .
Software$ tar xvf gdbm-1.8.3.tar
Software$ cd gdbm-1.8.3/
gdbm-1.8.3$ ./configure
gdbm-1.8.3$ make
gdbm-1.8.3$ sudo make install
Now, gdbm will ERROR on you.  It'll say something like:
install: bin: Invalid argument
Do not be alarmed.  Follow the below steps.  Btw -- if you don't know your way around vi, don't even attempt this, because I am not going to help you.
gdbm-1.8.3$ vi +134 Makefile
vi will open and you will be on line 134.  On this line you should see something like:
"$(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP)"
You need to delete "-o $(BINOWN) -g $(BINGRP)" from this line
and line 136
and line 138.
Save and quit this file. (:wq)
Now, we are back at the prompt.
gdbm-1.8.3$ sudo make install
Password:
Everything should now be installed correctly.  You have to do that because OSX doesn't have a user or a group named bin.  By removing that, you just give the permissions to root.  So, use at your own risk.
8.  Now for muttng.  Let's go..
$ cd ~/Software
Software$ tar xvf muttng-20061125.tar
Software$ cd muttng-20061125/
muttng-20061125$ ./configure --enable-hcache --enable-imap --with-ssl
muttng-20061125$ make
muttng-20061125$ sudo make install
Password:

There, now you have muttng installed with the all the features I listed above.  It's just up to you now to get it all working.

I'll give you a couple hints.

#1)  How to make muttng query your OSX Address Book.
Software$ cd /usr/local/etc
etc$ sudo vi +43 lbdb.rc
Change this line from METHODS="m_inmail m_passwd m_finger" to METHODS="m_muttalias m_osx_addressbook"
Save and quit vi (:wq)
Now, when  you create your .muttngrc file in your "~" directory, your query line should read:
"set query_command="/usr/local/lbdb/bin/lbdbq '%s'"
Then when you are trying to search for a name, say when you writing an email, and you type "John" into your "To:" line in muttng.  Mash Ctrl-T, and it will give you a display of all the "john"'s in your addressbook, and you can pick the one you want.

I'll post some futher hints later about elinks and what not.  Hope this helps you!

UPDATE:  An excellent resource to getting mutt on OSX.  http://linsec.ca/Using_mutt_on_OS_X


Subscribe in a reader

Getting Muttng to work on OSX

Okay, I've been meaning to do this for awhile, but I keep forgetting to do it.  So here goes, a step by step guide on getting muttng to work on OSX.  Leopard, btw.  I can't help you with Tiger anymore.

For my purposes, I am going to enable header cacheing (handy, so muttng doesn't have to do a lookup of every email header on the server).  I am going to use IMAP.  I am going to make muttng able to query OSX's Address Book (VERY HANDY), and we are going to use msmtp for the smtp agent.

1.  Go download mutt-ng, grab the latest snapshot.  You can either wget it, or just click on the package you want.  It's only about 2.6 Mb. http://nion.modprobe.de/mutt-ng/snapshots/ 
2.  If you don't have Xcode installed on your machine, (which you don't really need, but you DO need gcc, and since that comes with the Xcode developer package...) go get it.  http://developer.apple.com  You will need an Apple Developer login, which, is free.  Download that, and install it.  It's 1.16Gb, so it's not a download for dialup or your cell card. (Unless you have a lot of time)
3.  Go get msmtp, our smtp agent (you can use whatever you want, but I am not going to help you.  I am using msmtp, if you don't like it... get over it.)  http://sourceforge.net/project/showfiles.php?group_id=86651
4. I am going to make a directory in my "~" path named Software.  So..
~$ mkdir Software
~$ cd Software
Software$ mv ~/Downloads/mutt* msmtp* .
5.  Let's set-up msmtp first.
Software$ bzip2 -d msmtp-1.4.13.tar.bz2
Software$ tar xvf msmtp-1.4.13.tar
Software$ cd msmtp-1.4.13/
msmtp-1.4.13$ ./configure --with-ssl=openssl
msmtp-1.4.13$ make
msmtp-1.4.13$ sudo make install
Password:
Done.
6. Go get lbdb.  http://www.spinnaker.de/lbdb  We are going to use this for our Address Book queries.  Let's move that into our Software directory as well.
~$ cd Software
Software$ mv ~/Downloads/lbdb* .
Software$ tar xvf lbdb_0.35.1.tar
Software$ cd lbdb-0.35.1/
lbdb-0.36.1$ ./configure
lbdb-0.36.1$ make
lbdb-0.36.1$ sudo make install
Password:
Done.
7. Go get gdbm.  We are going to need this for the header caching in muttng.  http://mirrors.kernel.org/gnu/gdbm/
$cd ~/Software
Software$ mv ~/Downloads/gdbm* .
Software$ tar xvf gdbm-1.8.3.tar
Software$ cd gdbm-1.8.3/
gdbm-1.8.3$ ./configure
gdbm-1.8.3$ make
gdbm-1.8.3$ sudo make install
Now, gdbm will ERROR on you.  It'll say something like:
install: bin: Invalid argument
Do not be alarmed.  Follow the below steps.  Btw -- if you don't know your way around vi, don't even attempt this, because I am not going to help you.
gdbm-1.8.3$ vi +134 Makefile
vi will open and you will be on line 134.  On this line you should see something like:
"$(INSTALL_DATA) -o $(BINOWN) -g $(BINGRP)"
You need to delete "-o $(BINOWN) -g $(BINGRP)" from this line
and line 136
and line 138.
Save and quit this file. (:wq)
Now, we are back at the prompt.
gdbm-1.8.3$ sudo make install
Password:
Everything should now be installed correctly.  You have to do that because OSX doesn't have a user or a group named bin.  By removing that, you just give the permissions to root.  So, use at your own risk.
8.  Now for muttng.  Let's go..
$ cd ~/Software
Software$ tar xvf muttng-20061125.tar
Software$ cd muttng-20061125/
muttng-20061125$ ./configure --enable-hcache --enable-imap --with-ssl
muttng-20061125$ make
muttng-20061125$ sudo make install
Password:

There, now you have muttng installed with the all the features I listed above.  It's just up to you now to get it all working.

I'll give you a couple hints.

#1)  How to make muttng query your OSX Address Book.
Software$ cd /usr/local/etc
etc$ sudo vi +43 lbdb.rc
Change this line from METHODS="m_inmail m_passwd m_finger" to METHODS="m_muttalias m_osx_addressbook"
Save and quit vi (:wq)
Now, when  you create your .muttngrc file in your "~" directory, your query line should read:
"set query_command="/usr/local/lbdb/bin/lbdbq '%s'"
Then when you are trying to search for a name, say when you writing an email, and you type "John" into your "To:" line in muttng.  Mash Ctrl-T, and it will give you a display of all the "john"'s in your addressbook, and you can pick the one you want.

I'll post some futher hints later about elinks and what not.  Hope this helps you!

UPDATE:  An excellent resource to getting mutt on OSX.  http://linsec.ca/Using_mutt_on_OS_X


Subscribe in a reader

Tuesday, November 28

Okay New rule

Okay, New (old) rule.

When responding to a post on a mailing list, and you want to start a new thread, don't reply to someone else's thread and change the subject. Make a new email.

It messes up my threading in mutt and Mail.

Okay New rule

Okay, New (old) rule.

When responding to a post on a mailing list, and you want to start a new thread, don't reply to someone else's thread and change the subject. Make a new email.

It messes up my threading in mutt and Mail.

Tuesday, August 1

(mutt|muttng)

Lets just give this a shot people, okay?

If you are using a *nix based client, (or even cygwin), give (mutt|muttng) a shot would you? I have been using muttng for about two months now, recently tried to use Apple's Mail.app again, and it irritated me. Muttng is SO much better.

Give it a shot. Just for a month. You'll be hooked.

It takes a bit to set it up, (i'm not going to lie), but it is SO worth it.

(mutt|muttng)

Lets just give this a shot people, okay?

If you are using a *nix based client, (or even cygwin), give (mutt|muttng) a shot would you? I have been using muttng for about two months now, recently tried to use Apple's Mail.app again, and it irritated me. Muttng is SO much better.

Give it a shot. Just for a month. You'll be hooked.

It takes a bit to set it up, (i'm not going to lie), but it is SO worth it.

Thursday, June 29

How to install Mutt-ng on OSX

First. Go download Mutt-ng. I'm not going to help you with that.

after you download muttng, tar zxvf
cd

./autogen.sh

Next you wanna see the options you need to configure the box with... so type:
./configure --help

This will show you all the config options, now, I had to compile mine with imap support and with ssl support so I used...

./configure --with-imap --with-ssl --enable-hcache

After that gets done: make install

It will installl the Muttngrc file in /usr/local/etc

Go there and edit that to your config. If you need help doing that, go to the mutt-ng website and download the pdf, read.

kthnkx.

How to install Mutt-ng on OSX

First. Go download Mutt-ng. I'm not going to help you with that.

after you download muttng, tar zxvf
cd

./autogen.sh

Next you wanna see the options you need to configure the box with... so type:
./configure --help

This will show you all the config options, now, I had to compile mine with imap support and with ssl support so I used...

./configure --with-imap --with-ssl --enable-hcache

After that gets done: make install

It will installl the Muttngrc file in /usr/local/etc

Go there and edit that to your config. If you need help doing that, go to the mutt-ng website and download the pdf, read.

kthnkx.