X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=muttrc;h=76c7c4da40a8f9c8851c4ce6f6e91922dae81199;hb=e65f6103492619f4451555fb40d65f321bea1159;hp=df48b41e3d0e8955268dff09d1b1df0507b42ee2;hpb=7df7ab410d3a07d88f42cb9a83752d11f3093001;p=dotfiles.git diff --git a/muttrc b/muttrc index df48b41..76c7c4d 100644 --- a/muttrc +++ b/muttrc @@ -3,21 +3,19 @@ set realname="Mart Lubbers" set from="mart@martlubbers.net" set use_from=yes set envelope_from=yes -<<<<<<< HEAD -<<<<<<< HEAD -set sendmail="/usr/bin/msmtp --passwordeval -C /home/mart/.mutt/msmtp -f mart@martlubbers.net -a net" -======= -set sendmail="/usr/bin/msmtp -C /home/mart/.mutt/msmtp -f mart@martlubbers.net -a net" ->>>>>>> 1cce2d664871e9f0f910a8f6c044c92b129b73a8 -======= -set sendmail="/usr/bin/msmtp -C /home/mart/.mutt/msmtp -f mart@martlubbers.net -a net" ->>>>>>> 1cce2d664871e9f0f910a8f6c044c92b129b73a8 +set my_msmtp_pass=`gpg --use-agent -d ~/passwd.gpg | grep -i mail | awk '{print $3}'` +set sendmail="/usr/local/bin/msmtp -C /home/mart/.mutt/msmtp --password=$my_msmtp_pass -f mart@martlubbers.net -a net" set my_hdr="X-PGP-Key: http://www.martlubbers.net/mart@martlubbers.net.asc" +# Macros # Force offlineimap to refresh in the background -macro index,pager \CR "offlineimap -c ~/.mutt/offlineimaprc &" "Force refresh" +macro index,pager \CR "offlineimap -c ~/.mutt/offlineimaprc -k Repository_Remote:password=$my_msmtp_pass &" "Force refresh" # Move all the mailing lists to the appropriate folder -macro index,pager \CT "~C vim@vim.org | ~C vim_use=vim~C lists.debian.org=debian~C mutt-users@mutt.org=mutt" "Clean up mailing lists" +macro index,pager \CT "\ +~C vim@vim.org | ~C vim_use=vim\ +~C lists.debian.org=debian\ +~C mutt-users@mutt.org=mutt\ +" "Clean up mailing lists" # Folders set mbox_type=Maildir @@ -107,7 +105,7 @@ color index brightyellow default ~N# New color index blue default ~T# Tagged color index red default ~D# Deleted -#Crypto stuff +#Crypto set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f" set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f" set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f"