[PR]巕堢偰舷偝傫傊:3擭枅偵15枩墌偆偗偲傟傞曐尟?

next up previous
Next: 柒垄モデム Up: Network Previous: EtherNet儡鲁


Exim肋年


potatoの筛洁MTAは'exim'。/usr/sbin/sendmail,/usr/sbin/rmailなどは/usr/sbin/eximのシンボリックリン クになっている。それぞれのコマンド苞眶をeximがサポ〖トしている。eximは eximconfigで肋年する。答塑弄には、smarthostを极尸のSMTPサ〖バとするだけ赖撅に 瓢侯している。eximはsendmailを肋年するより们脸弛。

      -肋年の毋-
#eximconfig
You already have an exim configuration. Continuing with eximconfig
will overwrite it. It will not keep any local modifications you have made.
If that is not your intention, you should break out now. If you do continue,
then your existing file will be renamed with .O on the end.
[---Press return---]

==============================================================================
You must choose one of the options below:

 (1) Internet site; mail is sent and received directly using SMTP. If your
     needs don't fit neatly into any category, you probably want to start
     with this one and then edit the config file by hand.

 (2) Internet site using smarthost: You receive Internet mail on this
     machine, either directly by SMTP or by running a utility such as
     fetchmail. Outgoing mail is sent using a smarthost. optionally with
     addresses rewritten. This is probably what you want for a dialup
     system.

 (3) Satellite system: All mail is sent to another machine, called a "smart
     host" for delivery. root and postmaster mail is delivered according
     to /etc/aliases. No mail is received locally.

 (4) Local delivery only: You are not on a network.  Mail for local users
     is delivered.

 (5) No configuration: No configuration will be done now; your mail system
     will be broken and should not be used. You must then do the
     configuration yourself later or run this script, /usr/sbin/eximconfig,
     as root. Look in /usr/share/doc/exim/example.conf.gz

Select a number from 1 to 5, from the list above.
Enter value (default=`1', `x' to restart): 2

...
...
==============================================================================
Which machine will act as the smarthost and handle outgoing mail?

Enter value (`x' to restart): mail2.hogehoge.jp
Names are localhost:humuhumu!

==============================================================================
Mail for the `postmaster' and `root' accounts is usually redirected
to one or more user accounts, of the actual system administrators.
By default, I'll set things up so that mail for `postmaster' and for
various system accounts is redirected to `root', and mail for `root'
is redirected to a real user.  This can be changed by editing /etc/aliases.

Note that postmaster-mail should usually be read on the system it is
directed to, rather than being forwarded elsewhere, so (at least one of)
the users you choose should not redirect their mail off this machine.

Which user account(s) should system administrator mail go to ?
Enter one or more usernames separated by spaces or commas .  Enter
`none' if you want to leave this mail in `root's mailbox - NB this
is strongly discouraged.  Also, note that usernames should be lowercase!
Enter value (`x' to restart): root
...
...
==============================================================================
Mail generated on this system will have `humhumu' used
as the domain part (after the @) in the From: field and similar places.

The following domain(s) will be recognised as referring to this system:
 localhost, humhum

Mail for postmaster, root, etc. will be sent to root.

Local mail is delivered.

Outbound remote mail is sent via mail2.hogehoge.jp.


Is this OK ?  Hit Return or type `y' to confirm it and install,
or `n' to make changes (in which case we'll go round again, giving you
your previous answers as defaults.     (Y/n) Y

Keeping previous /etc/exim.conf as /etc/exim.conf.O
Keeping previous /etc/aliases as /etc/aliases.O
Keeping previous /etc/mailname as /etc/mailname.O
Configuration installed.

僧荚の茨董肋年は笆惧。



next up previous
Next: 柒垄モデム Up: Network Previous: EtherNet儡鲁
Kenji Ogura
2002-03-22

[PR]柤屆壆艑鞄t偺媮恖:抧堟枾拝偺娕岇巘媮恖傪扵偡側傜