Hosted by PSE.pl | Created: 2004-03-13 | Last update: 2004-03-14 18:17:04 UTC | GnuPG signature of this page
anfiTop | anfiUp | Andrzej Filip | Mirror Sites | GnuPG Keys | New!google
googleMy Postings | slashdotJournal | Showing Gratitude
Personal | Sendmail | Exim | General MTA | Cyrus IMAP | UUCP

Extended LUSER_RELAY/LOCAL_RELAY (sendmail)

Obsoletes

Obsoletes Extended LUSER_RELAY

Abstract

The document describes how to specify domain appended to recipients addresses relayed by LUSER_RELAY or LOCAL_RELAY. Sendmail by default appends name of the relay host used.


Copyright (c) 2004 Andrzej Filip

Install

  1. Install FEATURE(`mrs') [It requires patching cf/m4/proto.m4]
  2. Copy mrs_relay_cd.m4 file (the gpg signature) to cf/feature/ directory in sendmail distribution.
  3. In *.mc file you use to generate sendmail.cf add the new features used and specify the relay
    FEATURE(`mrs')dnl
    FEATURE(`mrs_relay_cd')dnl
    define(`LUSER_RELAY',`mrs_relay_cd:example.com;esmtp:example.net')dnl
    
    It should make sendmail relay unknown local user "user" to example.net host(s) using esmpt mailer with recipient address set to "user@example.com".

Tests

sendmail -bv no_such_user
sendmail -bv pstmaster
sendmail -bv no_such_user@localhost