Virtual users unknown

Discussion in 'Installation/Configuration' started by Gary Pearce, Feb 5, 2017.

  1. Gary Pearce

    Gary Pearce Member HowtoForge Supporter

    OK,

    Code:
    smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    smtpd_tls_key_file = /etc/postfix/smtpd.key
    
    NOTE slight difference (centos v debian ?)

    Code:
    [root@Hugh2 gary]# ls -l /etc/postfix/smtpd.cert
    -rw-r--r-- 1 root root 2114 Jan 20 14:45 /etc/postfix/smtpd.cert
    [root@Hugh2 gary]# ls -l /etc/postfix/smtpd.key
    -rw-r----- 1 root root 3268 Jan 20 14:45 /etc/postfix/smtpd.key
    
    Hmmm does not look like its sym linked to anything. :-(
    Where does my ISPC SSL cert live ?

    Code:
    /etc/dovecot.conf
    ssl_cert = </etc/postfix/smtpd.cert
    ssl_key = </etc/postfix/smtpd.key
    

    Oh and not sure I have a roundcubeuser or password yet. Have not started trying to tame it.

    Quite a mystery.

    It will be something stupidly obvious though :-(
     
    ahrasis likes this.
  2. Gary Pearce

    Gary Pearce Member HowtoForge Supporter

    Sorry, forgot to mention round cube.
    Checking phpmyadmin seems to indicate that round cube has no users
    Certainly seems to be the case.

    Thanks for all your help.

    Cheers
     
    ahrasis likes this.
  3. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Hopefully you can resolve the postfix symlink issue and the roundcube database issue, and then get your webmail working properly. For securing your server with Let's Encrypt, you can refer to my tips and tricks here: https://www.howtoforge.com/community/posts/355779/

    Good luck!
     
  4. Gary Pearce

    Gary Pearce Member HowtoForge Supporter

    Yeah thanks for your help,

    The tips on lets encrypt will be really useful .... once I get the mail to work at all. :)

    Cheers
     
  5. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    You will require a working SSL for a fully working mail server. ;)
     
  6. Gary Pearce

    Gary Pearce Member HowtoForge Supporter

    And the answer, Courtesy of Till was:
    Code:
    Try this:
    mv /etc/dovecot/dovecot.conf /etc/dovecot/dovecot.conf.bak
    ln -s /etc/dovecot.conf /etc/dovecot/dovecot.conf
    
    and then restart dovecot.
    
    So the certificates I set up in the ISPConfig install (how to forge document) must be OK - well so far anyway.
    And of course now I need to check out all my logs and go through your extremely useful tips document. and work out why your symlink suggestion is apparently not required on Centos. That may take quite a bit of reading :)

    Many thanks for your help

    Cheers
     

Share This Page