Skip to main content

Configuring incoming email

You can enable features through which people can post content to the application by sending email to a particular address. For that, you should set the connection to an incoming email server so the instance can receive email messages from users.

The application can listen for email in order to support replying to or creating content via email. These are two distinct features, and you can enable only one of them.

  • The incoming email monitor provides support through which users can reply to a discussion by email. It only supports discussion reply posts made by replying to a discussion notification email that a user receives. This feature requires only that you configure the community to retrieve messages sent to a mailbox you specify. For more information, see Configuring incoming email monitoring.

  • The advanced incoming email monitor provides support for replying to notifications for other content types in addition to discussions. It also supports people creating content and posting it via email. This feature involves more configuration work, including setting up email routing so that the community receives the messages intended for it. For more information, see Configuring advanced incoming email monitoring.

How it works

To be posted with this feature, replies must be emails that are replies to notification emails. Although sent as text in email, the reply content appears in the community as if the recipient had posted it with a web browser. This way, users can post when they're unable to log in to the community but are able to read content through their notifications.

Notification emails sent from the application include a token in the subject line. The token is needed for the application to correlate the incoming email with its reply thread. Users should take care not to alter the token.

Here's how it works:

  1. Someone posts a discussion message (either a new thread or a reply to an existing one).
  2. The community sends email notifications to those people who have requested them.
  3. After reading the content of the post in the notification email, someone replies to the notification email with their response (taking care not to delete the token in the subject line).
  4. The email is received by the host described in the incoming email monitor settings.
  5. Watching for email received at that location, the application locates the discussion thread to which the reply belongs and posts the reply to the community.

Note that this feature supports only discussion replies — posts of new content and replies to other kinds of content aren't supported. To support those features, use the advanced incoming email feature. For more information, see Configuring advanced incoming email monitoring.

Note: This feature isn't supported when the notification reply is a digitally signed email.

Fastpath

Admin Console > System > Settings > Email Server, then Incoming

Configuring to receive email

When you configure this feature, start with settings for your incoming email server.

Select Enable Incoming Email Monitoring to turn on the reply-by-email feature for discussions.

  1. In the Admin Console, go to System > Settings > Email Server, then select the Incoming tab.

  2. Specify the parameters for the email monitoring feature as follows:

    SettingDescription
    Client ProtocolProtocol (POP3 or IMAP) that clients use to retrieve email from your mail server.
    Mail Server HostHost name, such as imap.example.com.
    Mail Server PortPort number that clients use to reach your server.
    Email Account to MonitorThe email account on the incoming mail server that the application should watch for content. For example, monitored_account@mail.yourdomain.com. This email address also serves as the reply-to address if the content is sent out from Jive.
    Account UsernameEmail account user name.
    Account Password (Optional)Account password if the server requires one from clients.
    Use SSLThe check box that indicates if the server encrypts the connection between the web nodes and the SMTP server with Secure Sockets Layer (SSL).
    Mail Folder NameThe server-side folder name (if any) that email lands in when it is received if the client protocol is IMAP.
    Delete Unrecognized Email MessagesThe check box that indicates if messages that aren't intended for the application should be removed.
    Inbox Check FrequencyThe frequency with which the server checks for new email. You should set this to a value that makes sense for your community. For very active communities, particularly when many people author by email, you might want this to be a lower number so that the application is more responsive with emailed posts.
  3. Select the Enable Incoming Email Monitoring check box to enable the email monitoring feature.

  4. Click Save Changes.

Configuring advanced incoming email monitoring

With the advanced incoming email monitor, you can set up the application to support posting most kinds of content via email. This includes posting replies to content as well as adding new content.

This feature overrides the incoming email monitoring feature. When you enable advanced incoming email monitoring, the basic incoming email monitoring is unavailable. The advanced feature includes the functionality of the basic feature (although it works differently).

Fastpath

Admin Console: System > Settings > Email Server, then Advanced Incoming

How it works

When posting content via email, a person uses one of a number of email addresses that are specifically designed for posting a particular kind of content in a particular place, such as a space or social group.

