Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I avoid putting my e-mail password in plain text in my .fetchmailrc file? My file looks like this:

poll pop.XXX.com with proto POP3
user 'abc' with password 'PASSWORD' there is foobar here 
mda "/usr/bin/procmail -d %T" 
options
no keep
ssl

I learned this from http://www.andrews-corner.org/mutt.html but it saves my password in plain text, which I'd like to avoid.

share|improve this question

Store the .fetchmailrc in an encrypted filesystem (possibly ecryptfs or encfs) and symlink it to ~/.


If you don't want to move the entire fetchmailrc file, you can create a ~/.netrc with the password:

machine pop.XXX.com
    login abc
    password "Password"
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.