玄箱HGメモ / Debian / exim削除


Last update: 2009-05-14 (木) 15:29:29
実施: 2008/12/13

玄箱HGメモ/Debian/exim削除

緑文字が入力コマンド。


Debian exim削除

管理者権限(管理者アカウント参照)で作業する必要があります。

exim削除

KAGUYA:~# aptitude purge exim[ENTER]

exim削除画面(例)

Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following NEW packages will be automatically installed:
  exim4 exim4-base exim4-config exim4-daemon-light libdb4.3 libgnutls13
  libtasn1-3 lsb-base
The following packages will be automatically REMOVED:
  at
The following packages have been kept back:
  adduser apt apt-utils aptitude base-files base-passwd bash bsdmainutils
  bsdutils console-common console-data console-tools coreutils cpio cron
  debconf debconf-i18n debianutils dhcp-client dpkg dselect e2fslibs
  e2fsprogs fileutils findutils ftp gcc-3.3-base gettext-base grep
  groff-base gzip hostname ifupdown info initscripts iptables klogd libacl1
  libattr1 libblkid1 libcomerr2 libconsole libdb1-compat libdb3 libdb4.2
  libgcc1 libgdbm3 libldap2 liblocale-gettext-perl liblockfile1 liblzo1
  libncurses5 libpam-modules libpam-runtime libpam0g libpcre3 libpopt0
  libsasl2 libss2 libstdc++2.10-glibc2.2 libstdc++5 libtext-charwidth-perl
  libtext-iconv-perl libtext-wrapi18n-perl libuuid1 libwrap0 login
  logrotate make makedev man-db manpages modconf module-init-tools modutils
  mount nano ncurses-base ncurses-bin net-tools netbase netkit-ping nvi
  passwd pciutils perl perl-base perl-modules powerpc-utils procps psmisc
  sed shellutils sysklogd sysv-rc sysvinit tar tasksel tcpd telnet telnetd
  textutils util-linux whiptail yaboot zlib1g
The following NEW packages will be installed:
  exim4 exim4-base exim4-config exim4-daemon-light libdb4.3 libgnutls13
  libtasn1-3 lsb-base
The following packages will be REMOVED:
  at exim
The following packages will be upgraded:
  libgcrypt11 libgpg-error0 libopencdk8 mailx
The following packages are RECOMMENDED but will NOT be installed:
  libtasn1-3-bin
4 packages upgraded, 8 newly installed, 2 to remove and 106 not upgraded.
Need to get 3005kB of archives. After unpacking 4219kB will be used.
Do you want to continue? [Y/n/?] 

Y[ENTER]

Writing extended state information... Done
Get:1 http://security.debian.org stable/updates/main libgnutls13 1.4.4-3+etch1 [289kB]
Get:2 ftp://ftp.dti.ad.jp stable/main libdb4.3 4.3.29-8 [431kB]
Get:3 ftp://ftp.dti.ad.jp stable/main mailx 1:8.1.2-0.20050715cvs-1 [160kB]
Get:4 ftp://ftp.dti.ad.jp stable/main exim4-config 4.63-17 [334kB]
Get:5 ftp://ftp.dti.ad.jp stable/main lsb-base 3.1-23.2etch1 [16.6kB]
Get:6 ftp://ftp.dti.ad.jp stable/main exim4-base 4.63-17 [944kB]
Get:7 ftp://ftp.dti.ad.jp stable/main libgpg-error0 1.4-1 [36.6kB]
Get:8 ftp://ftp.dti.ad.jp stable/main libgcrypt11 1.2.3-2 [201kB]
Get:9 ftp://ftp.dti.ad.jp stable/main libopencdk8 0.5.9-2 [96.5kB]
Get:10 ftp://ftp.dti.ad.jp stable/main libtasn1-3 0.3.6-2 [54.0kB]
Get:11 ftp://ftp.dti.ad.jp stable/main exim4-daemon-light 4.63-17 [440kB]
Get:12 ftp://ftp.dti.ad.jp stable/main exim4 4.63-17 [2080B]
Fetched 3005kB in 21s (139kB/s)
Preconfiguring packages ...
Debian Configuration

 +----------------------------| Mail Server configuration |----------------------------+
 |                                                                                     |
 | The Debian exim4 packages can either use "unsplit configuration", a single          |
 | monolithic file (/etc/exim4/exim4.conf.template) or "split configuration", where    |
 | the actual Exim configuration files are built from about 50 smaller files in        |
 | /etc/exim4/conf.d/.                                                                 |
 |                                                                                     |
 | Unsplit configuration is better suited for large modifications and is generally     |
 | more stable, whereas split configuration offers a comfortable way to make smaller   |
 | modifications but is more fragile and might break if modified carelessly.           |
 |                                                                                     |
 | A more detailed discussion of split and unsplit configuration can be found in       |
 | /usr/share/doc/exim4-base/README.Debian.gz.                                         |
 |                                                                                     |
 | Split configuration into small files?                                               |
 |                                                                                     |
 |                        <Yes>                           <No>                         |
 |                                                                                     |
 +-------------------------------------------------------------------------------------+

