CliQr is now part of Cisco Learn More About Cisco

Configure SMTP Mail Servers in CCMs

Overview

This section explains how to set up your SMTP mail server to use CCM to send emails.

Icon

The CloudCenter platform does not support TLS ports. The CloudCenter platform only supports SSL ports to configure SMTP mail servers.

Icon

Add the password string in encrypted format.

The Mail Properties File


The mail.properties file is available in your local Tomcat server at /usr/local/tomcat/webapps/ROOT/WEB-INF/mail.properties.

# The hostname or IP address of your SMTP server

# Currently mob-gen.com email domain is hosted by gmail
# Gmail requires smtp over ssl, do not modify these settings
mail.smtp.host=smtp.gmail.com
mail.smtp.auth=true
mail.smtp.port=465
mail.smtp.socketFactory.port=465
mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
mail.smtp.socketFactory.fallback=false

# Email user to authenticate to gmail
mail.user.number=1

mail.user.1=<your_osmosix_email_addr>
mail.password.1=<your_email_password>
from.mail.user.1=<your_cloudcenterrtech_email_addr>
from.mail.username.1=

SMTP Configuration Process

To configure SMTP mail servers in CCM, follow this process.

  1. Open the mail.properties file.
    vi /usr/local/tomcat/webapps/ROOT/WEB-INF/mail.properties
  2. Modify the required settings in this file.
    For example, if using Gmail, the only lines to change are:

    mail.user.1=<your_osmosix_email_addr>

    mail.password.1=<your_email_password>

    from.mail.user.1=<your_cloudcentertech_email_addr>

    from.mail.username.1=

    Similarly, change the required lines in your mail.properties file to ensure that you can access you mail from the CCM

  3. Restart Tomcat.
    /etc/init.d/tomcat restart

 

 

  • No labels