From 94ddd43474b239d8dc7ea637327fa0555eba998e Mon Sep 17 00:00:00 2001 From: David Runge Date: Mon, 22 May 2023 09:52:44 +0200 Subject: msmtp: move config to XDG_CONFIG_HOME --- .config/msmtp/config | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++ .msmtprc | 53 ---------------------------------------------------- 2 files changed, 53 insertions(+), 53 deletions(-) create mode 100644 .config/msmtp/config delete mode 100644 .msmtprc diff --git a/.config/msmtp/config b/.config/msmtp/config new file mode 100644 index 0000000..594fe67 --- /dev/null +++ b/.config/msmtp/config @@ -0,0 +1,53 @@ +# Set default values for all following accounts. +defaults +auth on +port 587 +tls on +protocol smtp +#logfile ~/.log/msmtp.log + +# dave@sleepmap.de +account sleepmap.de +host mail.sleepmap.de +from dave@sleepmap.de +user dave@sleepmap.de +passwordeval "gopass show -o mail/dave@sleepmap.de" +tls_trust_file /etc/ssl/cert.pem + +account archlinux.org +host mail.archlinux.org +from dvzrv@archlinux.org +user dvzrv@archlinux.org +passwordeval "gopass show -o mail/dvzrv@archlinux.org" +tls_trust_file /etc/ssl/cert.pem +port 465 +tls_starttls off + +account master-key.archlinux.org +host mail.archlinux.org +from dvzrv@master-key.archlinux.org +user dvzrv@master-key.archlinux.org +passwordeval "gopass show -o mail/dvzrv@archlinux.org" +tls_trust_file /etc/ssl/cert.pem +port 465 +tls_starttls off + +account mediation-team@archlinux.org +host mail.archlinux.org +from mediation-team@archlinux.org +user dvzrv_mediation-team@archlinux.org +passwordeval "gopass show -o mail/dvzrv@archlinux.org" +tls_trust_file /etc/ssl/cert.pem +port 465 +tls_starttls off + +# dave@c-base.org +account c-base.org +host c-mail.c-base.org +from dave@c-base.org +user dave +passwordeval "gopass show -o mail/dave@c-base.org" +tls_trust_file ~/.certs/c-base.crt + +# Set a default account +account default : master-key.archlinux.org diff --git a/.msmtprc b/.msmtprc deleted file mode 100644 index 594fe67..0000000 --- a/.msmtprc +++ /dev/null @@ -1,53 +0,0 @@ -# Set default values for all following accounts. -defaults -auth on -port 587 -tls on -protocol smtp -#logfile ~/.log/msmtp.log - -# dave@sleepmap.de -account sleepmap.de -host mail.sleepmap.de -from dave@sleepmap.de -user dave@sleepmap.de -passwordeval "gopass show -o mail/dave@sleepmap.de" -tls_trust_file /etc/ssl/cert.pem - -account archlinux.org -host mail.archlinux.org -from dvzrv@archlinux.org -user dvzrv@archlinux.org -passwordeval "gopass show -o mail/dvzrv@archlinux.org" -tls_trust_file /etc/ssl/cert.pem -port 465 -tls_starttls off - -account master-key.archlinux.org -host mail.archlinux.org -from dvzrv@master-key.archlinux.org -user dvzrv@master-key.archlinux.org -passwordeval "gopass show -o mail/dvzrv@archlinux.org" -tls_trust_file /etc/ssl/cert.pem -port 465 -tls_starttls off - -account mediation-team@archlinux.org -host mail.archlinux.org -from mediation-team@archlinux.org -user dvzrv_mediation-team@archlinux.org -passwordeval "gopass show -o mail/dvzrv@archlinux.org" -tls_trust_file /etc/ssl/cert.pem -port 465 -tls_starttls off - -# dave@c-base.org -account c-base.org -host c-mail.c-base.org -from dave@c-base.org -user dave -passwordeval "gopass show -o mail/dave@c-base.org" -tls_trust_file ~/.certs/c-base.crt - -# Set a default account -account default : master-key.archlinux.org -- cgit v1.2.3-70-g09d2