Merge pull request #329 from HolySephi/master
Set myhostname to $mydomain in postfix correctly
This commit is contained in:
@@ -1061,11 +1061,11 @@ program_directory = /usr/libexec/postfix
|
|||||||
sendmail_path = /usr/sbin/sendmail
|
sendmail_path = /usr/sbin/sendmail
|
||||||
|
|
||||||
## General Postfix configuration
|
## General Postfix configuration
|
||||||
# should be the default domain from your provider eg. "server100.provider.tld"
|
# FQDN from Froxlor
|
||||||
mydomain = <SERVERNAME>
|
mydomain = <SERVERNAME>
|
||||||
|
|
||||||
# should be different from $mydomain eg. "mail.$mydomain"
|
# set myhostname to $mydomain because Froxlor alrady uses a FQDN
|
||||||
myhostname = mail.$mydomain
|
myhostname = $mydomain
|
||||||
|
|
||||||
mydestination = $myhostname,
|
mydestination = $myhostname,
|
||||||
$mydomain,
|
$mydomain,
|
||||||
|
|||||||
@@ -1115,23 +1115,12 @@ data_directory = /var/lib/postfix
|
|||||||
#
|
#
|
||||||
#default_privs = nobody
|
#default_privs = nobody
|
||||||
|
|
||||||
# INTERNET HOST AND DOMAIN NAMES
|
# FQDN from Froxlor
|
||||||
#
|
|
||||||
# The myhostname parameter specifies the internet hostname of this
|
|
||||||
# mail system. The default is to use the fully-qualified domain name
|
|
||||||
# from gethostname(). $myhostname is used as a default value for many
|
|
||||||
# other configuration parameters.
|
|
||||||
#
|
|
||||||
myhostname = mail.$mydomain
|
|
||||||
#myhostname = virtual.domain.tld
|
|
||||||
|
|
||||||
# The mydomain parameter specifies the local internet domain name.
|
|
||||||
# The default is to use $myhostname minus the first component.
|
|
||||||
# $mydomain is used as a default value for many other configuration
|
|
||||||
# parameters.
|
|
||||||
#
|
|
||||||
mydomain = <SERVERNAME>
|
mydomain = <SERVERNAME>
|
||||||
|
|
||||||
|
# set myhostname to $mydomain because Froxlor alrady uses a FQDN
|
||||||
|
myhostname = $mydomain
|
||||||
|
|
||||||
# SENDING MAIL
|
# SENDING MAIL
|
||||||
#
|
#
|
||||||
# The myorigin parameter specifies the domain that locally-posted
|
# The myorigin parameter specifies the domain that locally-posted
|
||||||
|
|||||||
@@ -512,11 +512,11 @@ root: root@<SERVERNAME>
|
|||||||
backup="true">
|
backup="true">
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
## General Postfix configuration
|
## General Postfix configuration
|
||||||
# should be the default domain from your provider eg. "server100.provider.tld"
|
# FQDN from Froxlor
|
||||||
mydomain = <SERVERNAME>
|
mydomain = <SERVERNAME>
|
||||||
|
|
||||||
# should be different from $mydomain eg. "mail.$mydomain"
|
# set myhostname to $mydomain because Froxlor alrady uses a FQDN
|
||||||
myhostname = mail.$mydomain
|
myhostname = $mydomain
|
||||||
|
|
||||||
mydestination = $myhostname,
|
mydestination = $myhostname,
|
||||||
$mydomain,
|
$mydomain,
|
||||||
|
|||||||
@@ -176,11 +176,11 @@ query = SELECT gid FROM mail_users WHERE email = '%s'
|
|||||||
backup="true">
|
backup="true">
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
## General Postfix configuration
|
## General Postfix configuration
|
||||||
|
# FQDN from Froxlor
|
||||||
mydomain = <SERVERNAME>
|
mydomain = <SERVERNAME>
|
||||||
|
|
||||||
# should be different from $mydomain eg. "mail.$mydomain"
|
# set myhostname to $mydomain because Froxlor alrady uses a FQDN
|
||||||
myhostname = mail.$mydomain
|
myhostname = $mydomain
|
||||||
|
|
||||||
mydestination = $myhostname,
|
mydestination = $myhostname,
|
||||||
$mydomain,
|
$mydomain,
|
||||||
|
|||||||
@@ -541,11 +541,11 @@ root: root@<SERVERNAME>
|
|||||||
backup="true">
|
backup="true">
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
## General Postfix configuration
|
## General Postfix configuration
|
||||||
# should be the default domain from your provider eg. "server100.provider.tld"
|
# FQDN from Froxlor
|
||||||
mydomain = <SERVERNAME>
|
mydomain = <SERVERNAME>
|
||||||
|
|
||||||
# should be different from $mydomain eg. "mail.$mydomain"
|
# set myhostname to $mydomain because Froxlor alrady uses a FQDN
|
||||||
myhostname = mail.$mydomain
|
myhostname = $mydomain
|
||||||
|
|
||||||
mydestination = $myhostname,
|
mydestination = $myhostname,
|
||||||
$mydomain,
|
$mydomain,
|
||||||
|
|||||||
@@ -950,29 +950,12 @@ data_directory = /var/lib/postfix
|
|||||||
#default_privs = nobody
|
#default_privs = nobody
|
||||||
|
|
||||||
# INTERNET HOST AND DOMAIN NAMES
|
# INTERNET HOST AND DOMAIN NAMES
|
||||||
#
|
# FQDN from Froxlor
|
||||||
# The myhostname parameter specifies the internet hostname of this
|
|
||||||
# mail system. The default is to use the fully-qualified domain name
|
|
||||||
# from gethostname(). $myhostname is used as a default value for many
|
|
||||||
# other configuration parameters.
|
|
||||||
#
|
|
||||||
# Froxlor Note: $myhostname can and should be the same as $mydomain as long as
|
|
||||||
# you don't intend to send mail to it (it will be considered local, not virtual)
|
|
||||||
# for the case of a subdomain, $mydomain *must* be equal to $myhostname,
|
|
||||||
# otherwise you cannot use the main domain for virtual transport.
|
|
||||||
# also check the note about $mydomain below.
|
|
||||||
myhostname = mail.$mydomain
|
|
||||||
#myhostname = virtual.domain.tld
|
|
||||||
|
|
||||||
# The mydomain parameter specifies the local internet domain name.
|
|
||||||
# The default is to use $myhostname minus the first component.
|
|
||||||
# $mydomain is used as a default value for many other configuration
|
|
||||||
# parameters.
|
|
||||||
#
|
|
||||||
# Froxlor Note: We are using a default here but that may or may not make sense,
|
|
||||||
# depending on your dns configuration, please check yourself.
|
|
||||||
mydomain = <SERVERNAME>
|
mydomain = <SERVERNAME>
|
||||||
|
|
||||||
|
# set myhostname to $mydomain because Froxlor alrady uses a FQDN
|
||||||
|
myhostname = $mydomain
|
||||||
|
|
||||||
# SENDING MAIL
|
# SENDING MAIL
|
||||||
#
|
#
|
||||||
# The myorigin parameter specifies the domain that locally-posted
|
# The myorigin parameter specifies the domain that locally-posted
|
||||||
|
|||||||
Reference in New Issue
Block a user