Changing mail_admin, previous email still gets cron emails

Hey there! I provisioned staging and production with sendgrid using one particular email, then was asked to change the email after provisioning. Now the previous email is still getting emails related to cron jobs that the new email isn’t getting (however the new email is getting certain emails).

The previous email is getting messages like this (which I understand how to fix, I just would like this to go the correct email now):
cd /srv/www/thesite.com/current && wp cron event run --due-now > /dev/null 2>&1 /bin/sh: 1: cd: can't cd to /srv/www/thesite.com/current

While the new email is getting messages related to letsencrypt and other messages like this (which should it be getting these messages anyways?):
/etc/cron.daily/logrotate: *Re-opening nginx log files nginx ...done.

The ssmtp.conf file in /etc/ssmtp/ has the correct new email for both instances.

Finally, I’ve checked both servers for instances of the previous email address in any file and it couldn’t be found using (running as root)
grep -rnw '/' -e "previousemail@domain.com"

Not sure what version of Trellis this is, I last updated it on Nov 13 2016 with commit hash 4beff38c1185d5031f7dea9c1be7d0a40fa3afd6.

Is there somewhere I’m missing where this is configured? I have a feeling I’ve missed something somewhere. I’d rather not start over on new servers as one of these is a production instance with a few live sites on it already.

If you’d like to take a look at the code I can see if I can make a scrubbed version of the repo available.

Thanks for taking a look!

seems like the old email is in the WP database… probably as the admin email. You can change that manually

I forgot to reply to this, but here’s the solution for anyone wondering. I didn’t realize the emails were going to the system user (web) followed by the admin mail_hostname (my company’s), which is setup in mail.yml. So basically any cron problem that happened were going to web/root@mycompany.com. Since my boss has a catchall for all emails that don’t exist, emails to web/root@mycompany.com were getting sent to him.

Finally, I’ve checked both servers for instances of the previous email address in any file and it couldn’t be found using (running as root)
grep -rnw ‘/’ -e "previousemail@domain.com"
joe root
hr@ marketing assignment help