Many fetchmail tutorials I've read say putting your email account password clear-text in a config file is safe. However, I prefer security through layers [silly example: if my terminal is up and someone suspecting such email foolery slides over and simply types "grep -i pass ~/.*" then, oops, all my base are belong to them! especially if my email provider uses openid (or I'm dumb enough to use the same password for my bank)].
Now, with msmtp (as opposed to sendmail) I can authenticate using the OSX keychain. Is there a free/open-source email 'grabber' that lets me use Keychains (specifically the OSX keychain) or at least, that lets me MD5 the password?
This is a duplicate of my question on serverfault. I've put it on superuser because I'm doing this on a personal computer (viz. with OSX) so it's a superuser question too.