User Tools

Site Tools


notes:email-configuration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
notes:email-configuration [2026/05/31 15:10] – [mbsync] samnotes:email-configuration [2026/06/02 22:55] (current) – Add a note about mbsync sam
Line 92: Line 92:
 Account <account name> Account <account name>
  
-MaildirStore uchicago-local+MaildirStore <account name>-local
 Path ~/Mail/<account name>-mail/ Path ~/Mail/<account name>-mail/
 Inbox ~/Mail/<account name>-mail/INBOX Inbox ~/Mail/<account name>-mail/INBOX
 SubFolders Verbatim SubFolders Verbatim
  
-Channel uchicago+Channel <account name>
 Far :<account name>-remote: Far :<account name>-remote:
 Near :<account name>-local: Near :<account name>-local:
Line 141: Line 141:
  
 Running ''mbsync <account name>'' will sync the local mail directory specified as above with the server. Running ''mbsync <account name>'' will sync the local mail directory specified as above with the server.
 +Passing ''-a'' will cause //all// accounts to be synchronized.
 +
 +==== msmtp ====
 +
 +''msmtp'' is used to send mail. It's configuration (''~/.msmtprc'') is as follows:
 +<code>
 +defaults
 +logfile ~/Mail/msmtp.log
 +tls_trust_file system # Use the system's tls certificate
 +
 +### 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 "security find-generic-password -a <my email> -s <my account name> -w"
 +
 +### Gmail
 +
 +account gmail
 +auth on
 +host smtp.gmail.com
 +port 465
 +protocol smtp
 +from <my gmail>@gmail.com
 +user <my gmail>@gmail.com
 +passwordeval "security find-generic-password -a <my gmail>@gmail.com -s <my gmail> -w"
 +tls on
 +tls_starttls off
 +
 +# Default
 +account default : <account name>
 +</code>
notes/email-configuration.1780240218.txt.gz · Last modified: by sam