root@av:~# apt-cache search sendmail : : sendmail-base - powerful, efficient, and scalable Mail Transport Agent sendmail-bin - powerful, efficient, and scalable Mail Transport Agent sendmail-cf - powerful, efficient, and scalable Mail Transport Agent sendmail-doc - powerful, efficient, and scalable Mail Transport Agent sendmail - powerful, efficient, and scalable Mail Transport Agent : : root@av:~#sendmail を入れればいいのか???
root@av:~# apt-get install sendmail Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libpcre3 python-minimal python ssl-cert openssl Use 'apt-get autoremove' to remove them. The following extra packages will be installed: liblockfile1 m4 make procmail sendmail-base sendmail-bin sendmail-cf sensible-mda Suggested packages: make-doc sendmail-doc rmail ca-certificates logcheck resolvconf sasl2-bin Recommended packages: default-mta mail-transport-agent fetchmail The following NEW packages will be installed: liblockfile1 m4 make procmail sendmail sendmail-base sendmail-bin sendmail-cf sensible-mda 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. Need to get 2849 kB of archives. After this operation, 7311 kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://ftp.jp.debian.org/debian/ squeeze/main liblockfile1 armel 1.08-4 [19.8 kB] Get:2 http://ftp.jp.debian.org/debian/ squeeze/main m4 armel 1.4.14-3 [268 kB] Get:3 http://ftp.jp.debian.org/debian/ squeeze/main procmail armel 3.22-19 [146 kB] Get:4 http://ftp.jp.debian.org/debian/ squeeze/main make armel 3.81-8 [393 kB] Get:5 http://ftp.jp.debian.org/debian/ squeeze/main sendmail-base all 8.14.3-9.4 [362 kB] Get:6 http://ftp.jp.debian.org/debian/ squeeze/main sendmail-cf all 8.14.3-9.4 [298 kB] Get:7 http://ftp.jp.debian.org/debian/ squeeze/main sendmail-bin armel 8.14.3-9.4 [938 kB] Get:8 http://ftp.jp.debian.org/debian/ squeeze/main sensible-mda armel 8.14.3-9.4 [215 kB] Get:9 http://ftp.jp.debian.org/debian/ squeeze/main sendmail all 8.14.3-9.4 [209 kB] Fetched 2849 kB in 1s (1428 kB/s) Selecting previously deselected package liblockfile1. (Reading database ... 12692 files and directories currently installed.) Unpacking liblockfile1 (from .../liblockfile1_1.08-4_armel.deb) ... Selecting previously deselected package m4. Unpacking m4 (from .../archives/m4_1.4.14-3_armel.deb) ... Selecting previously deselected package procmail. Unpacking procmail (from .../procmail_3.22-19_armel.deb) ... Selecting previously deselected package make. Unpacking make (from .../archives/make_3.81-8_armel.deb) ... Selecting previously deselected package sendmail-base. Unpacking sendmail-base (from .../sendmail-base_8.14.3-9.4_all.deb) ... Selecting previously deselected package sendmail-cf. Unpacking sendmail-cf (from .../sendmail-cf_8.14.3-9.4_all.deb) ... Selecting previously deselected package sendmail-bin. Unpacking sendmail-bin (from .../sendmail-bin_8.14.3-9.4_armel.deb) ... Selecting previously deselected package sensible-mda. Unpacking sensible-mda (from .../sensible-mda_8.14.3-9.4_armel.deb) ... Selecting previously deselected package sendmail. Unpacking sendmail (from .../sendmail_8.14.3-9.4_all.deb) ... Processing triggers for man-db ... Processing triggers for install-info ... Setting up liblockfile1 (1.08-4) ... Setting up m4 (1.4.14-3) ... Setting up procmail (3.22-19) ... Setting up make (3.81-8) ... Setting up sendmail-base (8.14.3-9.4) ... adduser: Warning: The home directory `/var/lib/sendmail' does not belong to the user you are currently creating. adduser: Warning: The home directory `/var/lib/sendmail' does not belong to the user you are currently creating. Setting up sendmail-cf (8.14.3-9.4) ... Setting up 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: using /usr/lib/sm.bin/sendmail to provide /usr/sbin/sendmail-mta (sendmail-mta) in auto mode. update-alternatives: using /usr/lib/sm.bin/sendmail to provide /usr/sbin/sendmail-msp (sendmail-msp) in auto mode. update-alternatives: warning: not replacing /usr/share/man/man8/sendmail.8.gz with a link. 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(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/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: 2 aliases, longest 8 bytes, 20 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. Setting up sensible-mda (8.14.3-9.4) ... Setting up sendmail (8.14.3-9.4) ... !root@av:~#何のカスタマイズもしていないのに、 ERROR とは、、、
sendmail の設定なんて久しぶりなので、、、ちょっと散歩する
|
← exim4 のインストール |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ sendmail のトラブル |