Roundcube config TLS://localhost vs TLS://mail.example.tld

Discussion in 'Server Operation' started by girthh, Dec 21, 2019.

  1. girthh

    girthh New Member

    Best practice for multiple ISPconfig websites' email addresses and TLS?



    Code:
    $config['default_host'] = 'tls://mail.example.com';
    
    vs.
    Code:
    $config['default_host'] = 'localhost';
    
    or maybe even
    Code:
    $config['default_host'] = 'tls://localhost';
    


    Code:
    $config['smtp_server'] = 'tls://mail.example.com';
    
    vs.
    Code:
    $config['smtp_server'] = 'tls://localhost';
    


    Code:
    $config['imap_conn_options'] = array(
      'ssl'         => array(
         'verify_peer'  => true,
         'verify_depth' => 3,
         'cafile'       => '/etc/openssl/certs/ca.crt',
       ),
     );
    
    vs
    Code:
    $config['imap_conn_options'] = array(
    'ssl'         => array(
         'verify_peer'       => false,
         'verfify_peer_name' => false,
      ),
    );
    
    **$config['smtp_conn_options'] identical**



    and, of course...
    Code:
    $config['smtp_port'] = 587;
    

    (Perfect server tutorial, Debian 10, ISPconfig(3.1), NginX(1.14), Postfix(3.4.7), Roundcube, Dovecot(2.3.4.1), PHP(7.3), Digital Ocean hosting, and lots of altering/tinkering)
     
    Last edited: Dec 21, 2019
  2. girthh

    girthh New Member

    #faith
     
  3. girthh

    girthh New Member

    nobody?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    It does not matter how many email domains you run on that server, the setting should be:

    $config['default_host'] = 'localhost';

    and you don't need TLS as its a local connection inside the server.
     
    girthh likes this.

Share This Page