続いてメールの設定。
メールは全部 ns.yamasita.jp に振る設定をする。
注:以下の設定は、
・独自のドメインを持っていて、
・メールサーバも自前で持っている
場合の設定であって、決してこのまま真似しないこと。
ude:~# dpkg-reconfigure exim4-configPackage configuration 画面が表示される。
lqqqqqqqqqqqqqqqqqqqqqqqu Mail Server configuration tqqqqqqqqqqqqqqqqqqqqqqqk x x x The Debian exim4 packages can either use "unsplit configuration", a x x single monolithic file (/etc/exim4/exim4.conf.template) or "split x x configuration", where the actual Exim configuration files are built from x x about 50 smaller files in /etc/exim4/conf.d/. x x x x Unsplit configuration is better suited for large modifications and is x x generally more stable, whereas split configuration offers a comfortable x x way to make smaller modifications but is more fragile and might break if x x modified carelessly. x x x x A more detailed discussion of split and unsplit configuration can be x x found in /usr/share/doc/exim4-base/README.Debian.gz. x x x x Split configuration into small files? x x x x <Yes> <No> x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqjデフォルトの No を選択
lqqqqqqqqqqqqqqqqqqqqqqqu Mail Server configuration tqqqqqqqqqqqqqqqqqqqqqqqk x x x Please select the mail server configuration type that best meets your x x needs. x x x x Systems with dynamic IP addresses, including dialup systems, should x x generally be configured to send outgoing mail to another machine, called x x a "smarthost" for delivery because many receiving systems on the x x Internet block incoming mail from dynamic IP addresses as spam x x protection. x x x x A system with a dynamic IP address can receive its own mail, or local x x delivery can be disabled entirely (except mail for root and postmaster). x x x x <Ok> x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqjOk を選択
lqqqqqqqqqqqqqqqqqqqu Mail Server configuration tqqqqqqqqqqqqqqqqqqqk x General type of mail configuration: x x x x internet site; mail is sent and received directly using SMTP x x mail sent by smarthost; received via SMTP or fetchmail x x mail sent by smarthost; no local mail x x local delivery only; not on a network x x no configuration at this time x x x x x x <Ok> <Cancel> x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj「mail sent by smarthost; no local mail」を選択
lqqqqqqqqqqqqqqqqqqqqqqqu Mail Server configuration tqqqqqqqqqqqqqqqqqqqqqqqk x The "mail name" is the domain name used to "qualify" mail addresses x x without a domain name. x x x x This name will also be used by other programs. It should be the single, x x full domain name (FQDN). x x x x For example, if a mail address on the local host is foo@domain.example, x x then the correct value for this option would be domain.example. x x x x This name won't appear on From: lines of outgoing mails if rewriting is x x enabled. x x x x System mail name: x x x x yamasita.jp______________________________________________________________ x x x x <Ok> <Cancel> x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqjここでは yamasita.jp を指定
lqqqqqqqqqqqqqqqqqqqqqqqu Mail Server configuration tqqqqqqqqqqqqqqqqqqqqqqqk x Please enter a semicolon-separated list of IP addresses. The Exim SMTP x x listener daemon will listen on all IP addresses listed here. x x x x An empty value will cause Exim to listen for connections on all x x available network interfaces. x x x x If this system does only receive mail directly from local services like x x fetchmail or your mail program (MUA) talking to localhost (and not from x x other hosts), it is advisable to prohibit external connections to the x x local Exim. This can be accomplished by entering 127.0.0.1 here. This x x will disable listening on public network interfaces. x x x x IP-addresses to listen on for incoming SMTP connections: x x x x 127.0.0.1________________________________________________________________ x x x x <Ok> <Cancel> x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqjincoming することはないが、デフォルトの 127.0.0.1 のまま
lqqqqqqqqqqqqqqqqqqqqqqqu Mail Server configuration tqqqqqqqqqqqqqqqqqqqqqqqk x x x Please enter a semicolon-separated list of recipient domains for which x x this machine should consider itself the final destination, apart from x x the local hostname (ude) and "localhost". These domains are commonly x x called "local domains". x x x x Leaving this list blank will have Exim do no local deliveries. x x x x By default all local domains will be treated identically. If both x x a.example and b.example are local domains, acc@a.example and x x acc@b.example will be delivered to the same final destination. If x x different domain names should be treated differently, it is necessary to x x edit the config files afterwards. x x x x <Ok> x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqjOk
lqqqqqqqqqqu Mail Server configuration tqqqqqqqqqqk x Other destinations for which mail is accepted: x x x x _______________________________________________ x x x x <Ok> <Cancel> x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj指定なし
lqqqqqqqqqqqqqqqqqqqqqqqu Mail Server configuration tqqqqqqqqqqqqqqqqqqqqqqqk x The option to hide the local mail name in outgoing mail was enabled. It x x is therefore necessary to specify the domain name this system should use x x for the domain part of local users' sender addresses. x x x x Visible domain name for local users: x x x x yamasita.jp______________________________________________________________ x x x x <Ok> <Cancel> x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqjyamasita.jp を指定
lqqqqqqqqqqqqqqqqqqqqqqqu Mail Server configuration tqqqqqqqqqqqqqqqqqqqqqqqk x Please enter the IP address or the host name of a mail server that this x x system should use as outgoing smarthost. If the smarthost only accepts x x your mail on a port different from TCP/25, append two colons and the x x port number (for example smarthost.example::587 or x x 192.168.254.254::2525). Colons in IPv6 addresses need to be doubled. x x x x If the smarthost requires authentication, please refer to x x /usr/share/doc/exim4-base/README.Debian.gz for notes about setting up x x SMTP authentication. x x x x IP address or host name of the outgoing smarthost: x x x x ns.yamasita.jp___________________________________________________________ x x x x <Ok> <Cancel> x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqjメールサーバである ns.yamasita.jp を指定
lqqqqqqqqqqqqqqqqqqqqqqu Mail Server configuration tqqqqqqqqqqqqqqqqqqqqqqqk x x x In normal mode of operation Exim does DNS lookups at startup, and when x x receiving or delivering messages. This is for logging purposes and x x allows keeping down the number of hard-coded values in the x x configuration. x x x x If this system does not have a DNS full service resolver available at x x all times (for example if its Internet access is a dial-up line using x x dial-on-demand), this might have unwanted consequences. For example, x x starting up Exim or running the queue (even with no messages waiting) x x might trigger a costly dial-up-event. x x x x This option should be selected if this system is using Dial-on-Demand. x x If it has always-on Internet access, this option should be disabled. x x x x <Ok> x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqjOk
lqqqqqqqqqqqqqu Mail Server configuration tqqqqqqqqqqqqqk x x x Keep number of DNS-queries minimal (Dial-on-Demand)? x x x x <Yes> <No> x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqjNo
lqqqqqqqqqqqqqqqqqqqqqqqu Mail Server configuration tqqqqqqqqqqqqqqqqqqqqqqqk x x x Mail for the "postmaster", "root", and other system accounts needs to be x x redirected to the user account of the actual system administrator. x x x x If this value is left empty, such mail will be saved in /var/mail/mail, x x which is not recommended. x x x x Note that postmaster's mail should be read on the system to which it is x x directed, rather than being forwarded elsewhere, so (at least one of) x x the users listed here should not redirect their mail off this machine. A x x "real-" prefix can be used to force local delivery. x x x x Multiple usernames need to be separated by spaces. x x x x <Ok> x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqjOk
lqqqqu Mail Server configuration tqqqqqk x Root and postmaster mail recipient: x x x x yasunari____________________________ x x x x <Ok> <Cancel> x x x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqjyasunari を指定
Stopping MTA for restart: exim4_listener. Restarting MTA: exim4. ude:~#
ude:~# mail yasunari @ yamasita.jp Subject: test test Cc: ude:~# ls -l /var/mail/ total 0 ude:~#
|
楽天市場
Amazon Yahoo!ショッピング ソフマップ ツクモネットショプ livedoor デパート ドスパラ |
← LS-GL ハックキット 2.0 エディタの整備 |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ LS-GL ハックキット 2.0 Web サーバのインストール |