All pastes #65113 Raw Edit

Mine

public text v1 · immutable
#65113 ·published 2006-06-13 13:51 UTC
rendered paste body
xxx@yyy:~$ sudo apt-get install sendmail
Password:
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  libdb4.2 liblockfile1 m4 make procmail rmail sendmail-base sendmail-bin
  sendmail-cf sensible-mda
Suggested packages:
  sendmail-doc ca-certificates logcheck sasl2-bin
Recommended packages:
  postfix mail-transport-agent fetchmail resolvconf
The following NEW packages will be installed:
  libdb4.2 liblockfile1 m4 make procmail rmail sendmail sendmail-base
  sendmail-bin sendmail-cf sensible-mda
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 2168kB/2947kB of archives.
After unpacking 8090kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com dapper/main procmail 3.22-11ubuntu2 [140kB]
Get:2 http://us.archive.ubuntu.com dapper/universe sendmail-base 8.13.5-3ubuntu1                                              [342kB]
Get:3 http://us.archive.ubuntu.com dapper/universe sendmail-cf 8.13.5-3ubuntu1 [                                             281kB]
Get:4 http://us.archive.ubuntu.com dapper/universe sendmail-bin 8.13.5-3ubuntu1                                              [790kB]
Get:5 http://us.archive.ubuntu.com dapper/universe rmail 8.13.5-3ubuntu1 [223kB]
Get:6 http://us.archive.ubuntu.com dapper/universe sensible-mda 8.13.5-3ubuntu1                                              [199kB]
Get:7 http://us.archive.ubuntu.com dapper/universe sendmail 8.13.5-3ubuntu1 [193                                             kB]
Fetched 2168kB in 4s (438kB/s)
Preconfiguring packages ...
Selecting previously deselected package libdb4.2.
(Reading database ... 16645 files and directories currently installed.)
Unpacking libdb4.2 (from .../libdb4.2_4.2.52-24build1_i386.deb) ...
Selecting previously deselected package liblockfile1.
Unpacking liblockfile1 (from .../liblockfile1_1.06.1_i386.deb) ...
Selecting previously deselected package m4.
Unpacking m4 (from .../main/m/m4/m4_1.4.4-1_i386.deb) ...
Selecting previously deselected package make.
Unpacking make (from .../make_3.80+3.81.b4-1_i386.deb) ...
Selecting previously deselected package procmail.
Unpacking procmail (from .../procmail_3.22-11ubuntu2_i386.deb) ...
Selecting previously deselected package sendmail-base.
Unpacking sendmail-base (from .../sendmail-base_8.13.5-3ubuntu1_all.deb) ...
Selecting previously deselected package sendmail-cf.
Unpacking sendmail-cf (from .../sendmail-cf_8.13.5-3ubuntu1_all.deb) ...
Selecting previously deselected package sendmail-bin.
Unpacking sendmail-bin (from .../sendmail-bin_8.13.5-3ubuntu1_i386.deb) ...
Selecting previously deselected package rmail.
Unpacking rmail (from .../rmail_8.13.5-3ubuntu1_i386.deb) ...
Selecting previously deselected package sensible-mda.
Unpacking sensible-mda (from .../sensible-mda_8.13.5-3ubuntu1_i386.deb) ...
Selecting previously deselected package sendmail.
Unpacking sendmail (from .../sendmail_8.13.5-3ubuntu1_all.deb) ...
Setting up libdb4.2 (4.2.52-24build1) ...
Setting up liblockfile1 (1.06.1) ...
Setting up m4 (1.4.4-1) ...

Setting up make (3.80+3.81.b4-1) ...

Setting up procmail (3.22-11ubuntu2) ...

Setting up sendmail-base (8.13.5-3ubuntu1) ...
adduser: Warning: that home directory does not belong to the user you are curren                                             tly creating
adduser: Warning: that home directory does not belong to the user you are curren                                             tly creating

Setting up sendmail-cf (8.13.5-3ubuntu1) ...
Setting up sendmail-bin (8.13.5-3ubuntu1) ...

You are doing a new install, or have erased /etc/mail/sendmail.mc.
If you've accidentaly erased /etc/mail/sendmail.mc, check /var/backups.

I am creating a safe, default sendmail.mc for you and you can
run sendmailconfig later if you need to change the defaults.

Stopping Mail Transport Agent: sendmail.
Updating sendmail environment ...
Validating configuration.
Writing configuration to /etc/mail/sendmail.conf.
Writing /etc/cron.d/sendmail.
Could not open /etc/mail/databases(No such file or directory), creating it.
Could not open /etc/mail/sendmail.mc(No such file or directory)
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Writing configuration to /etc/mail/sendmail.conf.
Writing /etc/cron.d/sendmail.
Turning off Host Status collection
Could not open /etc/mail/databases(No such file or directory), creating it.
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/databases...

Checking filesystem, this may take some time - it will not hang!
  ...   Done.

Checking for installed MDAs...
Adding link for newly extant program (mail.local)
Adding link for newly extant program (procmail)
sasl2-bin not installed, not configuring sendmail support.

To enable sendmail SASL2 support at a later date, invoke "/usr/share/sendmail/up                                             date_auth"


Creating/Updating SSL(for TLS) information
Creating /etc/mail/tls/starttls.m4...
Creating SSL certificates for sendmail.
Generating RSA private key, 2048 bit long modulus
..............................+++
................................................................................                                             ..................................+++
e is 65537 (0x10001)

*** *** *** WARNING *** WARNING *** WARNING *** WARNING *** *** ***

Everything you need to support STARTTLS (encrypted mail transmission
and user authentication via certificates) is installed and configured
but *IS* not being used.

To enable sendmail to use STARTTLS, you need to:
1) Add this line to /etc/mail/sendmail.mc and optionally
   to /etc/mail/submit.mc:
  include(`/etc/mail/tls/starttls.m4')dnl
2) Run sendmailconfig
3) Restart sendmail


Updating /etc/hosts.allow, adding "sendmail: all".

Please edit /etc/hosts.allow and check the rules location to
make sure your security measures have not been overridden -
it is common to move the sendmail:all line to the *end* of
the file, so your more selective rules take precedence.
Checking {sendmail,submit}.mc and related databases...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/databases...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/databases...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/Makefile...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Writing configuration to /etc/mail/sendmail.conf.
Writing /etc/cron.d/sendmail.
Disabling HOST statistics file(/var/lib/sendmail/host_status).
Creating /etc/mail/sendmail.cf...
Creating /etc/mail/submit.cf...
Informational: confCR_FILE file empty: /etc/mail/relay-domains
Warning: confCT_FILE source file not found: /etc/mail/trusted-users
 it was created
Informational: confCT_FILE file empty: /etc/mail/trusted-users
Warning: confCW_FILE source file not found: /etc/mail/local-host-names
 it was created
Warning: access_db source file not found: /etc/mail/access
 it was created
Updating /etc/mail/access...
Linking /etc/aliases to /etc/mail/aliases
Updating /etc/mail/aliases...
WARNING: local host name (lisac) is not qualified; see cf/README: WHO AM I?
/etc/mail/aliases: 1 aliases, longest 13 bytes, 17 bytes total

Warning: 3 database(s) sources
        were not found, (but were created)
        please investigate.
Starting Mail Transport Agent: sendmail.

Setting up rmail (8.13.5-3ubuntu1) ...
Setting up sensible-mda (8.13.5-3ubuntu1) ...
Setting up sendmail (8.13.5-3ubuntu1) ...
xxx@yyy:~$