Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How does that email script work? Here it is:

https://github.com/mrtazz/bin/blob/master/imap_check.py

This looks for a file at ~/.netrc

What is the format of that file? Google results can't find this being used for email anywhere.



I'm using the netrc account field as an identifier on which I filter account info in the lambda function. More info about fields are here http://linux.die.net/man/5/netrc


Mine looks like:

  machine smtp_server.company.com
          login user.name@company.com
          password supersecret




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: