Skip to content
Doug Bell edited this page May 8, 2017 · 1 revision

Mailer

The mailer sends out the e-mail reports daily, weekly, monthly, or every incoming test report based on the user's preferences. As it reads reports, it stores the last ID it sent in data/mailer-lastid.txt.

Diagnostics

  1. Check the logs in /media/backend/cpantesters/reports-mailer/logs
    • Each log should have a "last_id" which is the last ID in data/mailer-lastid.txt when it starts up.
      • This corresponds to the id field in cpanstats.cpanstats database table
      • SELECT MAX(id) FROM cpanstats.cpanstats will get the current last ID
  2. Check that it is currently running
    • This is run by autorun-mail1.sh
Clone this wiki locally