エンターキーで決定です。
デフォルトで…。

Debian Configuration

 +----------------------------| Mail Server configuration |----------------------------+
 | Please select the mail server configuration type that best meets your needs.        |
 |                                                                                     |
 | Systems with dynamic IP addresses, including dialup systems, should generally be    |
 | configured to send outgoing mail to another machine, called a "smarthost" for       |
 | delivery because many receiving systems on the Internet block incoming mail from    |
 | dynamic IP addresses as spam protection.                                            |
 |                                                                                     |
 | A system with a dynamic IP address can receive its own mail, or local delivery can  |
 | be disabled entirely (except mail for root and postmaster).                         |
 |                                                                                     |
 | General type of mail configuration:                                                 |
 |                                                                                     |
 |            internet site; mail is sent and received directly using SMTP             |
 |            mail sent by smarthost; received via SMTP or fetchmail                   |
 |            mail sent by smarthost; no local mail                                    |
 |            local delivery only; not on a network                                    |
 |            no configuration at this time                                            |
 |                                                                                     |
 |                                                                                     |
 |                       <Ok>                           <Cancel>                       |
 |                                                                                     |
 +-------------------------------------------------------------------------------------+

エンターキーで決定です。
デフォルトで…。

Debian Configuration

 +---------------------------| Mail Server configuration |----------------------------+
 | The "mail name" is the domain name used to "qualify" mail addresses without a      |
 | domain name.                                                                       |
 |                                                                                    |
 | This name will also be used by other programs. It should be the single, full       |
 | domain name (FQDN).                                                                |
 |                                                                                    |
 | For example, if a mail address on the local host is foo@domain.example, then the   |
 | correct value for this option would be domain.example.                             |
 |                                                                                    |
 | This name won't appear on From: lines of outgoing mails if rewriting is enabled.   |
 |                                                                                    |
 | System mail name:                                                                  |
 |                                                                                    |
 | KAGUYA____________________________________________________________________________ |
 |                                                                                    |
 |                       <Ok>                           <Cancel>                      |
 |                                                                                    |
 +------------------------------------------------------------------------------------+

エンターキーで決定です。
デフォルトのままで…。

Debian Configuration

 +----------------------------| Mail Server configuration |----------------------------+
 | Please enter a semicolon-separated list of IP addresses. The Exim SMTP listener     |
 | daemon will listen on all IP addresses listed here.                                 |
 |                                                                                     |
 | An empty value will cause Exim to listen for connections on all available network   |
 | interfaces.                                                                         |
 |                                                                                     |
 | If this system does only receive mail directly from local services like fetchmail   |
 | or your mail program (MUA) talking to localhost (and not from other hosts), it is   |
 | advisable to prohibit external connections to the local Exim. This can be           |
 | accomplished by entering 127.0.0.1 here. This will disable listening on public      |
 | network interfaces.                                                                 |
 |                                                                                     |
 | IP-addresses to listen on for incoming SMTP connections:                            |
 |                                                                                     |
 | 127.0.0.1__________________________________________________________________________ |
 |                                                                                     |
 |                       <Ok>                           <Cancel>                       |
 |                                                                                     |
 +-------------------------------------------------------------------------------------+

エンターキーで決定です。
デフォルトで…。

Debian Configuration

 +----------------------------| Mail Server configuration |----------------------------+
 | Please enter a semicolon-separated list of recipient domains for which this         |
 | machine should consider itself the final destination, apart from the local          |
 | hostname (KAGUYA) and "localhost". These domains are commonly called "local         |
 | domains".                                                                           |
 |                                                                                     |
 | Leaving this list blank will have Exim do no local deliveries.                      |
 |                                                                                     |
 | By default all local domains will be treated identically. If both a.example and     |
 | b.example are local domains, acc@a.example and acc@b.example will be delivered to   |
 | the same final destination. If different domain names should be treated             |
 | differently, it is necessary to edit the config files afterwards.                   |
 |                                                                                     |
 | Other destinations for which mail is accepted:                                      |
 |                                                                                     |
 | KAGUYA_____________________________________________________________________________ |
 |                                                                                     |
 |                       <Ok>                           <Cancel>                       |
 |                                                                                     |
 +-------------------------------------------------------------------------------------+

