Hello,

I use sendmail's User Database and can't get sendmailconfig to
generate a sendmail.cf file that works correctly (translates my
outgoing mail headers to look like they are coming from a
reachable email address).

Has anyone got this working using sendmail 8.9?  If so, how?
What do you put in your sendmail.mc file?

I have an old sendmail.cf file that provides working translation
(but waht am I missing out on by using it?).  It contains:

O UserDatabaseSpec=/etc/mail/users.db

where /etc/mail/users.db is created using:

# makemap btree /etc/mail/users.db < /etc/mail/userdb

on a file /etc/mail/userdb that looks like:

-cut-
rhogee:mailname         [EMAIL PROTECTED]
[EMAIL PROTECTED]:maildrop       rhogee
-cut-

The new sendmail.cf generated by sendmailconfig also has the 
"O UserDatabaseSpec=/etc/mail/users.db" line, has other diff's
which appear to break userdb behaviour.  

A test messsage received using my old sendmail.cf file looks
like:

 From [EMAIL PROTECTED] Tue Aug  3 15:59:10 1999
 Received: from mixing.qc.dfo-mpo.gc.ca ([207.216.183.21]:8290 "EHLO 
mixing.qc.dfo.ca" ident: "TIMEDOUT") by skye.phys.ocean.dal.ca with ESMTP id 
<17158-16979>; Tue, 3 Aug 1999 15:58:56 -0300
 Received: from mixing.qc.dfo.ca ([EMAIL PROTECTED] [127.0.0.1])
         by mixing.qc.dfo.ca (8.9.3/8.8.5) with ESMTP id OAA02126
         for <[EMAIL PROTECTED]>; Tue, 3 Aug 1999 14:58:50 -0400
 Message-Id: <[EMAIL PROTECTED]>
 To:     [EMAIL PROTECTED]
 Subject: test with old config
 Date:   Tue, 03 Aug 1999 14:58:50 -0400
 From:   Peter S Galbraith <[EMAIL PROTECTED]>
 Return-Path: <[EMAIL PROTECTED]>
 X-Orcpt: rfc822;[EMAIL PROTECTED]

Using the new (broken) sendmail.cf yields:

 From [EMAIL PROTECTED] Tue Aug  3 15:58:10 1999
 Received: from mixing.qc.dfo-mpo.gc.ca ([207.216.183.21]:8284 "EHLO 
mixing.qc.dfo.ca" ident: "TIMEDOUT") by skye.phys.ocean.dal.ca with ESMTP id 
<17158-16979>; Tue, 3 Aug 1999 15:57:54 -0300
 Received: from mixing.qc.dfo.ca ([EMAIL PROTECTED] [127.0.0.1])
         by mixing.qc.dfo.ca (8.9.3/8.9.3/Debian/GNU) with ESMTP id OAA02108
         for <[EMAIL PROTECTED]>; Tue, 3 Aug 1999 14:57:42 -0400
 Message-Id: <[EMAIL PROTECTED]>
 To:     [EMAIL PROTECTED]
 Subject: test
 Date:   Tue, 03 Aug 1999 14:57:42 -0400
 From:   Peter S Galbraith <[EMAIL PROTECTED]>
 Return-Path: <[EMAIL PROTECTED]>
 X-Orcpt: rfc822;[EMAIL PROTECTED]
 
Note that the `From:' line contains an unreachable (behind the
firewall) address of [EMAIL PROTECTED], my real username on
my host mixing.

Any ideas?
-- 
Peter Galbraith, research scientist          <[EMAIL PROTECTED]>
Maurice Lamontagne Institute, Department of Fisheries and Oceans Canada
P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada. 418-775-0852 FAX: 775-0546
    6623'rd GNU/Linux user at the Counter - http://counter.li.org/ 

Reply via email to