Hosted by PSE.pl | Created: 2004-03-27 | Last update: 2006-01-29 08:07:32 UTC title="GnuPG Signature"
anfiTop | anfiUp | Andrzej Filip | Mirror Sites | GnuPG Keys | New!google
googleMy Postings | slashdotJournal | Showing Gratitude
Personal | Sendmail | Exim | General MTA | Cyrus IMAP | UUCP
slashdotFeedback for this page

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.


Copyright (c) 2004 Andrzej Filip

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).

Install

  1. In sendmail distribution append ssh.m4 (the gpg signature) 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