Hi,
I would like to check my mail messages one or two times a day. I was thinking about writing shell script & cron to do this, but maybe somebody have written software for this and I will be reinventing the wheel.
I would like to not constantly be online, because this distracts.

For retrieval I use fetchmail. I'm not particularly attached to it, but can get it to do what I need. What I find most frustrating about it is the documentation, especially concerning ssl, tls and so on.

I store mail in an mbox, which probably makes me hopelessly stuck in the past. I often find it difficult to change, and also try to avoid getting too much email which perhaps makes it workable.

I am the most interested in retrieval part.
Do you use any MDA/local delivery agent for some form of sorting, filtering etc? For example I would like to download only attachments from one of my mailbox and only emails without attachments from another.
Example with getmail I have found:

Code:

[destination]
type = MDA_external
path = /usr/bin/procmail

and for fetchmail:

Code:

mda "/usr/bin/procmail -f %F -d %T";

For TLS I am going to use relayd's relay and I even have it working, but without verification of certificates. I am going to investigate this further, but suggest not focus on this in this thread.

Yes, I do also use procmail. One thing I get it to do is beep when an email comes in.

You might also want to take a quick look at this thread. One thing mentioned there is nmh. I seem to recall some of the folks here discussing doing interesting things with nmh on another thread, which I can't find using the search feature.