From: Andy Witter Date: Mon, 17 Dec 2012 18:36:34 +0000 (-0500) Subject: removing hardcoding of hostnames in postfix config to allow for hostname prefixes X-Git-Tag: GenaSYS-2.3.6~53 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d6b125ae9d3a087b83c73dbb4a1d9cffa801d4e1;p=contrib%2Fpines%2Fgenasys.git removing hardcoding of hostnames in postfix config to allow for hostname prefixes --- diff --git a/templates/lvs/main.cf b/templates/lvs/main.cf index efb3298..51fd06e 100644 --- a/templates/lvs/main.cf +++ b/templates/lvs/main.cf @@ -27,11 +27,11 @@ smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client. -myhostname = lvs01.ClusterDomainName +myhostname = HostName.ClusterDomainName alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname -mydestination = lvs01.ClusterDomainName, localhost.ClusterDomainName, , localhost +mydestination = HostName.ClusterDomainName, localhost.ClusterDomainName, , localhost relayhost = mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 Priv_NET.0/24 mailbox_command = procmail -a "$EXTENSION"