Sending email from applications
What is an application ?
By application we mean any of the following:
- Self-written application
- Self-hosted application (not written in-house)
- SaaS (Software-as-a-Service, or cloud service)
App running on a Puppet-controlled server/VM
Configure the application to send email locally.
If the application is using its programming language's generic email-sending functions, this is probably already the case.
If not, you should configure your application to use localhost
as mailserver (SMTP server).
App running on a custom server/VM/appliance
If your app is:
- not running on a Puppet-controlled server
- has a stable IPv4 and/or (preferrably) IPv6 address
- receives patches regularly (no install-and-forget)
- is monitored for suspicious activity
Then we can whitelist its IP. Contact hjelp@sikt.no and supply the following information:
- Application name
- Application purpose
- IPv4 address
- IPv6 address
- Name of owning team
- Contact information (how to contact the owning team - email? Team? Slack?)
When the whitelisting is in place, you can use this SMTP server: outbound-mta.it.sikt.no
Cloud service or app running in the cloud somewhere
To send email from an app in the cloud, you will probably need to use credentials (username and password).
Unfortunately, we don't support this. Contact InternIT on hjelp@sikt.no, maybe they can help.