diff --git a/msmtprc b/msmtprc index 192152d..c0f9766 100644 --- a/msmtprc +++ b/msmtprc @@ -11,13 +11,7 @@ account Sanchayan host smtp.gmail.com from maitysanchayan@gmail.com user maitysanchayan@gmail.com -passwordeval "gpg2 --use-agent --batch --quiet --no-greeting --no-tty --for-your-eyes-only --homedir /home/sanchayan/.gnupg --decrypt ~/.sanchayan.gpg" - -account Victor -host smtp.gmail.com -from victorascroft@gmail.com -user victorascroft@gmail.com -passwordeval "gpg2 --use-agent --batch --quiet --no-greeting --no-tty --for-your-eyes-only --homedir /home/sanchayan/.gnupg --decrypt ~/.victor.gpg" +passwordeval "gpg2 --use-agent --batch --quiet --no-greeting --no-tty --for-your-eyes-only --homedir /home/core/.gnupg --decrypt ~/.sanchayan.gpg" # Set a default account account default : Sanchayan diff --git a/mutt/email.service b/mutt/email.service index 85f6480..1602b1a 100644 --- a/mutt/email.service +++ b/mutt/email.service @@ -3,7 +3,7 @@ Description=Mail fetch and notification service [Service] Type=simple -ExecStart=/home/sanchayan/.mutt/mailnotify.sh +ExecStart=/home/core/.mutt/mailnotify.sh [Install] -WantedBy=default.target \ No newline at end of file +WantedBy=default.target diff --git a/mutt/email.timer b/mutt/email.timer index 5be76ce..2b52bef 100644 --- a/mutt/email.timer +++ b/mutt/email.timer @@ -1,3 +1,10 @@ +[Unit] +Description=Run my email job every 10 minutes +RefuseManualStart=no +RefuseManualStop=no + [Timer] -OnUnitInactiveSec=1800s -Unit=email.service \ No newline at end of file +Persistent=false +OnBootSec=80 +OnCalendar=*:0/10 +Unit=email.service