Commit 7097f664 authored by bbguimaraes's avatar bbguimaraes
Browse files

Remove Gmail configuration

parent 3cf82373
......@@ -15,9 +15,7 @@
src: '{{ src_dir }}/dotfiles/{{ item.0 }}'
dest: '{{ home }}/{{ item.1 }}'
loop:
- ['mutt/muttrc_gmail', '.mutt/muttrc_gmail']
- ['mutt/muttrc_proton', '.mutt/muttrc_proton']
- ['offlineimap/gmail', '.config/offlineimap/gmail']
- ['proton/proton-bridge.service',
'.local/share/systemd/user/proton-bridge.service']
- name: setup other symlinks
......@@ -36,5 +34,4 @@
scope: user
daemon_reload: true
loop:
- offlineimap@gmail
- proton-bridge
......@@ -140,7 +140,6 @@
- .config/Nextcloud/nextcloud.cfg
- .gnupg/private-keys-v1.d/2E2E172E019FB7185972C20A9EC30C06B7645832.key
- .gnupg/private-keys-v1.d/80B69EFC5B439D3F744F52E3FF80117C439C7BB2.key
- .local/share/offlineimap
- .local/share/vdirsyncer
- .password-store
- .ssh/id_rsa
......
......@@ -9,11 +9,6 @@ account gmail
host smtp.gmail.com
port 587
account bbgstb@gmail.com : gmail
from bbgstb@gmail.com
user bbgstb
passwordeval pass show comp/bbgstb@gmail.com
account bbarcaro@redhat.com : gmail
from bbarcaro@redhat.com
user bbarcaro@redhat.com
......
set from = "Bruno Barcarol Guimarães <bbgstb@gmail.com>"
set sendmail = "/usr/bin/msmtp --account bbgstb@gmail.com"
set mbox_type = Maildir
set folder = ~/.local/share/offlineimap/gmail
source ~/.mutt/gmail_mailboxes
set spoolfile = +INBOX
set postponed = +[Gmail]/Drafts
unset record
[general]
accounts = gmail
socktimeout = 60
[mbnames]
enabled = yes
filename = ~/.mutt/gmail_mailboxes
header = 'mailboxes '
peritem = '+%(foldername)s'
sep = ' '
footer = "\nmailboxes -nonotify '+[Gmail].Spam'\n"
[Account gmail]
localrepository = gmail_local
remoterepository = gmail_remote
autorefresh = 5
quick = 10
[Repository gmail_local]
type = Maildir
localfolders = ~/.local/share/offlineimap/gmail
[Repository gmail_remote]
type = Gmail
remoteuser = bbgstb@gmail.com
remotepasseval = \
__import__('subprocess').check_output(
('pass', 'show', 'comp/bbgstb@gmail.com'))
holdconnectionopen = yes
keepalive = 60
folderfilter = lambda x: x not in ('[Gmail]/All Mail', '[Gmail]/Trash')
sslcacertfile = ~/.config/offlineimap/tls_trust_file
ssl_version = tls1_2
......@@ -25,9 +25,8 @@ main() {
tmux new-window -t "$SESSION:1" d weechat;;
*)
tmux split-window -t "$target.3" -l 1000 d mutt proton
tmux split-window -t "$target.4" -l 1000 d mutt gmail
tmux split-window -t "$target.5" -l 1000 d weechat
tmux split-window -t "$target.6" -l 1000
tmux split-window -t "$target.4" -l 1000 d weechat
tmux split-window -t "$target.5" -l 1000
tmux select-layout -t "$target" tiled;;
esac
attach
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment