2014-04-22 4 views
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를 가리키고 있기 때문에 웹 호스팅 만 담당합니다.

답변

1
  • myhostname -이 메일 시스템의 인터넷 호스트 이름. 여기에서 사용하십시오 mail.my-domain.tld
  • mydomain -이 메일 시스템의 인터넷 도메인 이름. 기본값은 $myhostname에서 첫 번째 구성 요소를 뺀 값입니다. $mydomain은 다른 많은 구성 매개 변수의 기본값으로 사용됩니다. 그래서 여기에 당신의 메일 트래픽 서비스를 제공 할 수 my-domain.tld

이 VPS (메일 서버)를 사용하고 당신이 말한대로 my-domain.tld 웹 호스팅은 다른 VPS 서버에있을 수 있습니다.

희망이 있습니다.

+1

분명히 사실 인 경우'$ mydomain = my-domain.tld'을 어떻게 사용할 수 있는지 이해하지 못합니다.'my-domain.tld'는이 서버와 관련이 없습니다. 그것은 다른 IP로 다른 호스트에게 poiting입니다. – iOi

+0

이 서버가'my-domain.tld'에 대한 메일을 처리하고 있기 때문에 가능합니다. 'my-domain.tld'에 대한 웹 트래픽을 처리하기 위해 다른 서버를 가질 수 있습니까? – clement