diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-07-20 20:55:50 -0400 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-07-20 20:55:50 -0400 |
| commit | 24829aa6a20a05890fedd31bc9c2fd11b7b42215 (patch) | |
| tree | 9228f512c42d6453de8da37863961246c2338a53 | |
| parent | Remove unused brew packages (diff) | |
| download | dotfiles-24829aa6a20a05890fedd31bc9c2fd11b7b42215.zip | |
adjust aerc and isync config
| -rw-r--r-- | aerc/.config/aerc/accounts.conf | 10 | ||||
| -rw-r--r-- | aerc/.config/aerc/aerc.conf | 10 | ||||
| -rw-r--r-- | isync/.config/isync/mbsync.conf | 56 | ||||
| -rw-r--r-- | isync/.config/isyncrc | 161 |
4 files changed, 173 insertions, 64 deletions
diff --git a/aerc/.config/aerc/accounts.conf b/aerc/.config/aerc/accounts.conf index 2b9c0ed..4f48be4 100644 --- a/aerc/.config/aerc/accounts.conf +++ b/aerc/.config/aerc/accounts.conf @@ -1,17 +1,19 @@ [Personal Gmail] source = maildir://~/Mail/Gmail -outgoing = /usr/local/bin/msmtp-send --account gmail +outgoing = /usr/local/bin/msmtp-send-simple --account gmail default = INBOX from = Eugene Triguba <eugenetriguba@gmail.com> copy-to = Sent -check-mail-cmd = 'mbsync -c ~/.config/isync/mbsync.conf gmail-inbox' +check-mail-cmd = 'mbsync gmail-all' check-mail = 1m +check-mail-timeout = 30s [Personal iCloud] source = maildir://~/Mail/iCloud -outgoing = /usr/local/bin/msmtp-send --account icloud +outgoing = /usr/local/bin/msmtp-send-simple --account icloud default = INBOX from = Eugene Triguba <hello@eugenetriguba.com> copy-to = Sent -check-mail-cmd = 'mbsync -c ~/.config/isync/mbsync.conf icloud-inbox' +check-mail-cmd = 'mbsync icloud-all' check-mail = 1m +check-mail-timeout = 30s diff --git a/aerc/.config/aerc/aerc.conf b/aerc/.config/aerc/aerc.conf index 3d48ec3..f60d54e 100644 --- a/aerc/.config/aerc/aerc.conf +++ b/aerc/.config/aerc/aerc.conf @@ -29,6 +29,7 @@ # redirection, this setting is ignored and log messages are printed to stdout. # #log-file= +log-file = ~/.local/share/aerc/aerc.log # Only log messages above the specified level to log-file. Supported levels # are: trace, debug, info, warn and error. When redirecting aerc's output to @@ -37,6 +38,7 @@ # # Default: info #log-level=info +log-level = debug # Disable IPC entirely. Don't run commands (including mailto:... and mbox:...) # in an existing aerc instance, and don't start an IPC server to allow @@ -587,7 +589,7 @@ # html emails. # # Default: text/plain,text/html -#alternatives=text/plain,text/html +alternatives=text/html,text/plain # # Default setting to determine whether to show full headers or only parsed @@ -762,16 +764,16 @@ # against (non-case-sensitive) and a comma, e.g. subject,text will match a # subject which contains "text". Use header,~regex to match against a regex. # -text/plain=colorize +text/plain=colorize | less text/calendar=calendar message/delivery-status=colorize message/rfc822=colorize #text/html=pandoc -f html -t plain | colorize #text/html=! html -text/html=! w3m -T text/html -I UTF-8 +text/html=! w3m -T text/html -I UTF-8 | less #text/*=bat -fP --file-name="$AERC_FILENAME" #application/x-sh=bat -fP -l sh -#image/*=catimg -w $(tput cols) - +image/*=catimg -w $(tput cols) - #subject,~Git(hub|lab)=lolcat -f #from,thatguywhodoesnothardwraphismessages=wrap -w 100 | colorize diff --git a/isync/.config/isync/mbsync.conf b/isync/.config/isync/mbsync.conf deleted file mode 100644 index b562318..0000000 --- a/isync/.config/isync/mbsync.conf +++ /dev/null @@ -1,56 +0,0 @@ -CopyArrivalDate yes -Create Near -Expunge Both - -################## -# Gmail -################## - -IMAPAccount gmail -Host imap.gmail.com -User eugenetriguba@gmail.com -PassCmd "get-password --credential 'Personal Gmail Password'" -TLSType IMAPS -AuthMechs PLAIN - -MaildirStore gmail-local -Path ~/Mail/Gmail/ -Inbox ~/Mail/Gmail/INBOX -SubFolders Verbatim - -IMAPStore gmail-remote -Account gmail - -Channel gmail-inbox -Far :gmail-remote: -Near :gmail-local: -Patterns * - -################## -# iCloud -################## - -IMAPAccount icloud -Host imap.mail.me.com -User eugenetriguba@gmail.com -PassCmd "get-password --credential 'Personal iCloud Password'" -TLSType IMAPS -AuthMechs PLAIN - -MaildirStore icloud-local -Path ~/Mail/iCloud/ -Inbox ~/Mail/iCloud/INBOX -SubFolders Verbatim - -IMAPStore icloud-remote -Account icloud - -Channel icloud-inbox -Far :icloud-remote: -Near :icloud-local: -Patterns * - -# Group for syncing both accounts -Group primary -Channel gmail-inbox -Channel icloud-inbox diff --git a/isync/.config/isyncrc b/isync/.config/isyncrc new file mode 100644 index 0000000..a68cd1a --- /dev/null +++ b/isync/.config/isyncrc @@ -0,0 +1,161 @@ +CopyArrivalDate yes +Create Near +Expunge Both + +################## +# Gmail +################## + +IMAPAccount gmail +Host imap.gmail.com +User eugenetriguba@gmail.com +PassCmd "get-password --credential 'Personal Gmail Password'" +TLSType IMAPS +AuthMechs PLAIN + +MaildirStore gmail-local +Path ~/Mail/Gmail/ +Inbox ~/Mail/Gmail/INBOX +SubFolders Verbatim + +IMAPStore gmail-remote +Account gmail + +Channel gmail-main +Far :gmail-remote: +Near :gmail-local: +Patterns INBOX + +Channel gmail-sent +Far :gmail-remote:"[Gmail]/Sent Mail" +Near :gmail-local:Sent +Create Both +SyncState * + +Channel gmail-drafts +Far :gmail-remote:"[Gmail]/Drafts" +Near :gmail-local:Drafts +Create Both +SyncState * + +Channel gmail-starred +Far :gmail-remote:"[Gmail]/Starred" +Near :gmail-local:Starred +Create Both +SyncState * + +Channel gmail-spam +Far :gmail-remote:"[Gmail]/Spam" +Near :gmail-local:Spam +Create Both +SyncState * + +Channel gmail-trash +Far :gmail-remote:"[Gmail]/Trash" +Near :gmail-local:Trash +Create Both +SyncState * + +Channel gmail-all +Far :gmail-remote:"[Gmail]/All Mail" +Near :gmail-local:"All Mail" +Create Both +SyncState * + +Channel gmail-important +Far :gmail-remote:"[Gmail]/Important" +Near :gmail-local:Important +Create Both +SyncState * + +Channel gmail-labels +Far :gmail-remote: +Near :gmail-local: +Patterns "http-wg" +Create Both +SyncState * + +# Group all Gmail channels +Group gmail-all +Channel gmail-main +Channel gmail-sent +Channel gmail-drafts +Channel gmail-starred +Channel gmail-spam +Channel gmail-trash +Channel gmail-all +Channel gmail-important +Channel gmail-labels + +################## +# iCloud +################## + +IMAPAccount icloud +Host imap.mail.me.com +User eugenetriguba@gmail.com +PassCmd "get-password --credential 'Personal iCloud Password'" +TLSType IMAPS +AuthMechs PLAIN + +MaildirStore icloud-local +Path ~/Mail/iCloud/ +Inbox ~/Mail/iCloud/INBOX +SubFolders Verbatim + +IMAPStore icloud-remote +Account icloud + +Channel icloud-main +Far :icloud-remote: +Near :icloud-local: +Patterns INBOX + +Channel icloud-sent +Far :icloud-remote:"Sent Messages" +Near :icloud-local:Sent +Create Both +SyncState * + +Channel icloud-drafts +Far :icloud-remote:Drafts +Near :icloud-local:Drafts +Create Both +SyncState * + +Channel icloud-trash +Far :icloud-remote:"Deleted Messages" +Near :icloud-local:Trash +Create Both +SyncState * + +Channel icloud-junk +Far :icloud-remote:Junk +Near :icloud-local:Spam +Create Both +SyncState * + +Channel icloud-archive +Far :icloud-remote:Archive +Near :icloud-local:Archive +Create Both +SyncState * + +Channel icloud-snoozed +Far :icloud-remote:Snoozed +Near :icloud-local:Snoozed +Create Both +SyncState * + +Group icloud-all +Channel icloud-main +Channel icloud-sent +Channel icloud-drafts +Channel icloud-trash +Channel icloud-junk +Channel icloud-archive +Channel icloud-snoozed + +Group primary +Channel gmail-all +Channel icloud-all |