My email service provider has informed me that I keep hitting my daily SMTP quota limit and has identified one of my servers as sending email from a root account.
I've disabled any cronjobs that were sending emails and then checked my mail logs and syslog and can see the mail process they're referring to is still running each minute.
However, it's not running from the cron, and appears to be a standalone SMTP process.
tail -f ./var/log/syslog Jul 15 09:25:02 serveralias sSMTP[1359056]: Creating SSL connection to host Jul 15 09:25:03 serveralias sSMTP[1359056]: SSL connection using ECDHE_RSA_AES_256_GCM_SHA384 Jul 15 09:25:06 serveralias sSMTP[1359056]: Sent mail for [email protected] (221 2.0.0 Bye) uid=1000 username=not-root-account outbytes=1332 Jul 15 09:26:01 serveralias sSMTP[1359129]: Creating SSL connection to host Jul 15 09:26:03 serveralias sSMTP[1359129]: SSL connection using ECDHE_RSA_AES_256_GCM_SHA384 Jul 15 09:26:05 serveralias sSMTP[1359129]: Sent mail for [email protected] (221 2.0.0 Bye) uid=1000 username=not-root-account outbytes=1332 Is there a way I can identify this process and see what it's doing? OS is Ubuntu Server 20.04