I was following this guide & noticed that during the section I was to modify my /etc/postfix/main.cf file, do I not need to add a mydomain = mydomain.tld? For example: Code: # Domain settings myhostname = mail.mydomain.tld [B][COLOR="Red"]mydomain = mydomain.tld[/COLOR][/B] myorigin = mydomain.tld mydestination = $myhostname, localhost.$mydomain, localhost The guide tells you to reference $mydomain parameter under the "mydestination =" section however we are never instructed to enter this parameter according to the link above. Should we add the "mydomain =" parameter or is it not necessary and only clutter?
Code: [root@mail ~]# postconf -d | grep -i "mydomain" append_dot_mydomain = yes mydestination = $myhostname, localhost.$mydomain, localhost mydomain = localdomain [root@mail ~]# postconf -n | grep -i "mydomain" append_dot_mydomain = no mydestination = $myhostname, localhost.$mydomain, localhost
The default setting currently is mydomain = localdomain. If you want to change it, run Code: postconf -e 'mydomain = mydomain.tld' and restart Postfix.