diff options
author | Luke Smith <luke@lukesmith.xyz> | 2023-02-13 17:24:03 -0500 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2023-02-13 17:24:03 -0500 |
commit | 37ba3b7b8d6c7e092e1744bf596bb89087d0e7be (patch) | |
tree | 9b3e4ad62fa87a1064d9e236c89ff5c40c9a6fdb /share | |
parent | 234be769e84da9b56181229b18d7dfbe5ac3a0ac (diff) |
use template files
Diffstat (limited to 'share')
-rw-r--r-- | share/mbsync-temp | 24 | ||||
-rw-r--r-- | share/mpop-temp | 6 | ||||
-rw-r--r-- | share/msmtp-temp | 11 | ||||
-rw-r--r-- | share/mutt-temp | 20 |
4 files changed, 61 insertions, 0 deletions
diff --git a/share/mbsync-temp b/share/mbsync-temp new file mode 100644 index 0000000..46cd51b --- /dev/null +++ b/share/mbsync-temp @@ -0,0 +1,24 @@ +IMAPStore $fulladdr-remote +Host $imap +Port $iport +User $login +PassCmd "pass $passprefix$fulladdr" +AuthMechs LOGIN +SSLType $imapssl +CertificateFile $sslcert + +MaildirStore $fulladdr-local +Subfolders Verbatim +Path $maildir/$fulladdr/ +Inbox $maildir/$fulladdr/INBOX + +Channel $fulladdr +Expunge Both +$master :$fulladdr-remote: +$slave :$fulladdr-local: +Patterns * !"[Gmail]/All Mail" +Create Both +SyncState * +MaxMessages $maxmes +ExpireUnread no +# End profile diff --git a/share/mpop-temp b/share/mpop-temp new file mode 100644 index 0000000..9489a12 --- /dev/null +++ b/share/mpop-temp @@ -0,0 +1,6 @@ +account $fulladdr +tls on +user $login +host $imap +delivery maildir $maildir/$fulladdr/INBOX +passwordeval pass $passprefix$fulladdr diff --git a/share/msmtp-temp b/share/msmtp-temp new file mode 100644 index 0000000..7333437 --- /dev/null +++ b/share/msmtp-temp @@ -0,0 +1,11 @@ +account $fulladdr +host $smtp +port $sport +from $fulladdr +user $login +passwordeval "pass $passprefix$fulladdr" +auth on +tls on +tls_trust_file $sslcert +logfile $msmtplog +$tlsline diff --git a/share/mutt-temp b/share/mutt-temp new file mode 100644 index 0000000..89bbc8f --- /dev/null +++ b/share/mutt-temp @@ -0,0 +1,20 @@ +# vim: filetype=neomuttrc +# muttrc file for account $fulladdr +set realname = "$realname" +set from = "$fulladdr" +set sendmail = "msmtp -a $fulladdr" +alias me $realname <$fulladdr> +set folder = "$folder" +set header_cache = $cachedir/$fulladdr/headers +set message_cachedir = $cachedir/$fulladdr/bodies +set mbox_type = Maildir +set hostname = "$hostname" +source $muttshare/switch.muttrc +set spoolfile = "+INBOX" +set postponed = "+Drafts" +set trash = "+Trash" +set record = "+Sent" +$extra +macro index o "<shell-escape>mailsync $fulladdr<enter>" "sync $fulladdr" +macro index \eg "<enter-command>unset wait_key<enter><shell-escape>gpg --list-secret-keys; printf 'Enter email ID of user to publish: '; read eID; printf 'Enter fingerprint of GPG key to publish: '; read eFGPT; $prefix/libexec/gpg-wks-client --create \\\$eFGPT \\\$eID | msmtp --read-envelope-from --read-recipients -a $fulladdr<enter>" "publish GPG key to WKS provider" +macro index \eh "<pipe-message>$prefix/libexec/gpg-wks-client --receive | msmtp --read-envelope-from --read-recipients -a $fulladdr<enter>" "confirm GPG publication" |