Postfix Mail Server

Introduction

Postfix can be used as a full-featured SMTP server or as a Mail Transfer Agent (MTA). In a public cloud environment, the usual requirement is to have a MTA for the applications to send out emails using the corporate email infrastructure. A Postfix server can be configured to do that. This AMI has the latest, stable build of Postfix Mail Server installed on the target operating system with latest patches applied.

Supported platforms

Following distributions and versions of AMIs are available on AWS Marketplace:

Unsupported Configurations

Kurian releases latest, stable versions of open source software on popular Linux distributions. If you need a configuration that is not currently available in marketplace, send us your requirements to contact@kurianinc.us. Please include the following info in the email:

  • Name of Software to be on the AMI with version numbers.
  • Linux distribution and the version.
  • The EC2 instance type you plan to spin up from the AMI (optional).

Configuration

  • SSH into the new EC2 instance as user specific to the operating system. See Remote Access to EC2 Node below to see the users listed.
  • The Postfix service can be managed using the systemd command sudo systemctl start|stop|status postfix. The service will be up and running when the node is ready. The service can also be managed using postfix commands: postfix start|stop|status. Note: On Ubuntu 20.04 the postfix service will not be running after the EC2 node is spun up. It can be started/stopped using the command: sudo /usr/sbin/postfix start stop
  • After the EC2 node is spun up refer the Postfix documentation for setting it up. Kurian also provides professional services to configure mail or MTA services for any AWS environment based on this AMI.

Upgrade

  • Move existing Postfix configurations to a new instance and restart the postfix service.
  • To upgrade to a new version of Postfix, spin up a new host with that version and move the configurations to that host. In place upgrade is not recommended unless it’s not used in production.

Maintenance and Troubleshooting

Kurian can help with configuring Jenkins for your specific needs. Contact us with details to contact@kurianinc.us

Remote Access to EC2 Node

Following are the standard AWS defined users available when a node is provisioned:

  • Amazon Linux: ec2-user
  • Red Hat Linux: ec2-user
  • SuSE Linux: ec2-user
  • Fedora: fedora
  • CentOS: centos
  • Debian Linux: admin
  • Ubuntu: ubuntu