Email parameters -

Discussion in 'Installation/Configuration' started by migratoria, Apr 9, 2022.

  1. migratoria

    migratoria New Member

    Entering the parameters in Thunderbird or Outlook:
    imap.mysite.com
    smtp.mysite.com

    I get invalid certificate problems.

    except for this change reported here which I consider too invasive
    howtoforge.com/securing-your-ispconfig-3-managed-mailserver-with-a-valid-lets-encrypt-certificate/
    there is a simpler way to bypass this problem?

    I tried to insert the name server:
    imap.ns30***07.ip-1**-2**-2**.eu
    smtp.ns30***07.ip-1**-2**-2**.eu
    But it doesn't seem to work
     
  2. recin

    recin Active Member

    You are supposed to use the ispconfig server name in outlook config instead of mail domain name because that's the only one with postfix SSL cert.
    I would like to use mail domain name also but that's not how ispconfig works.
     
  3. migratoria

    migratoria New Member

    Forse devo impostare un valore particolare nel mio dns?
    Puoi mostrarmi un esempio dei parametri di configurazione che hai su Thunderbird o Outlook?
    Ho provato a inserire: imap.nameserver.ip-1 ** - 2 ** - 2 **. Eu ma non funziona
    The email works only i add imap . mydomain .tld but i have an error in the certificate, after.
     
    Last edited: Apr 9, 2022
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    You must use the hostname of your server as imap and smtp server. The hostname of the server is what the following command returns on your system:

    hostname -f
     
  5. migratoria

    migratoria New Member

    Hi till
    If i add only the name server the email works perfectly but if add the suffix smtp.nameserver or pop3.nameserver the email not work
    Don't have to specify which suffix to use in my thunderbird or outlook config?

    maybe i need to add a specific dns for pop3 or imap in my domain configuration?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    That's expected as you can't use these wrong server names to connect to your system and adding any suffixes or prefixes to the correct server name must make it fail as well.

    A suffix is never needed to connect to any server, whether you use ISPConfig or any control panel and no matter which service you use. Services like email, FTP, ssh do not care about any kind of suffix.

    No, all you have to do is to do exactly what I suggested in post #4. So here again, if you do not know the hostname of your server, then login to your system and run the command:

    hostname -f

    and what this command returns must be used in your email client as imap and SMTP server. you must use EXACTLY what the command returns, don't add any chars, whitespace suffixes, prefixes!
     
  7. migratoria

    migratoria New Member

    Thanks for the explanation
     
  8. Pedro A.

    Pedro A. Member

    Hi.
    I've configured a new ispconfig email server.
    I configured A dns record value mail.mydomain.com and smtp.mydomain.com that points to my ip public server.
    Then Outlook works ok but each time I open it a warning is displayed saying: the server you are connected is using a security certificate that can't be tested, the security entity name is incorrect... (or something else because I'm using Spanish version).
    If I change POP/IMAP name servers in Outlook like you said at post #4 the the message is not displayed, but I want to use mail.mydomain.com instead hostname.
    It's possible?
    Thanks.
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    The SSL cert of the mail system is issued for the hostname, so if you use a different name, then the SSL cert is not valid for that name. That's why you should use the server hostname as pop3/imap and smtp server. You can use other names of course, but you must then create or buy a SSL cert for that other name and manually configure it for your system.
     
    Pedro A. likes this.
  10. Pedro A.

    Pedro A. Member

    Ok!
    Thanks for the explanation.
    All clear now.
     

Share This Page