ddavness / power-mailinabox

A Mail-in-a-Box with extra capabilities and more customizability. Not just for power users!
Creative Commons Zero v1.0 Universal
168 stars 31 forks source link

Use SMTP Relay only for specifiy domains #125

Open psychofaktory opened 1 year ago

psychofaktory commented 1 year ago

Hello,

the IP range of the provider of my VPS on which Mail-In-A-Box is installed is currently blocked by Microsoft. This usually happens every 2-3 month and its a pain to get unblocked again everytime.

As a workaround it is recommended to us a SMTP server whose IP has a better reputation. For this purpose the SMTP relay function of PMiaB would be perfect

Now I don't want to route all outgoing emails through the relay, but selectively only the emails sent to Microsoft addresses (outlook.com, hotmail.com, live.com and the respective derivatives with other TLDs) through the relay. All other emails should be sent directly.

How can this be configured?

ddavness commented 1 year ago

We don't have a way to configure this "easily" (yet) - right now it's either you use the relay for everything or you don't use it at all.

It's a feature request that I've been asked a few times, though.