84-16-234-249:/etc/init.d# apt-get install sendmail Paketlisten werden gelesen... Fertig Abh�ngigkeitsbaum wird aufgebaut... Fertig Die folgenden zus�tzlichen Pakete werden installiert: rmail sendmail-base sendmail-bin sendmail-cf sensible-mda Vorgeschlagene Pakete: sendmail-doc ca-certificates logcheck Die folgenden NEUEN Pakete werden installiert: rmail sendmail sendmail-base sendmail-bin sendmail-cf sensible-mda 0 aktualisiert, 6 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. Es m�ssen 2045kB Archive geholt werden. Nach dem Auspacken werden 5124kB Plattenplatz zus�tzlich benutzt. M�chten Sie fortfahren? [J/n] J Hole:1 http://security.debian.org stable/updates/main sendmail-base 8.13.4-3sarge3 [341kB] Hole:2 http://security.debian.org stable/updates/main sendmail-cf 8.13.4-3sarge3 [279kB] Hole:3 http://security.debian.org stable/updates/main sendmail-bin 8.13.4-3sarge3 [813kB] Hole:4 http://security.debian.org stable/updates/main rmail 8.13.4-3sarge3 [223kB] Hole:5 http://security.debian.org stable/updates/main sensible-mda 8.13.4-3sarge3 [197kB] Hole:6 http://security.debian.org stable/updates/main sendmail 8.13.4-3sarge3 [192kB] Es wurden 2045kB in 0s geholt (5145kB/s) W�hle vormals abgew�hltes Paket sendmail-base. (Lese Datenbank ... 35013 Dateien und Verzeichnisse sind derzeit installiert.) Entpacke sendmail-base (aus .../sendmail-base_8.13.4-3sarge3_all.deb) ... W�hle vormals abgew�hltes Paket sendmail-cf. Entpacke sendmail-cf (aus .../sendmail-cf_8.13.4-3sarge3_all.deb) ... W�hle vormals abgew�hltes Paket sendmail-bin. Entpacke sendmail-bin (aus .../sendmail-bin_8.13.4-3sarge3_i386.deb) ... W�hle vormals abgew�hltes Paket rmail. Entpacke rmail (aus .../rmail_8.13.4-3sarge3_i386.deb) ... W�hle vormals abgew�hltes Paket sensible-mda. Entpacke sensible-mda (aus .../sensible-mda_8.13.4-3sarge3_i386.deb) ... W�hle vormals abgew�hltes Paket sendmail. Entpacke sendmail (aus .../sendmail_8.13.4-3sarge3_all.deb) ... Richte sendmail-base ein (8.13.4-3sarge3) ... Saving current /etc/mail/sendmail.mc,cf to /var/backups Richte sendmail-cf ein (8.13.4-3sarge3) ... Richte sendmail-bin ein (8.13.4-3sarge3) ... update-rc.d: /etc/init.d/sendmail exists during rc.d purge (continuing) Stopping Mail Transport Agent: sendmail. Updating sendmail environment ... Reading configuration from /etc/mail/sendmail.conf. Validating configuration. Writing configuration to /etc/mail/sendmail.conf. Writing /etc/cron.d/sendmail. Could not open /etc/mail/databases(Datei oder Verzeichnis nicht gefunden), creating it. Could not open /etc/mail/sasl/sasl.m4(Datei oder Verzeichnis nicht gefunden) Reading configuration from /etc/mail/sendmail.conf. Validating configuration. Writing configuration to /etc/mail/sendmail.conf. Writing /etc/cron.d/sendmail. Could not open /etc/mail/databases(Datei oder Verzeichnis nicht gefunden), creating it. Could not open /etc/mail/sasl/sasl.m4(Datei oder Verzeichnis nicht gefunden) 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) Creating /etc/mail/sasl/sasl.m4... Ah, you're setup with SASL2 ! Unfortunately, there is no automagic way to migrate to /etc/sasldb2 :( You'll want to make sure /etc/default/saslauthd is setup to start, and has at least MECHANISMS="pam" ! If you find out what more is needed, please let me know! To enable sendmail to use SASLS, you need to: 1) Add this line to /etc/mail/sendmail.mc and optionally to /etc/mail/submit.mc: include(`/etc/mail/sasl/sasl.m4')dnl 2) Run sendmailconfig 3) Restart sendmail SASL2 is now minimally setup, there are a few ways to handle users: *) Allow only shell users (default) You're all set, nothing else to do ! *) Allow users other than shell Add users via /usr/sbin/saslpasswd2 and make sure that the realm you used matches what your users specify in their netscape/outlook/mutt/etc profiles. If you need to authorize sendmail as a sender, also update /etc/mail/default-auth-info and rerun /usr/share/sendmail/update_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 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() Creating /etc/mail/submit.cf... Informational: confCR_FILE file empty: /etc/mail/relay-domains Updating /etc/mail/access... Linking /etc/aliases to /etc/mail/aliases Updating /etc/mail/aliases... /etc/mail/aliases: 16 aliases, longest 10 bytes, 192 bytes total 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() Starting Mail Transport Agent: sendmail. Richte rmail ein (8.13.4-3sarge3) ... Richte sensible-mda ein (8.13.4-3sarge3) ... Richte sendmail ein (8.13.4-3sarge3) ... 84-16-234-249:/etc/init.d#