Roundcube + Let's Encrypt (multi-domain)

Discussion in 'Server Operation' started by Zendo_vysn, Jun 8, 2019.

  1. Zendo_vysn

    Zendo_vysn New Member

    Hi, I have been searching for this for a while now, but didn't find an answer. If I missed something please just direct me to some right resources if possible.
    I am running the perfect server setup on Debian 9 and want to be able to support multiple domain emails with Let's Encrypt SSL. (Currently most emails just go straight to spam on gmail).
    Would something like this work (%s):
    Code:
    // IMAP socket context options
    // See http://php.net/manual/en/context.ssl.php
    // The example below enables server certificate validation
    $config['imap_conn_options'] = array(
    'ssl' => array(
    'verify_peer' => true,
    'verify_depth' => 3,
    'cafile' => '/etc/letsencrypt/live/%s/fullchain.pem',
    ),
    );
    // SMTP socket context options
    // See http://php.net/manual/en/context.ssl.php
    // The example below enables server certificate validation, and
    // requires 'smtp_timeout' to be non zero.
    $config['smtp_conn_options'] = array(
    'ssl' => array(
    'verify_peer' => true,
    'verify_depth' => 3,
    'cafile' => '/etc/letsencrypt/live/%s/fullchain.pem',
    ),
    );
    
    Or should I actually add the SSL on postfix somehow? I am quite new at managing servers, pardon ^^
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  3. Zendo_vysn

    Zendo_vysn New Member

    I honestly just outsourced my email to an external provider, until I will be able to be sure I can manage the mail service securely.
    This also makes sense if the server goes down, I can at least have access to e-mails and talk to customers.
     

Share This Page