Configure digital mail

SmartPost uses e-Boks to implement digital mail (Digital Post). For SmartPost to be able to communicate with e-Boks, the organization must make an agreement (tilslutningsaftale) with e-Boks first.

SmartPost supports Digital Post 1 and 2.

To configure digital mail using e-Boks, you need to complete the following steps.

  1. Acquire and install a certificate.
  2. Ensure Internet access.
  3. Configure the dispatch system.
  4. Configure the retrieval system.

You need to complete all steps for both test and production environments.


Certificate

The organization must acquire and install a certificate (funktionscertifikat) with a password. See Acquire and install the e-Boks Certificate.

Apply the certificate to the SmartPost process

You must add the private key of the IIS user that runs the WzpSvc app pool to the e-Boks certificate and set up the e-Boks dispatcher to run with this certificate. See Apply certificates to SmartPost .


Internet access

For SmartPost to be able to communicate with e-Boks, it is required that the server that runs SmartPost has Internet access to e-Boks.

Environment URL Port
Test https://demo-rest.e-boks.dk/V1.svc 443
Production https://rest.e-boks.dk/v1.svc 443

For Microsoft Windows Server 2008 R2, you must make TlS 1.2 available to the operating system. See Add the TLS 1.2 key to Registry (Windows Server 2008 R2).

As SmartPost is deployed on the web servers, it is only required to open for access to e-Boks from the web servers.


Configure the dispatch system

When you have uploaded the certificate and configured a dispatch system using the Digital Post Administration portal, you need to configure SmartPost to reflect the configuration of the dispatch system. See Configure SmartPost for sending messages.

For information about creating a dispatch system, refer to Vejledninger Digital Post from Digitaliseringsstyrelsen.


Configure the retrieval system

When you have uploaded the certificate, you can start configuring a retrieval system using the e-Boks Administration portal. The minimum configuration of a retrieval system consists of a mailbox and a subject, to which you attach the retrieval system. Next, you need to configure SmartPost to reflect the configuration of the retrieval system. See Configure SmartPost for receiving messages.