zone-eu / zone-mta

📤 Modern outbound MTA cross platform and extendable server application
European Union Public License 1.2
606 stars 96 forks source link

Any way to add entire subnet to outbound? #395

Closed ravivgolov closed 5 months ago

ravivgolov commented 6 months ago

Hello

Is there any way to add an entire subnet instead of a single IP?

louis-lau commented 6 months ago

A pool is an array of addresses. For an entire /24, just add 254 addresses.

ravivgolov commented 6 months ago

Not an easy task, do you mean like that: default=["1.2.3.3", "1.2.3.4", "1.2.3.4"]

Another question, can I extract the rfc288 source email for inspection from the logs?

louis-lau commented 6 months ago

Not an easy task, do you mean like that: default=["1.2.3.3", "1.2.3.4", "1.2.3.4"]

Yep! I feel like there are tools out there that can spit out every address in a subnet if you really need it. Sounds like a fairly easy task.

Another question, can I extract the rfc288 source email for inspection from the logs?

Messages aren't kept after they're delivered, unfortunately. Not in the logs either, that would make for one huge log otherwise.

ravivgolov commented 6 months ago

Thanks,

Can I disable the logs to not save to mongo?

And this first time I see it: "SMTP error from remote mail server after pipelined MAIL FROM: SIZE=37634: 452 Can not send from info@domain.com. Try again later."

Why he is blocked? with other MTA, he were able to send.

ravivgolov commented 5 months ago

I have no got the answer I am looking for.