diff options
Diffstat (limited to 'doc/misc/auth.texi')
| -rw-r--r-- | doc/misc/auth.texi | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/misc/auth.texi b/doc/misc/auth.texi index 44fcad8d493..7c0254a9a3a 100644 --- a/doc/misc/auth.texi +++ b/doc/misc/auth.texi | |||
| @@ -59,6 +59,7 @@ It is a way for multiple applications to share a single configuration | |||
| 59 | @menu | 59 | @menu |
| 60 | * Overview:: Overview of the auth-source library. | 60 | * Overview:: Overview of the auth-source library. |
| 61 | * Help for users:: | 61 | * Help for users:: |
| 62 | * Multiple GMail accounts with Gnus:: | ||
| 62 | * Secret Service API:: | 63 | * Secret Service API:: |
| 63 | * Help for developers:: | 64 | * Help for developers:: |
| 64 | * GnuPG and EasyPG Assistant Configuration:: | 65 | * GnuPG and EasyPG Assistant Configuration:: |
| @@ -229,6 +230,27 @@ don't use a port entry, you match any Tramp method, as explained | |||
| 229 | earlier. Since Tramp has about 88 connection methods, this may be | 230 | earlier. Since Tramp has about 88 connection methods, this may be |
| 230 | necessary if you have an unusual (see earlier comment on those) setup. | 231 | necessary if you have an unusual (see earlier comment on those) setup. |
| 231 | 232 | ||
| 233 | @node Multiple GMail accounts with Gnus | ||
| 234 | @chapter Multiple GMail accounts with Gnus | ||
| 235 | |||
| 236 | For multiple GMail accounts with Gnus, you have to make two nnimap | ||
| 237 | entries in your @code{gnus-secondary-select-methods} with distinct | ||
| 238 | names: | ||
| 239 | |||
| 240 | @example | ||
| 241 | (setq gnus-secondary-select-methods '((nnimap "gmail" | ||
| 242 | (nnimap-address "imap.gmail.com")) | ||
| 243 | (nnimap "gmail2" | ||
| 244 | (nnimap-address "imap.gmail.com")))) | ||
| 245 | @end example | ||
| 246 | |||
| 247 | Your netrc entries will then be: | ||
| 248 | |||
| 249 | @example | ||
| 250 | machine gmail login account@@gmail.com password "accountpassword" port imap | ||
| 251 | machine gmail2 login account2@@gmail.com password "account2password" port imap | ||
| 252 | @end example | ||
| 253 | |||
| 232 | @node Secret Service API | 254 | @node Secret Service API |
| 233 | @chapter Secret Service API | 255 | @chapter Secret Service API |
| 234 | 256 | ||