WARNING:
It is archival version of discontinued web site anfi.homeunix.net.
It is not actively maintained.

ssh mailer (sendmail)

Abstract

The document describe new sendmail's ssh mailer. It allows local sendmail to use remote unix accountwith ssh access for email relauing.

Usage

ssh mailer allows sendmail to use "sendmail -bs" (SMTP over sendmail's STDIN & STDOUT) started using ssh on another host.

It can be used as outgoing relay (smart host) for dialup/dynamic connections. It can be also used for privacy protection (hidding details about sending hosts in Reveived: headers).

smarttable development and maintanance has been moved to open-sendmail at sourceforge.net.

Install

  1. In sendmail distribution append ssh.m4 to cf/mailer/ directory.
  2. In *.mc file add
    define(`SSH_MAILER_USER',`user:group')dnl
    define(`SSH_MAILER_DIR',`_working_dir_')dnl
    MAILER(`ssh')dnl
    
    Modify user:group and _working_directory_ to fir your system requirements.
  3. Modify ~user/ssh/.config to allow use executing "sendmail -bs" on the remote host using key authentication. See "man ssh_config" for details.

Additional


Last Update: 2008-09-18