notes:email-configuration
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| notes:email-configuration [2026/05/31 01:35] – ↷ Page name changed from notes:email to notes:email-configuration sam | notes:email-configuration [2026/06/02 22:55] (current) – Add a note about mbsync sam | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| This is somewhat complex because the university mail uses Microsoft exchange. | This is somewhat complex because the university mail uses Microsoft exchange. | ||
| - | Mainly, the information below is compiled from [[https:// | + | Mainly, the information below is compiled from [[https:// |
| ==== installation ==== | ==== installation ==== | ||
| I got all of the software from '' | I got all of the software from '' | ||
| - | The packages required are '' | + | The packages required are '' |
| ==== davmail ==== | ==== davmail ==== | ||
| Line 79: | Line 79: | ||
| < | < | ||
| + | ### University Email (using davmail) | ||
| + | |||
| IMAPAccount <account name> | IMAPAccount <account name> | ||
| Host 127.0.0.1 | Host 127.0.0.1 | ||
| Port 6001 | Port 6001 | ||
| User <my email> | User <my email> | ||
| - | PassCmd " | + | PassCmd " |
| TLSType None | TLSType None | ||
| AuthMechs LOGIN | AuthMechs LOGIN | ||
| Line 90: | Line 92: | ||
| Account <account name> | Account <account name> | ||
| - | MaildirStore | + | MaildirStore |
| Path ~/ | Path ~/ | ||
| Inbox ~/ | Inbox ~/ | ||
| SubFolders Verbatim | SubFolders Verbatim | ||
| - | Channel | + | Channel |
| Far :< | Far :< | ||
| Near :< | Near :< | ||
| + | Patterns * | ||
| + | SyncState * | ||
| + | Create Both | ||
| + | Sync All | ||
| + | Expunge Near | ||
| + | |||
| + | ### Gmail | ||
| + | |||
| + | IMAPAccount gmail | ||
| + | Host imap.gmail.com | ||
| + | Port 993 | ||
| + | TLSType IMAPS | ||
| + | AuthMechs LOGIN # <-- Note this line | ||
| + | User <my gmail> | ||
| + | PassCmd " | ||
| + | |||
| + | IMAPStore gmail-remote | ||
| + | Account gmail | ||
| + | |||
| + | MaildirStore gmail-local | ||
| + | Path ~/ | ||
| + | Inbox ~/ | ||
| + | SubFolders Verbatim | ||
| + | |||
| + | Channel gmail | ||
| + | Far : | ||
| + | Near : | ||
| Patterns * | Patterns * | ||
| SyncState * | SyncState * | ||
| Line 107: | Line 136: | ||
| '' | '' | ||
| We can use macOS' '' | We can use macOS' '' | ||
| + | |||
| + | Note that in the case of Gmail, the password stored in the keychain is an application password, since google does not permit IMAP authentication using your account password. | ||
| + | Adding '' | ||
| Running '' | Running '' | ||
| + | Passing '' | ||
| + | |||
| + | ==== msmtp ==== | ||
| + | |||
| + | '' | ||
| + | < | ||
| + | defaults | ||
| + | logfile ~/ | ||
| + | tls_trust_file system # Use the system' | ||
| + | |||
| + | ### University Email | ||
| + | |||
| + | account <account name> | ||
| + | host 127.0.0.1 | ||
| + | port 6003 | ||
| + | protocol smtp | ||
| + | auth plain | ||
| + | tls off | ||
| + | user <my email> | ||
| + | from <my email> | ||
| + | passwordeval " | ||
| + | |||
| + | ### Gmail | ||
| + | |||
| + | account gmail | ||
| + | auth on | ||
| + | host smtp.gmail.com | ||
| + | port 465 | ||
| + | protocol smtp | ||
| + | from <my gmail> | ||
| + | user <my gmail> | ||
| + | passwordeval " | ||
| + | tls on | ||
| + | tls_starttls off | ||
| + | |||
| + | # Default | ||
| + | account default : <account name> | ||
| + | </ | ||
notes/email-configuration.1780191341.txt.gz · Last modified: by sam