dmc

dynamic mail client
git clone git://git.suckless.org/dmc
Log | Files | Refs | README | LICENSE

wipmail2.txt (2329B)


      1 
      2 I've managed to build tinymail..but a gobject framework of 16MB size is 
      3 not exactly
      4 minimal, tiny or suckless in any way.
      5 
      6 The repository comes with no commandline or non-gtk dependent example.
      7 
      8 I still think that it is possible to implement a smtp/pop3/imap protocol 
      9 handler in less
     10 than 1000LOC, all protocols are text based and by just defining a few 
     11 functions for
     12 handling timeouts, responses and so on shouldnt be that hard.
     13 
     14 6 years ago I wrote a mail daemon (SMTP) in about 500LOC able to manage 
     15 mbox,
     16 several auth methods and mutliple connections at the same time.
     17 
     18 fetchmail has lot of unnecessary features and lacks many useful 
     19 functionalities.
     20 
     21 msmtp is cool, but I always find it unnecesarily complex for the things 
     22 it has to do. For
     23 example, the network layer if wrapped by a bouncer can permit to keep 
     24 connections
     25 alive, add encription, tunels and many other funny stuff.
     26 
     27 What I'm proposing is a simple setup with wrappers for 
     28 sendmail,msmtp,whatever that
     29 can be exchanged by just changing a hook script.
     30 
     31 About attaching files I have some minimal base64 algorithms, so it 
     32 should be that hard
     33 to make it work in stream like:
     34 
     35   $ cat mail | add-attachments mail.d/* | msmtp mail@to.com
     36 
     37 And the same for extracting the attachments.
     38 
     39 I dont really think this is a loss of time (yeah, you can hate me), but 
     40 I hate to be forced
     41 to use bloatware everywhere.
     42 
     43 I also use tinymail on the n810 because is the one that comes by default 
     44 in the last
     45 firmwares because is just much better than the monolitic approach from 
     46 Nokia, but
     47 having 16MB++ of memory slurped by a mail library on an embedded device 
     48 is imho
     49 not a good thing. But I understand that having dbus to avoid doing 
     50 innecessary stuff
     51 when the device is offline and earn battery is a good thing, but at 
     52 least I would prefer
     53 to have my own minimal stack of mail management.
     54 
     55 
     56 --pancake
     57 
     58 Kurt H Maier wrote:
     59 > Check out tinymail[1].  This guy took a pretty cerebral approach to
     60 > developing his MUA back-end library.  I've used it in the form of
     61 > Modest[2] on my Nokia n810.
     62 >
     63 > Personally, I'd hate to see any more dev hours wasted on garbage like
     64 > imap or pop3.  ssh/rsyncing maildir to form a 'local copy,' then
     65 > 'commiting' changes back seems much saner to me.
     66 >
     67 > [1] - http://tinymail.org/
     68 > [2] - http://modest.garage.maemo.org/
     69 >
     70 >