Web Mail will not send - SMTP Error (-1) Connection to Server Failed

  • I've just installed imscp and I can send e-mail from Thunderbird but not from the systems Webmail.


    Also I'm not receiving any emails.


    I'm using imscp 1.1.0-RC3 on Ubuntu 12.04


    Jeff

    Edited once, last by globalwebhost ().

  • Do you use an external nameserver? If yes then you have to set the right entries on the nameserver. You could find them in this file:


    /var/www/imscp/gui/public/tools/webmail/config/main.inc.php


    Code
    1. $rcmail_config['default_host'] = 'imap.panel.yourdomain.com';$rcmail_config['smtp_server'] = 'smtp.panel.yourdomain.com';


    You could also change the values like this, but on the next imscp update you have to do that again. The better solution is to make the entries on your external nameserver.


    Code
    1. $rcmail_config['default_host'] = 'localhost';
    2. $rcmail_config['smtp_server'] = 'localhost';