Sending email from servers
Email from Puppet-managed servers
Servers managed by Puppet are pre-configured, as long as they have the pmodule_postfix module loaded.
You can send using the local sendmail command, or any other command of your choice interacting locally.
If you need to configure an SMTP address for your application, use localhost
.
If you want to verify if your Puppet-managed server is correctly configured, issue this command (as any user):
/usr/sbin/postconf relayhost
The response should be:
relayhost = [outbound-mta.it.sikt.no]:587
Server/VM that is not Puppet-managed
We only support servers of this type who have a stable IPv4 and/or (preferrably) IPv6 address.
The server must receive security patches regularly and have sufficient monitoring in place.
Contact hjelp@sikt.no using a subject like "Email sending: whitelist server" and supply the following information:
- Server FQDN (fully-qualified-domain-name)
- Server purpose (what is it used for?)
- 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 configure the server's MTA to use [outbound-mta.it.sikt.no]:587
as a relay host.