0
전자 메일 호스팅만을 다루는 VPS 서버가 있습니다. 이 서버에는 지정된 도메인 이름이 없습니다. 하나의 IP 주소를 가진 유일한 VPS.도메인/호스트 이름이없는 Posfix 설정
저는 CentOS 6.5 Minimal, 32bit와 Postfix 및 Dovecot이 설치되어 있습니다. 현재 내 etc/postfix/main.cf
(도메인/호스팅 속성의 경우)입니다.
# INTERNET HOST AND DOMAIN NAMES
#
# 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 =
#myhostname =
# 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 =
# SENDING MAIL
#
# The myorigin parameter specifies the domain that locally-posted
# mail appears to come from. The default is to append $myhostname,
# which is fine for small sites. If you run a domain with multiple
# machines, you should (1) change this to $mydomain and (2) set up
# a domain-wide alias database that aliases each user to
# [email protected]
#
# For the sake of consistency between sender and recipient addresses,
# myorigin also specifies the default domain name that is appended
# to recipient addresses that have no @domain part.
#
#myorigin = $myhostname
myorigin = $mydomain
, 모두 myhostname
& mydomain
필드는 비어 있습니다. 그 이유는 서버에 실제로 도메인이나 호스트 이름이 없기 때문입니다. 이 경우 어떻게해야합니까?
mail.my-domain.tld
내가
mydomain =
및
main.cf
에서
myhostname =
등 모두
mail.my-domain.tld
를 사용할 수
에 mail.my-domain.tld
-M
기록 가리키는 및 MX
기록 가리키는 있나요? my-domain.tld
은 다른 IP를 가진 다른 VPS를 가리키고 있기 때문에 웹 호스팅 만 담당합니다.
분명히 사실 인 경우'$ mydomain = my-domain.tld'을 어떻게 사용할 수 있는지 이해하지 못합니다.'my-domain.tld'는이 서버와 관련이 없습니다. 그것은 다른 IP로 다른 호스트에게 poiting입니다. – iOi
이 서버가'my-domain.tld'에 대한 메일을 처리하고 있기 때문에 가능합니다. 'my-domain.tld'에 대한 웹 트래픽을 처리하기 위해 다른 서버를 가질 수 있습니까? – clement