Breaking mail stuff
parent
170e3e3ba5
commit
4f7610df01
@ -0,0 +1,25 @@
|
||||
IMAPAccount gmail
|
||||
Host imap.gmail.com
|
||||
User dustinswan@gmail.com
|
||||
# PassCmd "gpg -d ~/.gmail-password.gpg"
|
||||
# SSL
|
||||
UseIMAPS yes
|
||||
CertificateFile ~/.mail/gmail.pem
|
||||
|
||||
IMAPStore gmail-remote
|
||||
Account gmail
|
||||
|
||||
MaildirStore gmail-local
|
||||
Path ~/.mail/gmail/
|
||||
Inbox ~/.mail/gmail/INBOX
|
||||
|
||||
Channel gmail
|
||||
Master :gmail-remote:
|
||||
Slave :gmail-local:
|
||||
# Include everything
|
||||
# Patterns *
|
||||
# Automatically create missing mailboxes, both locally and on the server
|
||||
Create Both
|
||||
# Expunge Both
|
||||
# Save the synchronization state files in the relevant directory
|
||||
SyncState *
|
@ -1,23 +1,38 @@
|
||||
#color status white red
|
||||
|
||||
# Receive options.
|
||||
set imap_user = "dustinswan@gmail.com"
|
||||
set imap_pass = $my_gmail_password
|
||||
#set imap_user = "dustinswan@gmail.com"
|
||||
#set imap_pass = $my_gmail_password
|
||||
set folder = "imaps://imap.gmail.com"
|
||||
set spoolfile = +INBOX
|
||||
set postponed = +Drafts
|
||||
# set record = +Sent # Gmail saves this automatically
|
||||
unset record
|
||||
|
||||
set move = no
|
||||
unset move
|
||||
|
||||
# Send options.
|
||||
set smtp_url = "smtps://dustinswan@smtp.gmail.com"
|
||||
set smtp_pass = $my_gmail_password
|
||||
set realname = 'Dustin Swan'
|
||||
set from = "dustinswan@gmail.com"
|
||||
set hostname = "gmail.com"
|
||||
#set smtp_url = "smtps://dustinswan@smtp.gmail.com"
|
||||
#set smtp_pass = $my_gmail_password
|
||||
#set realname = 'Dustin Swan'
|
||||
#set from = "dustinswan@gmail.com"
|
||||
#set hostname = "gmail.com"
|
||||
|
||||
# Hook
|
||||
account-hook $folder "set imap_user = dustinswan@gmail.com"
|
||||
account-hook $folder "set imap_pass = $my_gmail_password"
|
||||
#account-hook $folder "set imap_user = dustinswan@gmail.com"
|
||||
#account-hook $folder "set imap_pass = $my_gmail_password"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
set from = "dustinswan@gmail.com"
|
||||
set sendmail = "msmtp -a DustinswanGmail"
|
||||
|
||||
set spoolfile = "+DustinswanGmail/INBOX"
|
||||
set mbox = "+DustinswanGmail/archive"
|
||||
set postponed = "+DustinswanGmail/drafts"
|
||||
|
||||
unset move
|
||||
|
||||
color status white red
|
||||
|
@ -1,70 +0,0 @@
|
||||
[general]
|
||||
accounts = DustinswanGmail, DswanIOCOM
|
||||
pythonfile=~/.mutt/offlineimap.py
|
||||
maxsyncaccounts = 2
|
||||
# ui = quiet
|
||||
|
||||
[mbnames]
|
||||
enabled = yes
|
||||
filename = ~/.mutt/mailboxes
|
||||
header = "mailboxes "
|
||||
peritem = "+%(accountname)s/%(foldername)s"
|
||||
sep = " "
|
||||
footer = "\n"
|
||||
|
||||
[Account DustinswanGmail]
|
||||
localrepository = DustinswanGmail-Local
|
||||
remoterepository = DustinswanGmail-Remote
|
||||
autorefresh = 5
|
||||
quick = 10
|
||||
postsynchook = notmuch new
|
||||
|
||||
[Repository DustinswanGmail-Local]
|
||||
type = Maildir
|
||||
localfolders = ~/.mail/DustinswanGmail
|
||||
nametrans = lambda folder: {'drafts': '[Gmail]/Drafts',
|
||||
'sent': '[Gmail]/Sent Mail',
|
||||
'flagged': '[Gmail]/Starred',
|
||||
'trash': '[Gmail]/Trash',
|
||||
'archive': '[Gmail]/All Mail',
|
||||
'important': '[Gmail]/Important',
|
||||
}.get(folder, folder)
|
||||
|
||||
[Repository DustinswanGmail-Remote]
|
||||
maxconnections = 1
|
||||
type = Gmail
|
||||
remoteuser = dustinswan@gmail.com
|
||||
remotepasseval = gmail_password()
|
||||
realdelete = no
|
||||
nametrans = lambda folder: {'[Gmail]/Drafts': 'drafts',
|
||||
'[Gmail]/Sent Mail': 'sent',
|
||||
'[Gmail]/Starred': 'flagged',
|
||||
'[Gmail]/Trash': 'trash',
|
||||
'[Gmail]/All Mail': 'archive',
|
||||
'[Gmail]/Important': 'important',
|
||||
}.get(folder, folder)
|
||||
|
||||
folderfilter = lambda folder: folder not in ['[Gmail]/Trash',
|
||||
'[Gmail]/Spam',
|
||||
]
|
||||
|
||||
cert_fingerprint = b0ba392bba326e6feb1add4d04fa0fb86cd173fa
|
||||
|
||||
[Account DswanIOCOM]
|
||||
localrepository = DswanIOCOM-Local
|
||||
remoterepository = DswanIOCOM-Remote
|
||||
autorefresh = 5
|
||||
quick = 10
|
||||
postsynchook = notmuch new
|
||||
|
||||
[Repository DswanIOCOM-Local]
|
||||
type = Maildir
|
||||
localfolders = ~/.mail/DswanIOCOM
|
||||
|
||||
folderfilter = lambda f: f not in ['drafts']
|
||||
|
||||
[Repository DswanIOCOM-Remote]
|
||||
type = IMAP
|
||||
remotehost = secure.emailsrvr.com
|
||||
remoteuser = dswan@insors.com
|
||||
remotepasseval = iocom_password()
|
Loading…
Reference in New Issue