This commit is contained in:
fz0x1 2024-11-09 16:38:27 +01:00
parent c4d3a5d9a6
commit 9a26e1370c
11 changed files with 114 additions and 11 deletions

59
macos/.mbsyncrc Normal file
View file

@ -0,0 +1,59 @@
IMAPAccount gmail
Host imap.gmail.com
Port 993
User foozzione@gmail.com
PassCmd "gpg -dq --for-your-eyes-only --no-tty ~/.config/mutt/gmail_isync.gpg"
TLSType IMAPS
CertificateFile /opt/homebrew/Cellar/ca-certificates/2024-09-24/share/ca-certificates/cacert.pem
AuthMechs LOGIN
IMAPStore gmail-remote
Account gmail
MaildirStore gmail-local
Subfolders Verbatim
Path ~/.local/share/email/foozzione_gmail/
INBOX ~/.local/share/email/foozzione_gmail/INBOX
Flatten .
Channel gmail
Far :gmail-remote:
Near :gmail-local:
Patterns *
# Automatically create missing mailboxes, both locally and on the server
Create Both
# Sync the movement of messages between folders and deletions, add after making sure the sync works
Expunge Both
# Save the synchronization state files in the relevant directory
SyncState *
MaxMessages 0
IMAPAccount posteo-remote
Host posteo.de
Port 993
User fz0x1@posteo.net
PassCmd "gpg -dq --for-your-eyes-only --no-tty ~/.config/mutt/posteo_isync.gpg"
TLSType IMAPS
CertificateFile /opt/homebrew/Cellar/ca-certificates/2024-09-24/share/ca-certificates/cacert.pem
IMAPStore posteo-remote
Account posteo-remote
MaildirStore posteo-local
Subfolders Verbatim
Path ~/.local/share/email/fz0x1_posteo/
INBOX ~/.local/share/email/fz0x1_posteo/INBOX
Flatten .
Channel posteo
Far :posteo-remote:
Near :posteo-local:
Patterns *
# Automatically create missing mailboxes, both locally and on the server
Create Both
# Sync the movement of messages between folders and deletions, add after making sure the sync works
Expunge Both
# Save the synchronization state files in the relevant directory
SyncState *
MaxMessages 0

28
macos/.msmtprc Normal file
View file

@ -0,0 +1,28 @@
# Set default values for all following accounts.
defaults
auth on
tls on
tls_starttls on
tls_trust_file /opt/homebrew/Cellar/ca-certificates/2024-09-24/share/ca-certificates/cacert.pem
logfile ~/.config/msmtp/msmtp.log
# Gmail
account gmail
host smtp.gmail.com
port 465
tls_starttls off
from foozzione@gmail.com
user foozzione@gmail.com
passwordeval "gpg -dq $HOME/.config/mutt/gmail_isync.gpg"
# Posteo
account posteo
host posteo.de
port 465
tls_starttls off
from fz0x1@posteo.net
user fz0x1@posteo.net
passwordeval "gpg -dq $HOME/.config/mutt/posteo_isync.gpg"
# Set a default account
account default: posteo