How To Configure sources.toml File

Hi There

I’m installing KumoMTA. We have always used Postfix to send e-mails on our VPSs. Postfix was setup by someone who is not with us anymore. Just checking.

What would be the values for the following if the server is server.training.iso-astc.co.za and the domain is training.iso.astc.co.za pointing to 213.199.55.108

[source.“ip-1”]
source_address = “10.0.0.1”
ehlo_domain = ‘mta1.examplecorp.com

[source.“ip-2”]
source_address = “10.0.0.2”
ehlo_domain = ‘mta2.examplecorp.com

[source.“ip-3”]
source_address = “10.0.0.3”
ehlo_domain = ‘mta3.examplecorp.com

Pool containing just ip-1, which has weight=1

[pool.“pool-1”]
[pool.“pool-1”.“ip-1”]

Pool with multiple ips

[pool.“pool-2”]

[pool.“pool-2”.“ip-2”]
weight = 2

We’re warming up ip-3, so use it less frequently than ip-2

[pool.“pool-2”.“ip-3”]
weight = 1

There is only one IP and we are using Mautic to send the e-mails.

We are running AlmaLinux 8

Hey there @congenial-porcupine, thanks for posting. Please read the “Troubleshooting” and “How to Ask for Help” buttons below. If you would like a 1:1 support session from the KumoMTA team, details are at the “Book a Support Session” button below.

If you only have the one IP and it appears to be public, you can just to one source and one pool. Then assign to the pool.

[source.“ip-1”]
source_address = “213.199.55.108”
ehlo_domain = ‘training.iso.astc.co.za’

[pool.“pool-1”]
[pool.“pool-1”.“ip-1”]

However, it is more typical to assign to a private IP that NATs to that public facing IP.

Thanks @faithful-ostrich