Beruflich Dokumente
Kultur Dokumente
Agenda
DNS & mail n Internet mail basics
n DNS structure and management
E- mail System
DNS
SMTP
MUA MTA MTA MUA
SMTP
POP/IMAP/...
MB mailbox 4
InternetWeek'97 1
DNS & mail 97/12/17
7 8
InternetWeek'97 2
DNS & mail 97/12/17
InternetWeek'97 3
DNS & mail 97/12/17
InternetWeek'97 4
DNS & mail 97/12/17
DNS DNS
MTA MTA
receive Send/transfer
accept MB
25 26
Range of configuration
InternetWeek'97 5
DNS & mail 97/12/17
% nslookup jp
jp--gate.wide.ad.jp n No host name part
Server: localhost – Not dependent on host reorganization
Address: 127.0.0.1 n Uses MX (Mail eXchanger
eXchanger)) RR
n Mail to user@x.co.jp
Name: jpjp--gate.wide.ad.jp
gate.wide.ad.jp.. is sent to specified host
– Look up MX, and with obtained host name
Addresses: 203.178.137.17, 203.178.136.81, around the right, look up A and obtain IP
203.178.137.75, 203.178.136.89 address
31 32
Lower MX Conditions
Load Sharing
(Conditions to avoid mail loop)
x.co.jp preference=10, mx
mx=mail1.x.co.jp.
=mail1.x.co.jp.
n Awareness of own name on right of MX RR Preference=10, mx
mx=mail2.x.co.jp.
=mail2.x.co.jp.
– Prevent connection to oneself
» confirm with $=w at sendmail -bt
» automatic registration of interface address names n When cost is the same, sender chooses
» qmail is confirmed by IP address destination randomly
n Connection is not made to IP address of oneself
n In the end, sent to one mailbox
n RR costs higher than the MX RR preference – recipient needs some settings
» static delivery definition, etc.
for oneself are thrown out
– Prevent ping-
ping- pong between Lower MX
35 36
InternetWeek'97 6
DNS & mail 97/12/17
Configuration of Accepting
2) Acceptance of Mail
Address
n Recognize that received mail is to oneself n Sendmail (CF)
– local delivery (acceptance) – set as ACCEPT_ADDRS
– not “ received = to oneself”
oneself” n qmail
– set as /var/qmail/control/locals
/var/qmail/control/locals
n If decided that it’
it ’s not to oneself
– search transfer destination
37 38
39 40
InternetWeek'97 7
DNS & mail 97/12/17
45 46
InternetWeek'97 8