Roots Discourse

Large dead.letter at /home/web/


#1

I have a trellis install in which /home/web/dead.letter is increasing rapidly.

I imagine this is because of some process that is trying to send emails and failing.

I’m using G-Suite for SMTP–the same account that is set as the default WP admin account email.

I’m not quite sure how to figure out what process is populating the dead letter file and hoping for some insight.

Thanks, friends.


#2

That was quick.

sudo tail -10 /var/log/mail.err
sSMTP[15359]: Authorization failed (535 5.7.8  https://support.google.com/mail/?p=BadCredentials

Forgot I had updated the gmail credentials. Whoops.

Short Solution

/trellis$ ansible-vault edit group_vars/all/vault.yml

Update password

ansible-playbook server.yml -e env=production  --tags=mail

Better solution. Stop using my gmail account for SMTP. Use one of the recommended ones and dedicate the account to the site…