silver1:~# apt-get install sendmail-bin Reading package lists... Done Building dependency tree... Done The following extra packages will be installed: sendmail-base sendmail-cf Suggested packages: sendmail-doc logcheck sasl2-bin libsasl2-modules libsasl2-modules-plain libsasl2-digestmd5-plain libsasl2-digestmd5-des cyrus-common Recommended packages: resolvconf The following packages will be REMOVED: exim4 exim4-base exim4-config exim4-daemon-light The following NEW packages will be installed: sendmail-base sendmail-bin sendmail-cf 0 upgraded, 3 newly installed, 4 to remove and 0 not upgraded. Need to get 1463kB of archives. After unpacking 541kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://gulus.usherbrooke.ca etch/main sendmail-base 8.13.8-3 [347kB] Get:2 http://gulus.usherbrooke.ca etch/main sendmail-cf 8.13.8-3 [285kB] Get:3 http://gulus.usherbrooke.ca etch/main sendmail-bin 8.13.8-3 [831kB] Fetched 1463kB in 1s (1027kB/s) (Reading database ... 73179 files and directories currently installed.) Removing exim4 ... dpkg: exim4-base: dependency problems, but removing anyway as you request: exim4-daemon-light depends on exim4-base (>= 4.63). Removing exim4-base ... Stopping MTA: exim4_listener. Removing exim4-config ... dpkg: exim4-daemon-light: dependency problems, but removing anyway as you reques t: at depends on mail-transport-agent; however: Package mail-transport-agent is not installed. Package exim4-daemon-light which provides mail-transport-agent is to be remove d. mailx depends on exim4 | mail-transport-agent; however: Package exim4 is not installed. Package mail-transport-agent is not installed. Package exim4-daemon-light which provides mail-transport-agent is to be remove d. mutt depends on exim4 | mail-transport-agent; however: Package exim4 is not installed. Package mail-transport-agent is not installed. Package exim4-daemon-light which provides mail-transport-agent is to be remove d. Removing exim4-daemon-light ... Stopping MTA:. Selecting previously deselected package sendmail-base. (Reading database ... 73044 files and directories currently installed.) Unpacking sendmail-base (from .../sendmail-base_8.13.8-3_all.deb) ... Selecting previously deselected package sendmail-cf. Unpacking sendmail-cf (from .../sendmail-cf_8.13.8-3_all.deb) ... Selecting previously deselected package sendmail-bin. Unpacking sendmail-bin (from .../sendmail-bin_8.13.8-3_i386.deb) ... Setting up sendmail-base (8.13.8-3) ... 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.8-3) ... Setting up sendmail-bin (8.13.8-3) ... 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... *** ERROR: FEATURE() should be before MAILER() *** MAILER(`local') must appear after FEATURE(`always_add_domain')*** ERROR: FEA TURE() 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, 143 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: FEA TURE() should be before MAILER() *** MAILER(`local') must appear after FEATURE(`allmasquerade')*** ERROR: FEATURE () should be before MAILER() Starting Mail Transport Agent: sendmail. silver1:~# apt-get install sendmail Reading package lists... Done Building dependency tree... Done The following extra packages will be installed: rmail sensible-mda Suggested packages: sendmail-doc The following NEW packages will be installed: rmail sendmail sensible-mda 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 631kB of archives. After unpacking 901kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://gulus.usherbrooke.ca etch/main rmail 8.13.8-3 [229kB] Get:2 http://gulus.usherbrooke.ca etch/main sensible-mda 8.13.8-3 [204kB] Get:3 http://gulus.usherbrooke.ca etch/main sendmail 8.13.8-3 [198kB] Fetched 631kB in 0s (1022kB/s) Selecting previously deselected package rmail. (Reading database ... 73461 files and directories currently installed.) Unpacking rmail (from .../rmail_8.13.8-3_i386.deb) ... Selecting previously deselected package sensible-mda. Unpacking sensible-mda (from .../sensible-mda_8.13.8-3_i386.deb) ... Selecting previously deselected package sendmail. Unpacking sendmail (from .../sendmail_8.13.8-3_all.deb) ... Setting up rmail (8.13.8-3) ... Setting up sensible-mda (8.13.8-3) ... Setting up sendmail (8.13.8-3) ... silver1:~# ps -aux | grep sendmail Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html root 3777 0.0 0.2 7412 2024 ? Ss 20:37 0:00 sendmail: MTA: accepting connections root 3840 0.0 0.0 2852 704 pts/0 R+ 20:39 0:00 grep sendmail