Enabling IMAP server in ServerConfig

Build 1501 on 14/Nov/2017  This topic last edited on: 21/Mar/2016, at 18:34

In version 1.5, the ServerConfig is changed, more precisely MailServer configuration has changed (due to IMAP support).

All the attributes who started with POP3... have been renamed to Mail... and a new attribute MailServerType has been added.

<!--

    Mail server configuration.

 

    MailServerType

      The type of mail server: pop3/imap

 

    MailHost

      The name of the incoming mail server or its IP address

 

    MailUserName

      The user name of the account connecting to the mail server.

      For security purpose, it is recommended to leave empty the parameters MailUserName and MailPassword,

      and to store the credentials at users and groups level (users and/or groups editing forms, tab "Credentials"),

      by creating a new entry with 'URL' field set to 'pop3://<host>' (<host> being the value of the MailHost parameter)

      and 'Authorization type' field set to 'Basic'.

 

    MailPassword

      The password of the account connecting to the mail server

 

    MailDomain

      The domain of the account connecting to the mail server

 

    MailPort

      The incoming mail server port (default 110)

 

    MailUseSSL

      Defines if SSL authentication will be used when connecting to the mail server

 

    SmtpHost

      The name of the outgoing SMTP mail server or its IP address

 

    SmtpUserName

      The user name of the account connecting to the SMTP mail server

      For security purpose, it is recommended to leave empty the parameters SmtpUserName and SmtpPassword,

      and to store the credentials at users and groups level (users and/or groups editing forms, tab "Credentials"),

      by creating a new entry with 'URL' field set to 'smtp://<host>' (<host> being the value of the SmtpHost parameter)

      and 'Authorization type' field set to 'Basic'.

 

    SmtpPassword

      The password of the account connecting to the SMTP mail server

 

    SmtpDomain

      The domain of the account connecting to the SMTP mail server

 

    SmtpPort

      The outgoing SMTP mail server port (default 25)

 

    SmtpUseSSL

      Defines if SSL authentication will be used when connecting to the SMTP mail server

 

    AdminEMailAddress

      The E-mail address used for sending administration communications (e.g. password recovery)

      (default 'GNPortalAdmin@teradp.com')

  -->

 

<!--

  <MailServer

    MailServerType="pop3"

    MailHost=""

    MailUserName=""

    MailPassword=""

    MailDomain=""

    MailPort="110"

    MailUseSSL="false"

    SmtpHost=""

    SmtpUserName=""

    SmtpPassword=""

    SmtpDomain=""

    SmtpPort="25"

    SmtpUseSSL="false"

    AdminEMailAddress="GNPortalAdmin@teradp.com"

  />

-->

For compatibility reasons old configurations will continue to work (attributes POP3... will be used as Mail... with MailServerType set to pop3); for new configuations use the new attributes.