XF 2.3 Server error on 2.3

Alvin63

Well-known member
Recently upgraded to 2.3 and have a server error. What does it mean and do I need to do something? Thanks. "Email to from failed with exit code 1"
 

Attachments

  • Server error.webp
    Server error.webp
    112.7 KB · Views: 67
This error occurs when you're using the PHP built-in mail system (sendmail) and it fails to send an email. It's worth checking your server to see if any related errors have been logged which may provide more clues. You may also want to try SMTP mode by setting the sendmail path in config.php to see if that yields additional information:

PHP:
$config['sendmailPath'] =  '/usr/sbin/sendmail -bs';
 
The particular emails which are triggering those errors, no. I'd recommend configuring SMTP if possible as it is usually more reliable and has less opaque failures.
 
It's back again with a vengeance. Same error - 53 pages of it. I'm beginning to regret upgrading to 2.3. Issues with creating a poll as well. Not sure how you mean configure with SMTP.

I'm guessing it's 53 pages because the weekly newsletter has just gone out to all members.
 

Attachments

  • Server error 2.webp
    Server error 2.webp
    71.6 KB · Views: 12
  • Server error.webp
    Server error.webp
    118.4 KB · Views: 12
Last edited:
I have no idea what I'm doing with email - I just use the one provided by the server with the standard set up. It shows MX and SPF ticked but DKIM and DMarc not set up. Haven't a clue how to do it.
 
I’m afraid I can only reiterate what I said in my previous two messages. This is a server issue and you would need to check your sendmail error logs, try changing the sendmail path to see if you can get more information on the failures, or switch to SMTP.

If SMTP is available it’s typically more reliable or at least provides better signaling when errors do occur.
 
When you say use SMTP do you mean set that in the XF admin panel? I have the default PHP there but apparently the email (hosted by the server) has SMTP. What would happen if I changed it from PHP to SMTP in Xenforo?

Server has re-set the send email. I'll see if that makes any difference
 
Last edited:
Back
Top Bottom