Unable to send test email from SolusVM

Have more questions? Submit a request

Applicable to:

  • SolusVM

Symptoms 

  • Unable to send test email from SolusVM at SolusVM > Tools > Email:

    SVM_ERROR: Error!
    Email not sent
    Could not instantiate mail function.

  • In /var/log/maillog the following error is produced:

    CONFIG_TEXT: DSN: undisclosed-recipients:;... List:; syntax illegal for recipient addresses
    means that the script is translating the admin email address incorrectly.

Cause

This is SolusVM bug with ID SVM-2776 which was fixed in SolusVM version 1.24.04.

Resolution

Update to the latest SolusVM mainline version.

If the update is not the option at the moment use the below workaround:

Workaround
  1. Connect to Master node via SSH
  2. Download a custom fix:

    # wget https://solus.zendesk.com/hc/article_attachments/13267450118295/email.zip

  3. Backup the original php script:

    # mv /usr/local/solusvm/www/admincp/email.php{,.old}

  4. Unpack the downloaded archive, move it to the proper location and set correct ownership:

    # unzip email.zip
    # mv email_encrypted.php /usr/local/solusvm/www/admincp/
    # mv /usr/local/solusvm/www/admincp/email_encrypted.php /usr/local/solusvm/www/admincp/email.php
    # chown solusvm:solusvm /usr/local/solusvm/www/admincp/email.php

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.