Port 25,465 & 587 is using 127.0.0.1 as bind address

image
Hello there for some reason my box is using 127.0.0.1 as bind address insted of 0.0.0.0 how can i change this behaviour i have everything else working fine but suddenly this issue comed from no where

What is the output of the following command:

sudo ufw status

Also if you run this command:

sudo grep -irl "your external IP address" /etc

The output should list all files containing your IP address

This is my output:

    spamassassin/local.cf.dpkg-old
    fail2ban/jail.d/mailinabox.conf
    mailinabox.conf
    postfix/outgoing_mail_header_filters
    postfix/main.cf
    postfix/main.cf.orig
    nsd/nsd.conf
    nsd/nsd.conf.dpkg-old
    nsd/zones/mydomain.tld.txt
    nsd/zones/mydomain.tld.txt.signed
    nsd/zones/box.mydomain.tld.txt
    nsd/zones/box.mydomain.tld.txt.signed

Compare your output with mine, if you’re missing a file maybe that’s why those ports only bind to localhost

i got some more and some less

EDIT: i did sudo mailinabox again and it seems to fix the issue thanks for the response

How do i set this tho
This domain’s DNSSEC DS record is not set. The DS record is optional. The DS record activates DNSSEC. See below for instructions.

MTA-STS policy is missing: STSFetchResult.NONE

For the DNSSEC bit you need to configure some stuff at your domain registrar. See the instructions for more info.

The MTA-STS issue usually fixes itself after one night

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.