Freepbx mail queue not delivered

The frustration of a mail queue not being delivered in FreePBX!

Here are some steps to help you troubleshoot and resolve the issue:

  1. Check the mail queue: Log in to your FreePBX web interface and navigate to Status > Mail Queue. This will show you the current mail queue, including the messages that are stuck.
  2. Check the mail log: Look for errors in the mail log by navigating to Status > Mail Log. This will show you the latest mail log entries, which may indicate the reason why the messages are not being delivered.
  3. Check the mail server configuration: Ensure that your mail server is properly configured and that the mail server is running. You can check the mail server status by running the command asterisk -rx "mailq" in the terminal.
  4. Check the recipient's email address: Verify that the recipient's email address is correct and that the email address exists. You can try sending a test email to the same address to see if it's delivered successfully.
  5. Check the mail server's DNS settings: Ensure that the mail server's DNS settings are correct and that the mail server can resolve the recipient's email address.
  6. Check the mail server's authentication settings: Verify that the mail server's authentication settings are correct and that the mail server is authenticating correctly with the recipient's email server.
  7. Check the mail queue for stuck messages: Look for messages that are stuck in the mail queue and try to deliver them manually by running the command asterisk -rx "mailq -d <message_id>" in the terminal, replacing <message_id> with the ID of the stuck message.
  8. Check the mail server's logs: Check the mail server's logs for any errors or issues that may be preventing the messages from being delivered.
  9. Try sending a test email: Send a test email to the same address to see if it's delivered successfully. If it's not, try sending a test email to a different address to see if it's delivered successfully.
  10. Consult the FreePBX documentation: Consult the FreePBX documentation for more information on troubleshooting mail queue issues.

Some common issues that may cause mail queue not being delivered in FreePBX include:

By following these steps, you should be able to troubleshoot and resolve the issue with your mail queue not being delivered in FreePBX.