From 521496e205bd1ea56b8404a8c7669d690a6fb809 Mon Sep 17 00:00:00 2001 From: Frans Pop Date: Wed, 27 Dec 2006 03:56:26 +0000 Subject: Minor rewrite suggested by Philippe Batailler --- en/appendix/preseed.xml | 6 +- en/post-install/mail-setup.xml | 245 +++++++++++++++++++++++++++++++++++++++ en/post-install/post-install.xml | 1 + en/using-d-i/modules/pkgsel.xml | 93 +-------------- 4 files changed, 250 insertions(+), 95 deletions(-) create mode 100644 en/post-install/mail-setup.xml (limited to 'en') diff --git a/en/appendix/preseed.xml b/en/appendix/preseed.xml index f3bf7d152..7c1d041c6 100644 --- a/en/appendix/preseed.xml +++ b/en/appendix/preseed.xml @@ -1,4 +1,4 @@ - +!-- retain these comments for translator revision tracking --> + + + + Setting Up Your System To Use E-Mail + + +Today, email is a very important part of many people's life. As there are +many options as to how to set it up and having it set up correctly is +important for some Debian utilities, we will try to cover the basics in +this section. + + + +There are three main functions that make up an e-mail system. First there is +the Mail User Agent (MUA) which is the program a user +actually uses to compose and read mails. Then there is the Mail +Transfer Agent (MTA) that takes care of transferring messages +from one computer to another. And last there is the Mail +Delivery Agent (MDA) that takes care of delivering incoming mail +to the user's inbox. + + + +These three functions can be performed by separate programs, but they can +also be combined in one or two programs. It is also possible to have +different programs handle these functions for different types of mail. + + + +On Linux and Unix systems mutt is historically a very +popular MUA. Like most traditional Linux programs it is text based. It is +often used in combination with exim or +sendmail as MTA and procmail as MDA. + + + +With the increasing popularity of graphical desktop systems, the use of +graphical e-mail programs like GNOME's evolution, +KDE's kmail or Mozilla's thunderbird +(in Debian available as icedove + + +The reason that thunderbird has been renamed to +icedove in Debian has to do with licencing issues. +Details are outside the scope of this manual. + + +) is becoming more popular. These programs combine the function +of a MUA, MTA and MDA, but can — and often are — also be used +in combination with the traditional Linux tools. + + + + + Default E-Mail Configuration + + +Even if you are planning to use a graphical mail program, it is important +that a traditional MTA/MDA is also installed and correctly set up on your +Linux system. Reason is that various utilities running on the +system + + +Examples are: cron, quota, +logcheck, aide, … + + + can send important notices by e-mail to inform the system +administrator of (potential) problems or changes. + + + +For this reason the packages exim4 and +mutt will be installed by default (provided you +did not unselect the standard task during the installation). +exim4 is a combination MTA/MDA that is relatively +small but very flexible. By default it will be configured to only handle +e-mail local to the system itself and e-mails addressed to the system +administrator (root account) will be delivered to the regular user account +created during the installation + + +The forwarding of mail for root to the regular user account is configured +in /etc/aliases. If no regular user account was created, +the mail will of course be delivered to the root account itself. + + +. + + + +When system e-mails are delivered they are added to a file in +/var/mail/account_name. +The e-mails can be read using mutt. + + + + + + Sending E-Mails Outside The System + + +As mentioned earlier, the installed Debian system is only set up to handle +e-mail local to the system, not for sending mail to others nor for +receiving mail from others. + + + +If you would like exim4 to handle external e-mail, +please refer to the next subsection for the basic available configuration +options. Make sure to test that mail can be sent and received correctly. + + + +If you intend to use a graphical mail program and use a mail server of +your Internet Service Provider (ISP) or your company, there is not really +any need to configure exim4 for handling external +e-mail. Just configure your favorite graphical mail program to use the +correct servers to send and receive e-mail (how is outside the scope of +this manual). + + + +However, in that case you may need to configure individual utilities to +correctly send e-mails. One such utility is reportbug, +a program that facilitates submitting bug reports against Debian packages. +By default it expects to be able to use exim4 to +submit bug reports. + + + +To correctly set up reportbug to use an external mail +server, please run the command reportbug --configure +and answer no to the question if an MTA is available. You +will then be asked for the SMTP server to be used for submitting bug reports. + + + + + + Configuring the Exim4 Mail Transport Agent + + +If you would like your system to also handle external e-mail, you will +need to reconfigure the exim4 package + + +You can of course also remove exim4 and replace +it with an alternative MTA/MDA. + + +: + + +# dpkg-reconfigure exim4-config + + + + +After entering that command (as root), you will be asked if you want split +the configuration into small files. If you are unsure, select the default +option. + + + +Next you will be presented with several common mail scenarios. Choose the +one that most closely resembles your needs. + + + + + +internet site + + +Your system is connected to a network and your mail is sent and +received directly using SMTP. On the following screens you will be +asked a few basic questions, like your machine's mail name, or a list of +domains for which you accept or relay mail. + + + + + +mail sent by smarthost + + +In this scenario your outgoing mail is forwarded to another machine, +called a smarthost, which does the actual job for +you. The smarthost also usually stores incoming mail addressed to your +computer, so you don't need to be permanently online. That also means +you have to download your mail from the smarthost via programs like +fetchmail. This option is suitable for dial-up users. + + + + + +mail sent by smarthost; no local mail + + +This option is basically the same as the previous one except that the +system will not be set up to handle mail for a local e-mail domain. Mail +on the system itself (e.g. for the system administrator) will still be +handled. + + + + + +local delivery only + + +This is the option your system is configured for by default. + + + + + +no configuration at this time + + +Choose this if you are absolutely convinced you know what you are +doing. This will leave you with an unconfigured mail system — +until you configure it, you won't be able to send or receive any mail +and you may miss some important messages from your system utilities. + + + + + + + +If none of these scenarios suits your needs, or if you need a finer +setup, you will need to edit configuration files under the +/etc/exim4 directory after the installation is +complete. More information about exim4 may be +found under /usr/share/doc/exim4; the file +README.Debian.gz has additional details about +configuring exim4. + + + + diff --git a/en/post-install/post-install.xml b/en/post-install/post-install.xml index f444de205..68da25de8 100644 --- a/en/post-install/post-install.xml +++ b/en/post-install/post-install.xml @@ -8,6 +8,7 @@ &new-to-unix.xml; &orientation.xml; &further-reading.xml; +&mail-setup.xml; &kernel-baking.xml; &rescue.xml; diff --git a/en/using-d-i/modules/pkgsel.xml b/en/using-d-i/modules/pkgsel.xml index caadc9899..3cfa99f56 100644 --- a/en/using-d-i/modules/pkgsel.xml +++ b/en/using-d-i/modules/pkgsel.xml @@ -76,7 +76,7 @@ Web server: apache. -Once you've selected your tasks, select Ok. At this +Once you've selected your tasks, select OK. At this point, aptitude will install the packages that are part of the tasks you've selected. @@ -97,96 +97,5 @@ unpacked and then installed in turn by the apt-get and dpkg programs. If a particular program needs more information from the user, it will prompt you during this process. - - - - - Configuring Your Mail Transport Agent - - - -Today, email is a very important part of many people's life, so it's -no surprise Debian lets you configure your mail system right as a part -of the installation process. The standard mail transport agent in -Debian is exim4, which is relatively small, -flexible, and easy to learn. - - - -You may ask if this is needed even if your computer is not connected -to any network. The short answer is: Yes. The longer explanation: Some -system utilities (like cron, -quota, aide, …) may send -you important notices via email. - - - -So on the first screen you will be presented with several common mail -scenarios. Choose the one that most closely resembles your needs: - - - - - -internet site - - -Your system is connected to a network and your mail is sent and -received directly using SMTP. On the following screens you will be -asked a few basic questions, like your machine's mail name, or a list of -domains for which you accept or relay mail. - - - - - -mail sent by smarthost - - -In this scenario is your outgoing mail forwarded to another machine, -called a smarthost, which does the actual job for -you. Smarthost also usually stores incoming mail addressed to your -computer, so you don't need to be permanently online. That also means -you have to download your mail from the smarthost via programs like -fetchmail. This option is suitable for dial-up users. - - - - - -local delivery only - - -Your system is not on a network and mail is sent or received only -between local users. Even if you don't plan to send any messages, this -option is highly recommended, because some system utilities may send -you various alerts from time to time (e.g. beloved Disk quota -exceeded). This option is also convenient for new users, -because it doesn't ask any further questions. - - - - - -no configuration at this time - - -Choose this if you are absolutely convinced you know what you are -doing. This will leave you with an unconfigured mail system — -until you configure it, you won't be able to send or receive any mail -and you may miss some important messages from your system utilities. - - - - - - - -If none of these scenarios suits your needs, or if you need a finer -setup, you will need to edit configuration files under the -/etc/exim4 directory after the installation is -complete. More information about exim4 may be found -under /usr/share/doc/exim4. - -- cgit v1.2.3