Mautic says 'emails sent', but nothing has actually gone out

Thanks @mzagmajster. There were a lot of .message files stuck (?) in that spool folder. I am deleting them now. How can files end up in an ‘invalid state’? What does that mean?

If there were an ownership mismatch between cronjob and spool, I should still have been able to send out the emails with php bin/console mautic:emails:send, right? So I think I can eliminate that issue?

I found the cron jobs I set up years ago in /var/spool/cron. Two of them look like this:

*/3 * * * * /usr/local/bin/ea-php74 /home/myusername/public_html/mautic/bin/console mautic:emails:send >/dev/null 2>&1

I guess /ea-php74 could cause problems, since I have remove php7 and am on php8 now. Other lines have /usr/local/bin/php, so I’ll change it to that.

I also saw this “error” in the logs. I am trying to send from an email address that is an addon/alias of the main domain on my server - always worked fine in the past. Maybe there is a handover or certificate problem there somewhere. I have tried to clean that up on my server, whitelist my IP address as allowed sender, etc.