Error when sending mail from Roundcube Webmail

Symptom:
You can login to Roundcube/Webmail but receive an error when sending.

Possible Solution:
Edit the following file
/usr/local/topicdesk/roundcube/WebApp/config/config.inc.php

Add the following 2 lines
$config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p';

Changes take effect immediately, no need to logout.

Test sending mail.


Please leave a comment if this worked for you, or if it didn’t and you’d like additional advice.

Jeff

5 replies
  1. David Blanchard
    David Blanchard says:

    We’re running MacOS Sierra 10.12.1 and Server 5.2 as well, but Roundcube we let me past the login screen (404 error?) this was an upgrade from older OS where it worked fine. Tried re-installing the 1.14 installer but that didn’t fix it. Tried the webappctl start command shown in the other topic, but didn’t help (but does report round cube as running). Do I need to do a manual upgrade to 1.2.3? Or is something else wrong? Thanks in advance.

    Reply
  2. Eric
    Eric says:

    Worked for me with OSX 10.13.3 and Server 5.2

    But to get this far I needed
    sudo /Applications/Server.app/Contents/ServerRoot/usr/sbin/webappctl start com.topicdesk.roundcube
    to get and changed the port used for webdav to 443 get the dates correct.

    I only have one persistent problem now I keep getting these every 30 seconds in my imap server log

    Feb 04 21:47:52 imap-login: Info: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, TLS handshaking: SSL_accept() failed: error:14094416:SSL routines:SSL3_READ_BYTES:sslv3 alert certificate unknown: SSL alert number 46

    I have not anonymised the message it that is just how it is no user and no ip address.

    Reply
    • Jeff Johnson
      Jeff Johnson says:

      user=<>
      This is a vacation message, bounce or other server-based reply.

      rip=::1, lip=::1
      This is the IPv6 loopback address. equivilient to ipv4 127.0.0.1

      The TLS handshake message is ‘info’ level.. its not an error or warning.
      If you have a signed cert, you could eliminate the message by adjusting the imap config to use TLS or SSL and match your signed certificate common name.

      An example.. edit this file
      /usr/local/topicdesk/roundcube/WebApp/config/config.inc.php

      Change
      $config[‘default_host’] = ‘localhost’;
      To
      $config[‘default_host’] = ‘tls://mail.mydomain.com’;

      Jeff

      Reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *