Postal supports sending messages from different IP addresses. This allows you to configure certain sets of IPs for different mail servers or send from different IPs based on the sender or recipient addresses.
Enabling IP pools
By default, IP pools are disabled and all email is sent from any IP address on the host running the workers. To use IP pools, you'll need to enable them in the configuration file. You can do this by setting the following in your
postal.yml configuration file. You'll then need to restart Postal using
postal stop and
general: use_ip_pools: true
Configuring IP pools
Once you have enabled IP pools, you'll need to set them up within the web interface. You'll see an IP Pools link in the top right of the interface. From here you can add pools and then add IP addresses within them.
Once an IP pool has been added, you'll need to assign it any organization that should be permitted to use it. Open up the organization and choose IPs and then tick the pools you want to allocate.
Once allocated to an organization, you can assign the IP pool to servers from the server's Settings page. You can also use the IP pool to configure IP rules for the organization or server.