Multiple emails being sent

Hey everyone,

I have successfully set up Mail-in-a-Box (MIAB), and everything seems to be working fine. However, I’ve run into an issue where emails are being sent twice—essentially duplicating every message. I am using SMTP via PHPMailer to handle email sending.

Has anyone encountered this issue before or have any ideas on what could be causing it? I’ve checked my PHPMailer configuration, but I can’t seem to figure out why this is happening. Could it be related to MIAB settings, a misconfiguration in PHPMailer, or something else entirely?

For reference, my server is running Ubuntu 22.04. Any insights or troubleshooting steps would be greatly appreciated!

Thanks in advance!

Most likely culprit. I would start with the mail.log and see what is actually happening there, and follow the trail…