Skip to content

Mail Forwarding

Mail Forwarding explains how inbound email can be routed into Emakin channels so that incoming messages create or update cases automatically.

With mail forwarding, Emakin:

  • can create new cases from incoming email
  • tracks email threads
  • links new email to an existing open case when the thread matches

The channel email options are available from the channel Edit dialog.

Channel e-mail options dialog

Channel Addresses

Channels can use:

  • an auto-generated forwarding address
  • an optional custom email address

Example address formats:

DNS / MX Setup

If a new SMTP subdomain is used for forwarding, add an MX record in DNS.

Typical DNS setup flow:

  1. open the DNS management panel
  2. create the mail-forwarding record under the configured incoming-mail domain
  3. point it at the Emakin application hostname
  4. set the type to MX
  5. save the configuration

If the mail server is hosted internally, an internal MX record may be sufficient.

Verify SMTP Availability

Before forwarding email into Emakin, verify that the SMTP service is listening on ports such as 25, 465, or 587.

Connection-check example:

1
curl -vvvk smtp://localhost:587

The current page includes a full sample response showing a successful SMTP handshake.

Send a Test Message

Test-send example:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
curl -k -vvv --ssl \
  --url 'smtp://localhost:587' \
  --mail-from '[email protected]' \
  --mail-rcpt '[email protected]' \
  --upload-file - <<'EOF'
From: [email protected]
To: [email protected]
Subject: Test mail

Hello,
This mail is a test mail.
EOF

Warning: The --mail-rcpt value must be changed to a real channel email address or the message will be rejected.

Google Gmail Forwarding Example

A typical Gmail routing workflow is:

  1. open admin.google.com
  2. choose GMail under Google Workspace
  3. open the Routing section
  4. find Email forwarding using recipient address map
  5. select ADD RULE
  6. name the rule
  7. map the public address to the generated Emakin channel address
  8. add more channel mappings if needed
  9. select All incoming messages
  10. save the rule

Google Admin Gmail navigation

Google Gmail forwarding rule example