LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Blogs > Unpopular Positions: One Geek's Take
User Name
Password

Notices

A space to ponder, discuss, speculate, disagree, and learn.

Expected topics include:
  • Technology
  • Politics
  • Defense
  • Philosophy
  • Humanism and Transhumanism
  • The Future
Rate this Entry

Headcrab, and $NEWJOB

Posted 06-12-2013 at 11:38 PM by ttk

I haven't had time or energy to do much lately, because I started a new job. The first week or so will keep me tired and relatively inactive on my personal projects.

On the other hand, I may be allocating some hours to Headcrab development. Mutt is having a hell of a time with my new employer's IMAPS server. It keeps getting TLS packets with "wrong length" and falling into a craptastic state, requiring me to periodically quit mutt and restart it.

I could try to debug the problem, but if I'm going to spend cycles futzing over a mail client, I'd rather it be Headcrab. I really enjoyed its predecessor (before I lost the code in 2008). Lynx just makes for a better user interface than mutt.

To recap, Headcrab consists of two parts: On the front side, a set of lynxcgi perl scripts (which interact with the lynx web browser as if they were server-side cgi, but without a server) implement a user interface. On the back side, a perl script will poll the IMAPS server with isync, pull header data and attachments out of the isync-fetched messages, and put the attachments, message data, and metadata into position for the front-end to browse.

There shouldn't be that much to it, since lynx and isync will do the heavy lifting, I'll probably just wrap mutt for sending messages via ESMTP (at least for now), and CPAN modules already exist for parsing email messages and extracting MIME-encoded attachments. I just need to write some code to spit out some HTML and put everything in the right files and directories. A piece of cake, right? Right! Except I've been meaning to do it for a few years now, and never got around to it!

Well, now that I have a pressing need, maybe I can knock it out quick. We'll see.
Posted in Technology
Views 320 Comments 2
« Prev     Main     Next »
Total Comments 2

Comments

  1. Old Comment
    Congratulations on a new job.
    Posted 06-13-2013 at 09:02 AM by vmccord vmccord is offline
  2. Old Comment
    :-) Thank you!
    Posted 06-14-2013 at 01:12 AM by ttk ttk is offline
 

  



All times are GMT -5. The time now is 07:02 PM.

Main Menu
Advertisement

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration