I have posted the same question. The defaulthost only applies to mail which 
does not have an existing host part.

I was hoping to do the same as you but it was not to be.

At 20:04 16/10/99 , randyboy wrote:
>I wrote earlier about majordomo lists not accepting my masqueraded e-mail
>address.  I did some more tests and it seems that host masquerading just
>isn't working.
>
>
>Here is a message from me to a machine running sendmail.
>
> >From [EMAIL PROTECTED]  Sat Oct 16 11:37:39 1999
>Date: 16 Oct 1999 11:38:08 -0700
>From: "randyboy" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: hi3
>MIME-Version: 1.0
>Content-Type: text/plain;
>         charset="iso-8859-1"
>Content-Transfer-Encoding: 7bit
>X-Priority: 3 (Normal)
>X-MSMail-Priority: Normal
>X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
>X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
>Importance: Normal
>
>hi3
>
>
>This is what I used to do.  The MUA lives on a different node from qmail.
>
>tcpserver -> qmail-smtpd -> qmail-queue -> qmail-send -> qmail-rspawn ->
>qmail-remote
>
>When I first set things up I though setting defaulthost would take care of
>the masquerading, not realizing that only applies to qmail-inject.
>
>I have since switch over to this
>
>tcpserver -> ofmipd -> qmail-queue -> qmail-send -> qmail-rspawn ->
>qmail-remote
>
>but it still doesn't work.
>
>tcpserver is inovked by this:
>         /usr/local/bin/tcpserver -x /usr/local/etc/tcp.smtp.cdb -v -u 82 
> -g 81 0
>smtp /usr/local/bin/ofmipd /usr/local/etc/ofmip.name.cdb \
>         2>&1 | /var/qmail/bin/splogger smtpd 3 &
>
>and the db for ofmipd contains
>         -blackmist.org:
>
>What I was trying to accomplish was to strip out all domain info and replace
>with blackmist.org.
>
>I also tried putting -blackmist.org: in control/rewrite.
>
>But it still doesn't work.
>
>Can somebody please tell me what I'm doing wrong.
>
>r.

Reply via email to