On Mon, Mar 23, 2026 at 11:43:16AM -0400, Scott Hollenbeck wrote:
> > It seems you have the default "append_dot_mydomain = no", so "@juno"
> > survives unmodified. My advice is set the system hostname to a
> > fully-qualified name and rewrite it if necessary, because some
> > software may default to appending the system hostname to unqualified
> > addresses.
> >
> > > append_dot_mydomain = no
> >
> > My choice may be outside the mainstream, but I generally set this to "yes".
>
> [SAH] I tried that. It changed "juno" to "juno.net". Closer, but still not
> correct.
In that case, you have an unfortunate setting of "mydomain". Since
what's appended by that parameter to bare hostnames is unsurprisingly
".$mydomain". Don't set "$mydomain" to "net".
> I tried changing the value of the hostname (in /etc/hostname) from
> "juno" to "dnsmon.net". That fixed the sending domain issue, but I
> still need to figure out why my server configuration is incorrect. At
> least I know the problem isn't with postfix. Thanks, Viktor.
You're welcome. FWIW, my hostnames are these days always FQDNs.
Decades ago I used to configure bare hostnames, and set the domains
suffix separately, but the world has changed and this no longer makes
sense.
--
Viktor. 🇺🇦 Слава Україні!
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]