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 21:39] – Add msmtp config samnotes:email-configuration [2026/09/09 15:57] (current) – Add description of davmail Launch Agent sam
Line 70: Line 70:
 <code> <code>
 $ stty -icanon && davmail ~/.davmail.properties $ stty -icanon && davmail ~/.davmail.properties
 +</code>
 +
 +Starting ''davmail'' automatically on login requires a systemd service on linux, or a Launch Agent on MacOS. For example, I added the following to ''~/Library/LaunchAgents'':
 +<code>
 +<plist version="1.0">
 +  <dict>
 +    <key>Label</key>
 +    <string>davmail</string>
 +    <key>ProgramArguments</key>
 +    <array>
 +      <string>/opt/homebrew/bin/davmail</string>
 +      <string>/Users/sam/.davmail.properties</string>
 +    </array>
 +    <key>RunAtLoad</key>
 +    <true/>
 +    <key>KeepAlive</key>
 +    <true/>
 +    <key>StandardOutPath</key>
 +    <string>/tmp/davmail.stdout.log</string>
 +    <key>StandardErrorPath</key>
 +    <string>/tmp/davmail.stderr.log</string>
 +  </dict>
 +</plist>
 </code> </code>
  
Line 141: Line 164:
  
 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 ====
  
-''msmtp'' is used to send mail. It's configuration is as follows:+''msmtp'' is used to send mail. It's configuration (''~/.msmtprc'') is as follows:
 <code> <code>
 defaults defaults
 logfile ~/Mail/msmtp.log logfile ~/Mail/msmtp.log
-tls_trust_file ~/Mail/certificates/certs.pem+tls_trust_file system # Use the system's tls certificate
  
 ### University Email ### University Email
notes/email-configuration.1780263585.txt.gz · Last modified: by sam