Open hjoon0510 opened 6 years ago
I have found a hint.
$ cd /etc
$ grep -R "hjoon0510@gmail.com" ./*
./ssmtp/ssmtp.conf:root=hjoon0510@gmail.com
./ssmtp/ssmtp.conf:AuthUser=hjoon0510@gmail.com
./ssmtp/msg.txt:To: hjoon0510@gmail.com
./ssmtp/msg.txt:From: hjoon0510@gmail.com
* Reference: https://wiki.archlinux.org/index.php/SSMTP#Forward_to_a_Gmail_mail_server
```bash
# The user that gets all the mails (UID < 1000, usually the admin)
root=username@gmail.com
$ su -
# cd /etc/ssmtp/
# pwd
# vi ./ssmtp.conf
root=hjoon0510@gmail.com ---> username@gmail.com
# exit
$
/etc/cron.daily/popularity-contest: 21: .: Can't open /etc/popularity-contest.conf