commit b1ff34d113e989aeab5f2746d7636623fd5af034
Author: Oswald Buddenhagen <[email protected]>
Date:   Sun Aug 11 10:18:37 2013 +0200

    add PassCmd examples for gnome-keyring, pwmd and os x keychain

 src/mbsyncrc.sample |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/mbsyncrc.sample b/src/mbsyncrc.sample
index 0948a35..f642b3f 100644
--- a/src/mbsyncrc.sample
+++ b/src/mbsyncrc.sample
@@ -13,10 +13,19 @@ IMAPStore work
 Host work.host.com
 User tehuser
 Pass xxxxxxxx
+# Fetch password from gnome-keyring:
+#PassCmd "gnome-keyring-query get mail_pw"
 # Fetch password from .netrc:
 #PassCmd "sed -n -e 's,^machine work\.host\.com login tehuser password 
\(.*\),\1,p' < $HOME/.netrc"
 # Fetch password from a gpg-encrypted file:
 #PassCmd "gpg --quiet --for-your-eyes-only --decrypt $HOME/imappassword.gpg"
+# Fetch password from pwmd (http://bjk.sourceforge.net/pwmd/):
+#PassCmd "echo -ne 'GET myIsp\tpassword' | pwmc datafile"
+# On Mac OS X, run "KeyChain Access" -- File->New Password Item. Fill out form 
using
+#  "Keychain Item Name" http://IMAPSERVER  (note: the "http://"; is a hack)
+#  "Account Name" USERNAME
+#  "Password" PASSWORD
+#PassCmd "/usr/bin/security find-internet-password -w -a USERNAME -s 
IMAPSERVER ~/Library/Keychains/login.keychain"
 CertificateFile /etc/ssl/certs/ca-certificates.crt
 
 Channel work

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to