Update email related configs

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2019-11-07 18:20:06 +05:30
parent e35e64bb05
commit d03be88543
3 changed files with 12 additions and 11 deletions

View file

@ -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

View file

@ -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

View file

@ -1,3 +1,10 @@
[Unit]
Description=Run my email job every 10 minutes
RefuseManualStart=no
RefuseManualStop=no
[Timer]
OnUnitInactiveSec=1800s
Persistent=false
OnBootSec=80
OnCalendar=*:0/10
Unit=email.service