Allow incoming mail from non-existent domain?

I’m getting:

Sender address rejected: Domain not found

For incoming mail where the “From” address’s domain does not exist. (In this case this is a device which mails from something@something.local.). Can I add that something.local specifically somewhere or disable “sender’s domain must exist”?

Thanks.

SYSTEM INFORMATION
OS type and version Ubuntu 24.04
Virtualmin version 7.50

Looking through /etc/postfix/main.cf I see provisions to accept a local network.

mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
smtpd_recipient_restrictions = 
   permit_mynetworks

I found:

What domains to receive mail for

Under:

Webmin > Servers > Postfix Mail Server > General Options

Which I hope is the right thing.

It looks like mynetworks regards IPs and smtpd_recipient_restrictions is a command type of thing.

1 Like

It probably edits that file. For me, editing the file is easier and quicker than looking through menus.

It looks like the config for what I have. Did this work for you?

It did. Thank you.

Nice. Please mark your post as solution for future seekers. :wink:

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