Ooops. I forgot to mention one other little tweak that may be useful
for educational purposes (not to mention it's prettier than sed).

Instead of:

sed -i "s/#myhostname = host.domain.tld/myhostname = \
        [localhost.localdomain]/" /etc/postfix/main.cf &&

use:

postconf -e "myhostname = [localhost.localdomain]" &&



-- 
Archaic

Want control, education, and security from your operating system?
Hardened Linux From Scratch
http://www.linuxfromscratch.org/hlfs

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to