エンターキーで決定です。
デフォルトのままで…。

Debian Configuration

 +----------------------------| Mail Server configuration |----------------------------+
 | Mail for the "postmaster", "root", and other system accounts needs to be            |
 | redirected to the user account of the actual system administrator.                  |
 |                                                                                     |
 | If this value is left empty, such mail will be saved in /var/mail/mail, which is    |
 | not recommended.                                                                    |
 |                                                                                     |
 | Note that postmaster's mail should be read on the system to which it is directed,   |
 | rather than being forwarded elsewhere, so (at least one of) the users listed here   |
 | should not redirect their mail off this machine. A "real-" prefix can be used to    |
 | force local delivery.                                                               |
 |                                                                                     |
 | Multiple usernames need to be separated by spaces.                                  |
 |                                                                                     |
 | Root and postmaster mail recipient:                                                 |
 |                                                                                     |
 | ___________________________________________________________________________________ |
 |                                                                                     |
 |                       <Ok>                           <Cancel>                       |
 |                                                                                     |
 +-------------------------------------------------------------------------------------+

エンターキーで決定です。
デフォルトのままで…。

(Reading database ... 9002 files and directories currently installed.)
Removing at ...
Stopping deferred execution scheduler: atd.
Selecting previously deselected package libdb4.3.
(Reading database ... 8978 files and directories currently installed.)
Unpacking libdb4.3 (from .../libdb4.3_4.3.29-8_powerpc.deb) ...
Preparing to replace mailx 1:8.1.2-0.20040524cvs-4 (using .../mailx_1%3a8.1.2-0.20050715cvs-1_powerpc.deb) ...
Unpacking replacement mailx ...
(Reading database ... 8982 files and directories currently installed.)
Removing exim ...
Stopping MTA: No /usr/lib/exim/exim3 found running; none killed.
exim.
Purging configuration files for exim ...
Selecting previously deselected package exim4-config.
(Reading database ... 8912 files and directories currently installed.)
Unpacking exim4-config (from .../exim4-config_4.63-17_all.deb) ...
Selecting previously deselected package lsb-base.
Unpacking lsb-base (from .../lsb-base_3.1-23.2etch1_all.deb) ...
Selecting previously deselected package exim4-base.
Unpacking exim4-base (from .../exim4-base_4.63-17_powerpc.deb) ...
Preparing to replace libgpg-error0 1.0-1 (using .../libgpg-error0_1.4-1_powerpc.deb) ...
Unpacking replacement libgpg-error0 ...
Preparing to replace libgcrypt11 1.2.0-11.1 (using .../libgcrypt11_1.2.3-2_powerpc.deb) ...
Unpacking replacement libgcrypt11 ...
Preparing to replace libopencdk8 0.5.5-10 (using .../libopencdk8_0.5.9-2_powerpc.deb) ...
Unpacking replacement libopencdk8 ...
Selecting previously deselected package libtasn1-3.
Unpacking libtasn1-3 (from .../libtasn1-3_0.3.6-2_powerpc.deb) ...
Selecting previously deselected package libgnutls13.
Unpacking libgnutls13 (from .../libgnutls13_1.4.4-3+etch1_powerpc.deb) ...
Selecting previously deselected package exim4-daemon-light.
Unpacking exim4-daemon-light (from .../exim4-daemon-light_4.63-17_powerpc.deb) ...
Selecting previously deselected package exim4.
Unpacking exim4 (from .../archives/exim4_4.63-17_all.deb) ...
Setting up libdb4.3 (4.3.29-8) ...
Setting up exim4-config (4.63-17) ...
Adding system-user for exim (v4)

Setting up lsb-base (3.1-23.2etch1) ...
Setting up exim4-base (4.63-17) ...

Setting up libgpg-error0 (1.4-1) ...

Setting up libgcrypt11 (1.2.3-2) ...

Setting up libopencdk8 (0.5.9-2) ...

Setting up libtasn1-3 (0.3.6-2) ...

Setting up libgnutls13 (1.4.4-3+etch1) ...

Setting up exim4-daemon-light (4.63-17) ...
Starting MTA: exim4.

Setting up exim4 (4.63-17) ...

Setting up mailx (8.1.2-0.20050715cvs-1) ...

Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
KAGUYA:~#

作業終了です。
以降の作業を行わない場合は管理者アカウント終了してtelnet切断します。


コメント

コメントはありません。 コメント/玄箱HGメモ/Debian/exim削除?

Online: 1


FrontPage

Soft

Tips


最新の20件

2021-12-21 2020-04-06 2020-03-10 2013-06-28 2013-11-13 2014-06-24

今日の20件

  • counter: 840
  • today: 1
  • yesterday: 0
  • online: 1

edit