Here's how it works:

  1. Using a browser, a person goes to the place (such as a space, social group, or their profile) to which they might want to post content.
  2. The person clicks the Create by email link to display a list of the content types in that place that they can post via email.
  3. After selecting check boxes for the content types they want, the person downloads vCards representing each of the content types. They can also email the vCards to themselves.
  4. In their email application, the person uses the vCards to add the email addresses to their email address book, where they're available when they want to post via email.
  5. To post content, the person creates an email with the content they want to post, then sends the email to the address they downloaded as a vCard.

Supported content types

Content types supported by this feature include the following (depending on what your license allows):

For repliesFor creating new content
Discussion repliesDiscussion threads
Document commentsDocuments
Blog post commentsBlog posts
Direct messagesStatus message updates
SharesAnnouncements
Project tasks (native Jive tasks)
Video

Configuring network

With the advanced email monitoring feature enabled, the application receives email directly, rather than checking for messages dropped in a particular mailbox. Because of this, configuring this feature requires setting up email routing so that Jive receives emails containing content.

Note that this might require your email server administrator to prepare the system.

You need to configure email servers and route requests on port 25 to the port on which the application is listening. Here are the details:

  1. Configure email servers so that messages with content are sent to the community. Here are two likely configurations:

    • You've deployed Jive to a server where the DNS A record of the server doesn't have a corresponding MX record.

      For example, your community is deployed to community.example.com. It's unlikely that an MX record exists for the DNS A record community.example.com, so you most likely don't have to add or configure any DNS records. Mail transfer agents first attempt to look up an MX record for community.example.com; if they don't find one, they use the "implicit" or "fallback" A record.

    • You've deployed Jive to a server where the DNS A record of the server does have a corresponding MX record, and so you've created a separate DNS A record specifically for this email functionality.

      For example, your community is deployed to example.com/community. DNS A record for example.com probably already has a corresponding MX record that handles mail for the employees of example.com. To work around this, you need to create a separate DNS A record such as community.example.com which points to the same IP address as the server that Jive is deployed on, then (optionally) create an MX record that points to the A record community.example.com. If you don't create an MX record, email transfer agents use the A record as a fallback.

  2. Open inbound connections to port 25 on the server where Jive is deployed, then use iptables to forward inbound requests on port 25 to the port you specify in the feature's configuration. By default, port 2500 is used.

    Ports 1024 and below are considered privileged ports on Unix systems. (You're forwarding requests to another port to avoid running the application as root to access the privileged port, which isn't recommended.) The following is a sample iptables command to forward requests on port 25 to port 2500:

    iptables -t nat -I PREROUTING -p tcp --dport 25 -j REDIRECT --to-ports 2500
    /sbin/iptables-save

Configuring to receive email

After you've set up email routing to ensure that Jive can receive content email, you should configure the application to handle email sent to it.

Fastpath

Admin Console: System > Settings > Email Server, then Advanced Incoming

To enable and configure the advanced email monitoring feature:

  1. In the Admin Console, go to System > Settings > Email Server, then select the Advanced Incoming tab.

  2. Specify the parameters for the advanced email monitoring feature as follows:

    SettingDescription
    Mail Server HostThe host name, such as example.com. Destination email addresses take a form specific to the content type, such as status@example.com. This is typically the domain used to reach the community via a web browser.
    Mail Server PortThe port on which the application should listen for incoming email.
    Valid IPsThe IP addresses from which content email should be accepted. Use this setting to limit the locations — such as relay servers — from which content is allowed. Leave this blank to accept email from any server.
    Email address prefixThe value prepended to the reply-to address in the message header. It isn't ordinarily seen by users. The default value is "jive". Ordinarily, it's a good idea to leave this one blank. You might want to enter your own value here if you have multiple community instances and want to use the prefix to disambiguate among emails sent to them. In that case, each instance would have a different prefix.
  3. Select the Enable Advanced Email Tools check box to enable the advanced email monitoring feature.

  4. Click Save Changes.