Sendmail: Running SMTP With TLS

If you want to run your sendmail config with TLS enabled, here are some configration options you can add to your sendmail.mc file:

Option Description
define(`confCACERT', `path/to/file.ca') set the CA file
define(`confCACERT_PATH', `path/to/certs') path to the certificate folder
define(`confCLIENT_CERT', `path/to/file.crt') set the certificate used when sendmail connects to another host
define(`confCLIENT_KEY', `path/to/file.key') set the certificate key file used when sendmail connects to another host
define(`confSERVER_CERT', `path/to/file.crt') set the certificate used when someone connects to sendmail
define(`confSERVER_KEY', `path/to/file.key') set the certificate key file used when someone connects to sendmail
define(`confCRL', `path/to/file.crl') set file containing Cerificate Revocation List
define(`confTO_STARTTLS', `1h') set the time out for the STARTTLS command (default: 1h)
define(`confDH_PARAMETERS', `path/to/file.dh') set the file containing Diffie-Hellmann (DH) parameters
define(`confTLS_SVR_OPTIONS', `V') set TLS options (argument V disables certificate verification)

if all parameters you want have been added, simple recompile the sendmail.cf with following command:
# m4 sendmail.mc > sendmail.cf

and restart your sendmail service.

Note on GMX and WEB.DE servers:
the DH parameter is needed if these clients refuse to connect an deliver email or see similar errors in your log:

STARTTLS=server, error: accept failed=0, SSL_error=1, errno=0, retry=-1

STARTTLS=server: 11964:error:1409442F:SSL routines:SSL3_READ_BYTES:tlsv1 alert insufficient security:s3_pkt.c:1092:SSL alert number 71

 

Intel NIC 82579LM install on ESXi 5.1

Hello,

i had recently the problem that i installed ESXi 5.1 on the local network. Installation and configuration went smoothly but the network card was not recognized. After some reading i found the answer, install a community-compiled driver for that card.

Here a quick how i've got the Intel 82579LM to work:

  1. Download the needed driver here. net-e1000e-2.1.4.x86_64.vib and put it on the disk
  2. Go to your ESXi and make sure that at least your ESXi Shell is enabled then go to the terminal using CTRL+ALT+F1
  3. Login with your root password
  4. Go to the folder you where you stored the driver
  5. Copy the driver to another place
    # cp /path/to/net-e1000 /tmp
  6. Put ESXi into maintenace mode
    # esxcli system maintenanceMode set -e true -t 0
  7. Set the host software level to community
    # esxcli software acceptance set –level=CommunitySupported
  8. Now install the driver
    # esxcli software vib install -v /tmp/net-e1000e-2.1.4.x86_64.vib (path must be absolute)
  9. And exit the maintenance mode
    # esxcli system maintenanceMode set -e false -t 0
  10. That's it, reboot the machine.

Sources: here

Click here for more drivers.