From 2226225272606ce4c806586fa1408cc961b38cf5 Mon Sep 17 00:00:00 2001 From: Joe Date: Wed, 10 Aug 2022 09:45:43 +0200 Subject: Added support secuserve account --- .config/env | 4 +-- .config/mbsync/mbsyncrc | 26 +++++++++++++++ .config/msmtp/config | 7 ++++ .../mutt/accounts/6-support@secuserve.com.muttrc | 39 ++++++++++++++++++++++ .config/mutt/muttrc | 1 + .config/x11/xinitrc | 1 + 6 files changed, 76 insertions(+), 2 deletions(-) create mode 100644 .config/mutt/accounts/6-support@secuserve.com.muttrc diff --git a/.config/env b/.config/env index c89c760..41162e3 100644 --- a/.config/env +++ b/.config/env @@ -35,8 +35,8 @@ export FILE='lf' # UTF-8 export CHARSET='UTF-8' -# export LANG='en_US.UTF-8' -export LANG='C' +export LANG='en_US.UTF-8' +# export LANG='C' export LC_COLLATE='C' export LC_ALL='' diff --git a/.config/mbsync/mbsyncrc b/.config/mbsync/mbsyncrc index ff59167..8e18362 100644 --- a/.config/mbsync/mbsyncrc +++ b/.config/mbsync/mbsyncrc @@ -102,3 +102,29 @@ SyncState * MaxMessages 0 ExpireUnread no # End profile + +IMAPStore support@secuserve.com-remote +Host next.optimails.com +Port 993 +User support@secuserve.com +PassCmd "pass show mutt/support@secuserve.com" +AuthMechs LOGIN +SSLType IMAPS +CertificateFile /etc/ssl/cert.pem + +MaildirStore support@secuserve.com-local +Subfolders Verbatim +Path /home/jozan/.local/share/mail/support@secuserve.com/ +Inbox /home/jozan/.local/share/mail/support@secuserve.com/INBOX +Flatten . + +Channel support@secuserve.com +Expunge Both +Far :support@secuserve.com-remote: +Near :support@secuserve.com-local: +Patterns * +Create Both +SyncState * +MaxMessages 0 +ExpireUnread no +# End profile \ No newline at end of file diff --git a/.config/msmtp/config b/.config/msmtp/config index 4b6d4fe..ea0e8ee 100644 --- a/.config/msmtp/config +++ b/.config/msmtp/config @@ -31,3 +31,10 @@ account rbousset@secuserve.com from rbousset@secuserve.com user rbousset@secuserve.com passwordeval "pass show mutt/rbousset@secuserve.com" + +account support@secuserve.com + host next.optimails.com + port 587 + from support@secuserve.com + user support@secuserve.com + passwordeval "pass show mutt/support@secuserve.com" \ No newline at end of file diff --git a/.config/mutt/accounts/6-support@secuserve.com.muttrc b/.config/mutt/accounts/6-support@secuserve.com.muttrc new file mode 100644 index 0000000..bdc193d --- /dev/null +++ b/.config/mutt/accounts/6-support@secuserve.com.muttrc @@ -0,0 +1,39 @@ +# vim: filetype=neomuttrc +# muttrc file for account support@secuserve.com +set realname = "Support SecuServe" +set from = "support@secuserve.com" +set sendmail = "msmtp -a support@secuserve.com" +alias me Support SecuServe +set folder = "/home/jozan/.local/share/mail/support@secuserve.com" +set header_cache = /home/jozan/.cache/mutt-wizard/support@secuserve.com/headers +set message_cachedir = /home/jozan/.cache/mutt-wizard/support@secuserve.com/bodies +set mbox_type = Maildir + +bind index,pager gg noop +bind index,pager g noop +bind index,pager M noop +bind index,pager C noop +bind index gg first-entry +macro index o "mbsync -c /usr/home/jozan/.config/mbsync/mbsyncrc support@secuserve.com" "run mbsync to sync support@secuserve.com" +unmailboxes * + +mailboxes "=INBOX" "=Sent" "=Drafts" "=Trash" "=NEWS" +macro index,pager gi "=INBOX" "go to inbox" # mw-autogenerated +macro index,pager Mi ";=INBOX" "move mail to inbox" # mw-autogenerated +macro index,pager Ci ";=INBOX" "copy mail to inbox" # mw-autogenerated +set spoolfile = "+INBOX" # mw-autogenerated +set postponed = "+Drafts" # mw-autogenerated +macro index,pager gd "=Drafts" "go to drafts" # mw-autogenerated +macro index,pager Md ";=Drafts" "move mail to drafts" # mw-autogenerated +macro index,pager Cd ";=Drafts" "copy mail to drafts" # mw-autogenerated +set record = "+Sent" # mw-autogenerated +macro index,pager gs "=Sent" "go to sent" # mw-autogenerated +macro index,pager Ms ";=Sent" "move mail to sent" # mw-autogenerated +macro index,pager Cs ";=Sent" "copy mail to sent" # mw-autogenerated +macro index,pager gt "=Trash" "go to trash" # mw-autogenerated +macro index,pager Mt ";=Trash" "move mail to trash" # mw-autogenerated +macro index,pager Ct ";=Trash" "copy mail to trash" # mw-autogenerated +macro index,pager gn "=NEWS" "go to sent" # mw-autogenerated +macro index,pager Mn ";=NEWS" "move mail to sent" # mw-autogenerated +macro index,pager Cn ";=NEWS" "copy mail to sent" # mw-autogenerated +set trash = "+Trash" # mw-autogenerated diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc index db61864..6fa4dbd 100644 --- a/.config/mutt/muttrc +++ b/.config/mutt/muttrc @@ -5,3 +5,4 @@ macro index,pager i1 'source /home/jozan/.config/mu macro index,pager i2 'source /home/jozan/.config/mutt/accounts/2-olsen.oyvind.nor@gmail.com.muttrc!;' "switch to olsen.oyvind.nor@gmail.com" # mw-autogenerated macro index,pager i3 'source /home/jozan/.config/mutt/accounts/3-towerofsilence777@gmail.com.muttrc!;' "switch to towerofsilence777@gmail.com" # mw-autogenerated macro index,pager i5 'source /home/jozan/.config/mutt/accounts/5-rbousset@secuserve.com.muttrc!;' "switch to rbousset@secuserve.com" # mw-autogenerated +macro index,pager i6 'source /home/jozan/.config/mutt/accounts/6-support@secuserve.com.muttrc!;' "switch to support@secuserve.com" # mw-autogenerated diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc index 90ef819..732fc2b 100644 --- a/.config/x11/xinitrc +++ b/.config/x11/xinitrc @@ -4,6 +4,7 @@ startif() { pgrep "$1" >/dev/null || "$@" >/dev/null 2>&1 & } +export LANG='en_US.UTF-8' pgrep musicpd >/dev/null || musicpd >/dev/null 2>&1 "$HOME"/.local/bin/setwp "$HOME"/.local/bin/kb -- cgit v1.2.3