Changeset 5124:1367f9b7a091
- Timestamp:
- 2007-04-11 13:40:10 (20 months ago)
- Author:
- Brendan Cully <brendan@…>
- Branch:
- HEAD
- Message:
-
Add $smtp_pass (closes #2116)
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r5122
|
r5124
|
|
| 1 | | 2007-04-11 07:37 -0700 Brendan Cully <brendan@kublai.com> (29faa739ed01) |
| | 1 | 2007-04-11 12:53 -0700 Brendan Cully <brendan@kublai.com> (cdac16f99c5f) |
| | 2 | |
| | 3 | * doc/Makefile.am: Explicit -j1 breaks some versions of make (see |
| | 4 | #2538) |
| | 5 | |
| | 6 | * imap/util.c: Make imap_hcache_open robust against missing |
| | 7 | idata->ctx |
| 2 | 8 | |
| 3 | 9 | * imap/util.c: Do not attempt to parse idata->ctx->path if an explicit |
-
|
r4923
|
r5124
|
|
| 215 | 215 | strfcpy (account->pass, PopPass, sizeof (account->pass)); |
| 216 | 216 | #endif |
| | 217 | #ifdef USE_SMTP |
| | 218 | else if ((account->type == M_ACCT_TYPE_SMTP) && SmtpPass) |
| | 219 | strfcpy (account->pass, SmtpPass, sizeof (account->pass)); |
| | 220 | #endif |
| 217 | 221 | else |
| 218 | 222 | { |
-
|
r5064
|
r5124
|
|
| 119 | 119 | WHERE char *SimpleSearch; |
| 120 | 120 | #if USE_SMTP |
| | 121 | WHERE char *SmtpAuthenticators INITVAL (NULL); |
| | 122 | WHERE char *SmtpPass INITVAL (NULL); |
| 121 | 123 | WHERE char *SmtpUrl INITVAL (NULL); |
| 122 | | WHERE char *SmtpAuthenticators INITVAL (NULL); |
| 123 | 124 | #endif /* USE_SMTP */ |
| 124 | 125 | WHERE char *Spoolfile; |
-
|
r5120
|
r5124
|
|
| 2560 | 2560 | */ |
| 2561 | 2561 | #ifdef USE_SMTP |
| 2562 | | { "smtp_url", DT_STR, R_NONE, UL &SmtpUrl, UL 0 }, |
| 2563 | | /* |
| 2564 | | ** .pp |
| 2565 | | ** Defines the SMTP ``smart'' host where sent messages should relayed for |
| 2566 | | ** delivery. This should take the form of an SMTP URL, eg: |
| 2567 | | ** .pp |
| 2568 | | ** smtp[s]://[user[:pass]@]host[:port]/ |
| 2569 | | ** .pp |
| 2570 | | ** Setting this variable overrides the value of the ``$$sendmail'' |
| 2571 | | ** variable. |
| 2572 | | */ |
| 2573 | 2562 | # ifdef USE_SASL |
| 2574 | 2563 | { "smtp_authenticators", DT_STR, R_NONE, UL &SmtpAuthenticators, UL 0 }, |
| … |
… |
|
| 2586 | 2575 | */ |
| 2587 | 2576 | # endif /* USE_SASL */ |
| | 2577 | { "smtp_pass", DT_STR, R_NONE, UL &SmtpPass, UL 0 }, |
| | 2578 | /* |
| | 2579 | ** .pp |
| | 2580 | ** Specifies the password for your SMTP account. If \fIunset\fP, Mutt will |
| | 2581 | ** prompt you for your password when you first send mail via SMTP. |
| | 2582 | ** See ``$smtp_url'' to configure mutt to send mail via SMTP. |
| | 2583 | ** \fBWarning\fP: you should only use this option when you are on a |
| | 2584 | ** fairly secure machine, because the superuser can read your muttrc even |
| | 2585 | ** if you are the only one who can read the file. |
| | 2586 | */ |
| | 2587 | { "smtp_url", DT_STR, R_NONE, UL &SmtpUrl, UL 0 }, |
| | 2588 | /* |
| | 2589 | ** .pp |
| | 2590 | ** Defines the SMTP ``smart'' host where sent messages should relayed for |
| | 2591 | ** delivery. This should take the form of an SMTP URL, eg: |
| | 2592 | ** .pp |
| | 2593 | ** smtp[s]://[user[:pass]@]host[:port]/ |
| | 2594 | ** .pp |
| | 2595 | ** Setting this variable overrides the value of the ``$$sendmail'' |
| | 2596 | ** variable. |
| | 2597 | */ |
| 2588 | 2598 | #endif /* USE_SMTP */ |
| 2589 | 2599 | { "sort", DT_SORT, R_INDEX|R_RESORT, UL &Sort, SORT_DATE }, |