#apt-get install sendmail sensible-mda sendmail-bin
ЧÑение ÑпиÑков пакеÑов... ÐоÑово
ÐоÑÑÑоение деÑева завиÑимоÑÑей
ЧÑение инÑоÑмаÑии о ÑоÑÑоÑнии... ÐоÑово
СледÑÑÑие пакеÑÑ ÑÑÑанавливалиÑÑ Ð°Ð²ÑомаÑиÑеÑки и болÑÑе не ÑÑебÑÑÑÑÑ:
libmysqlclient16 mysql-common
ÐÐ»Ñ Ð¸Ñ
ÑÐ´Ð°Ð»ÐµÐ½Ð¸Ñ Ð¸ÑполÑзÑйÑе 'apt-get autoremove'.
ÐÑдÑÑ ÑÑÑÐ°Ð½Ð¾Ð²Ð»ÐµÐ½Ñ ÑледÑÑÑие дополниÑелÑнÑе пакеÑÑ:
libmysqlclient16 mysql-common sendmail-base sendmail-cf
ÐÑедлагаемÑе пакеÑÑ:
sendmail-doc rmail logcheck resolvconf sasl2-bin
ÐакеÑÑ, коÑоÑÑе бÑдÑÑ Ð£ÐÐÐ
xim4 exim4-base exim4-config exim4-daemon-light
ÐÐÐЫРпакеÑÑ, коÑоÑÑе бÑдÑÑ ÑÑÑановленÑ:
libmysqlclient16 mysql-common sendmail sendmail-base sendmail-bin
sendmail-cf sensible-mda
обновлено 0, ÑÑÑановлено 7 новÑÑ
пакеÑов, Ð´Ð»Ñ ÑÐ´Ð°Ð»ÐµÐ½Ð¸Ñ Ð¾ÑмеÑено 4 пакеÑов, и 0 пакеÑов не обновлено.
ÐеобÑ
одимо ÑкаÑаÑÑ 4 118 kРаÑÑ
ивов.
ÐоÑле данной опеÑаÑии, обÑÑм занÑÑого диÑкового пÑоÑÑÑанÑÑва возÑаÑÑÑÑ Ð½Ð° 5 710 kB.
ХоÑиÑе пÑодолжиÑÑ [Ð/н]?
ÐолÑÑено:1 http://192.168.15.253/debian/ squeeze/main sendmail-base all 8.14.3-9.4 [362 kB]
ÐолÑÑено:2 http://192.168.15.253/debian/ squeeze/main sendmail-cf all 8.14.3-9.4 [298 kB]
ÐолÑÑено:3 http://192.168.15.253/debian/ squeeze/main sendmail-bin amd64 8.14.3-9.4 [978 kB]
ÐолÑÑено:4 http://192.168.15.253/debian/ squeeze/main mysql-common all 5.1.49-3 [70,9 kB]
ÐолÑÑено:5 http://192.168.15.253/debian/ squeeze/main libmysqlclient16 amd64 5.1.49-3 [1 985 kB]
ÐолÑÑено:6 http://192.168.15.253/debian/ squeeze/main sensible-mda amd64 8.14.3-9.4 [215 kB]
ÐолÑÑено:7 http://192.168.15.253/debian/ squeeze/main sendmail all 8.14.3-9.4 [209 kB]
ÐолÑÑено 4 118 kРза 4Ñ (970 kÐ/c)
(ЧÑение Ð±Ð°Ð·Ñ Ð´Ð°Ð½Ð½ÑÑ
... на даннÑй Ð¼Ð¾Ð¼ÐµÐ½Ñ ÑÑÑановлено 127212 Ñайлов и каÑалогов.)
УдалÑеÑÑÑ Ð¿Ð°ÐºÐµÑ exim4 ...
ÐÑÐ±Ð¾Ñ Ñанее не вÑбÑанного пакеÑа sendmail-base.
(ЧÑение Ð±Ð°Ð·Ñ Ð´Ð°Ð½Ð½ÑÑ
... на даннÑй Ð¼Ð¾Ð¼ÐµÐ½Ñ ÑÑÑановлено 127210 Ñайлов и каÑалогов.)
РаÑпаковÑваеÑÑÑ Ð¿Ð°ÐºÐµÑ sendmail-base (из Ñайла .../sendmail-base_8.14.3-9.4_all.deb)...
ÐÑÐ±Ð¾Ñ Ñанее не вÑбÑанного пакеÑа sendmail-cf.
РаÑпаковÑваеÑÑÑ Ð¿Ð°ÐºÐµÑ sendmail-cf (из Ñайла .../sendmail-cf_8.14.3-9.4_all.deb)...
ÐбÑабаÑÑваÑÑÑÑ ÑÑиггеÑÑ Ð´Ð»Ñ man-db ...
dpkg: exim4-config: имеÑÑÑÑ Ð¿ÑÐ¾Ð±Ð»ÐµÐ¼Ñ Ñ Ð·Ð°Ð²Ð¸ÑимоÑÑÑми, но по ваÑÐµÐ¼Ñ ÑказаниÑ
он вÑÑ Ñавно бÑÐ´ÐµÑ ÑдалÑн:
exim4-base завиÑÐ¸Ñ Ð¾Ñ exim4-config (>= 4.30) | exim4-config-2, однако:
ÐÐ°ÐºÐµÑ exim4-config бÑÐ´ÐµÑ ÑдалÑн.
ÐÐ°ÐºÐµÑ exim4-config-2 не ÑÑÑановлен.
ÐÐ°ÐºÐµÑ exim4-config пÑедоÑÑавлÑÐµÑ exim4-config-2, но должен бÑÑÑ ÑдалÑн.
exim4-base завиÑÐ¸Ñ Ð¾Ñ exim4-config (>= 4.30) | exim4-config-2, однако:
ÐÐ°ÐºÐµÑ exim4-config бÑÐ´ÐµÑ ÑдалÑн.
ÐÐ°ÐºÐµÑ exim4-config-2 не ÑÑÑановлен.
ÐÐ°ÐºÐµÑ exim4-config пÑедоÑÑавлÑÐµÑ exim4-config-2, но должен бÑÑÑ ÑдалÑн.
(ЧÑение Ð±Ð°Ð·Ñ Ð´Ð°Ð½Ð½ÑÑ
... на даннÑй Ð¼Ð¾Ð¼ÐµÐ½Ñ ÑÑÑановлено 127578 Ñайлов и каÑалогов.)
УдалÑеÑÑÑ Ð¿Ð°ÐºÐµÑ exim4-config ...
dpkg: exim4-daemon-light: имеÑÑÑÑ Ð¿ÑÐ¾Ð±Ð»ÐµÐ¼Ñ Ñ Ð·Ð°Ð²Ð¸ÑимоÑÑÑми, но по ваÑÐµÐ¼Ñ ÑказаниÑ
он вÑÑ Ñавно бÑÐ´ÐµÑ ÑдалÑн:
bsd-mailx завиÑÐ¸Ñ Ð¾Ñ default-mta | mail-transport-agent, однако:
ÐÐ°ÐºÐµÑ default-mta не ÑÑÑановлен.
ÐÐ°ÐºÐµÑ exim4-daemon-light пÑедоÑÑавлÑÐµÑ default-mta, но должен бÑÑÑ ÑдалÑн.
ÐÐ°ÐºÐµÑ mail-transport-agent не ÑÑÑановлен.
ÐÐ°ÐºÐµÑ exim4-daemon-light пÑедоÑÑавлÑÐµÑ mail-transport-agent, но должен бÑÑÑ ÑдалÑн.
bsd-mailx завиÑÐ¸Ñ Ð¾Ñ default-mta | mail-transport-agent, однако:
ÐÐ°ÐºÐµÑ default-mta не ÑÑÑановлен.
ÐÐ°ÐºÐµÑ exim4-daemon-light пÑедоÑÑавлÑÐµÑ default-mta, но должен бÑÑÑ ÑдалÑн.
ÐÐ°ÐºÐµÑ mail-transport-agent не ÑÑÑановлен.
ÐÐ°ÐºÐµÑ exim4-daemon-light пÑедоÑÑавлÑÐµÑ mail-transport-agent, но должен бÑÑÑ ÑдалÑн.
УдалÑеÑÑÑ Ð¿Ð°ÐºÐµÑ exim4-daemon-light ...
Stopping MTA: exim4_listener.
ÐбÑабаÑÑваÑÑÑÑ ÑÑиггеÑÑ Ð´Ð»Ñ man-db ...
ÐÑÐ±Ð¾Ñ Ñанее не вÑбÑанного пакеÑа sendmail-bin.
(ЧÑение Ð±Ð°Ð·Ñ Ð´Ð°Ð½Ð½ÑÑ
... на даннÑй Ð¼Ð¾Ð¼ÐµÐ½Ñ ÑÑÑановлено 127518 Ñайлов и каÑалогов.)
РаÑпаковÑваеÑÑÑ Ð¿Ð°ÐºÐµÑ sendmail-bin (из Ñайла .../sendmail-bin_8.14.3-9.4_amd64.deb)...
ÐбÑабаÑÑваÑÑÑÑ ÑÑиггеÑÑ Ð´Ð»Ñ man-db ...
ÐаÑÑÑаиваеÑÑÑ Ð¿Ð°ÐºÐµÑ sendmail-base (8.14.3-9.4) ...
adduser: ÐÑедÑпÑеждение: домаÑний каÑалог «/var/lib/sendmail» не пÑÐ¸Ð½Ð°Ð´Ð»ÐµÐ¶Ð¸Ñ Ð¿Ð¾Ð»ÑзоваÑелÑ, коÑоÑÑй ÑейÑÐ°Ñ ÑоздаÑÑÑÑ.
adduser: ÐÑедÑпÑеждение: домаÑний каÑалог «/var/lib/sendmail» не пÑÐ¸Ð½Ð°Ð´Ð»ÐµÐ¶Ð¸Ñ Ð¿Ð¾Ð»ÑзоваÑелÑ, коÑоÑÑй ÑейÑÐ°Ñ ÑоздаÑÑÑÑ.
ÐаÑÑÑаиваеÑÑÑ Ð¿Ð°ÐºÐµÑ sendmail-cf (8.14.3-9.4) ...
ÐаÑÑÑаиваеÑÑÑ Ð¿Ð°ÐºÐµÑ sendmail-bin (8.14.3-9.4) ...
update-rc.d: warning: sendmail stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (1)
update-alternatives: иÑполÑзÑеÑÑÑ `/usr/lib/sm.bin/sendmail' Ð´Ð»Ñ Ð¿ÑедоÑÑÐ°Ð²Ð»ÐµÐ½Ð¸Ñ `/usr/sbin/sendmail-mta' (sendmail-mta) в авÑомаÑиÑеÑкий Ñежим.
update-alternatives: иÑполÑзÑеÑÑÑ `/usr/lib/sm.bin/sendmail' Ð´Ð»Ñ Ð¿ÑедоÑÑÐ°Ð²Ð»ÐµÐ½Ð¸Ñ `/usr/sbin/sendmail-msp' (sendmail-msp) в авÑомаÑиÑеÑкий Ñежим.
update-alternatives: пÑедÑпÑеждение: /usr/share/man/man8/sendmail.8.gz на ÑÑÑÐ»ÐºÑ Ð½Ðµ заменÑн.
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 (MTA): sendmail.
Updating sendmail environment ...
Validating configuration.
Writing configuration to /etc/mail/sendmail.conf.
Writing /etc/cron.d/sendmail.
Could not open /etc/mail/databases(ÐÐµÑ Ñакого Ñайла или каÑалога), creating it.
Could not open /etc/mail/sendmail.mc(ÐÐµÑ Ñакого Ñайла или каÑалога)
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(ÐÐµÑ Ñакого Ñайла или каÑалога), 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/update_auth"
Creating/Updating SSL(for TLS) information
Creating /etc/mail/tls/starttls.m4...
Creating SSL certificates for sendmail.
Generating DSA parameters, 2048 bit long prime
This could take some time
.......+.......+......................+.....................+................+..+.+++++++++++++++++++++++++++++++++++++++++++++++++++*
....+..........+.............+..+...............+..............+........+..+...............+.............+..+......................+..+...........+.+........+.......+.....+.+.............+...................+.+......+...+..............+.+...........+..........+....+.........+.......+..+...........+....+............+......+.+..........+..........+...+...........................+..............+.+...
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...
*** ERROR: FEATURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`always_add_domain')*** ERROR: FEATURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`allmasquerade')*** ERROR: FEATURE() should be before MAILER()
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...
/etc/mail/aliases: 13 aliases, longest 10 bytes, 142 bytes total
Warning: 3 database(s) sources
were not found, (but were created)
please investigate.
Warning: These messages were issued while creating sendmail.cf
make sure they are benign before starting sendmail!
Errors in generating sendmail.cf
*** ERROR: FEATURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`always_add_domain')*** ERROR: FEATURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`allmasquerade')*** ERROR: FEATURE() should be before MAILER()
Starting Mail Transport Agent (MTA): sendmail.
(ЧÑение Ð±Ð°Ð·Ñ Ð´Ð°Ð½Ð½ÑÑ
... на даннÑй Ð¼Ð¾Ð¼ÐµÐ½Ñ ÑÑÑановлено 127574 Ñайла и каÑалога.)
УдалÑеÑÑÑ Ð¿Ð°ÐºÐµÑ exim4-base ...
ÐбÑабаÑÑваÑÑÑÑ ÑÑиггеÑÑ Ð´Ð»Ñ man-db ...
ÐÑÐ±Ð¾Ñ Ñанее не вÑбÑанного пакеÑа mysql-common.
(ЧÑение Ð±Ð°Ð·Ñ Ð´Ð°Ð½Ð½ÑÑ
... на даннÑй Ð¼Ð¾Ð¼ÐµÐ½Ñ ÑÑÑановлено 127499 Ñайлов и каÑалогов.)
РаÑпаковÑваеÑÑÑ Ð¿Ð°ÐºÐµÑ mysql-common (из Ñайла .../mysql-common_5.1.49-3_all.deb)...
ÐÑÐ±Ð¾Ñ Ñанее не вÑбÑанного пакеÑа libmysqlclient16.
РаÑпаковÑваеÑÑÑ Ð¿Ð°ÐºÐµÑ libmysqlclient16 (из Ñайла .../libmysqlclient16_5.1.49-3_amd64.deb)...
ÐÑÐ±Ð¾Ñ Ñанее не вÑбÑанного пакеÑа sensible-mda.
РаÑпаковÑваеÑÑÑ Ð¿Ð°ÐºÐµÑ sensible-mda (из Ñайла .../sensible-mda_8.14.3-9.4_amd64.deb)...
ÐÑÐ±Ð¾Ñ Ñанее не вÑбÑанного пакеÑа sendmail.
РаÑпаковÑваеÑÑÑ Ð¿Ð°ÐºÐµÑ sendmail (из Ñайла .../sendmail_8.14.3-9.4_all.deb)...
ÐбÑабаÑÑваÑÑÑÑ ÑÑиггеÑÑ Ð´Ð»Ñ man-db ...
ÐаÑÑÑаиваеÑÑÑ Ð¿Ð°ÐºÐµÑ mysql-common (5.1.49-3) ...
ÐаÑÑÑаиваеÑÑÑ Ð¿Ð°ÐºÐµÑ libmysqlclient16 (5.1.49-3) ...
ÐаÑÑÑаиваеÑÑÑ Ð¿Ð°ÐºÐµÑ sensible-mda (8.14.3-9.4) ...
ÐаÑÑÑаиваеÑÑÑ Ð¿Ð°ÐºÐµÑ sendmail (8.14.3-9.4) ...