Speedy Mail (Sending) From Emacs

18 03 2009

I’ve long ago given up resisting Emacs as the most productive working environment for me. But a few things still make it a drag. One is that emacs sends mail in the foreground, holding up my UI while it connects to my server and ships the message out.

The way around this problem is to use a local MTA (Mail Transfer Agent). I’ve done it before with exim (I’ll try to dig up my old config if you ask for it) and for my Mac I’ve just done it again with postfix. I followed this thread (and posted followups about the parts that didn’t work for me as initially prescribed).

Once done, I set message-send-mail-function to ‘message-send-mail-with-sendmail, and was off to the races.

One remaining worry is what happens when the connection to the server fails; is the mail lost, postponed, or what? When I have time to look into that, I’ll post an update here.

The other thing this brings up: what I need to do to make reading from my IMAP server more responsive? That’s another project for another day.

Advertisements

Actions

Information

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




%d bloggers like this: