Spamhaus dbl blocklist

Each time i setup mailinabox, my domain gets listed on spamhaus dbl almost immediately. Mind you these domains are almost a year old. As a result of this i cant send mail even after editing in etc/postfix/main.cf still would not work. Anyone has a permanent fix to this. At least a way to avoid the domain being listed. Thank you

There are many reasons why your domain would be listed on spamhaus. There’s no single solution to this, you will have to dive into it, e.g. find out the reason why you’re on spamhaus. Delist your ip, domain from different blocklists. Also good advice is to put in the time, keep your ip address the same for a longer time, let it be removed from blocklists.
And even then, you might be out of luck, e.g. your provider has bad reputation, so all it’s ips will be blocked, or something like that.
If your search this forum, there are many topics on this, that would help you get started gaining knowledge on this.

Remove yourself from as many public lists as possible.
Check here:

Whitelist yourself here: https://www.dnswl.org

Publish your abuse email on your website and on WHOIS, if your registrar permits do publish WHOIS info there as well. You do have a website on that domain?