On Wed, Dec 31, 2025 at 01:27:38AM +1100, Viktor Dukhovni via Postfix-users 
wrote:
> On Tue, Dec 30, 2025 at 02:16:09PM +0000, Chris Green via Postfix-users wrote:
> 
> > My main.cf has myhostname commented out which leaves postfix to work
> > it out for itself, should I revert to setting myhostname explicitly?
> 
> Well, what you should definitely set explicitly is "myorigin", which
> determines the domain parts of unqualified addresses.  You would
> generally also explicitly set "mydomain", especially, if like me, you
> prefer the historical "append_at_mydomain = yes", rather than its new
> default value "no".
> 
I do have myorigin set, the relevant part of main.cf is:-

    # myhostname = q957.zbmc.eu
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = zbmc.eu
    mydestination = zbmc.eu, $myhostname, chris.zbmc.eu
    # relayhost = [mail.gandi.net]:465
    relayhost = [smtp-auth.mythic-beasts.com]:465
    mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128

-- 
Chris Green
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to