procmail
[Top] [All Lists]

Help: Puzzling Problem

2000-05-02 07:40:06
Hello,

I have a small web hosting company and I recently decided to give up
running a web/amil server out of my home (cable modem) and decided to go
with a 3rd party web hosting company and re-sell thei accounts under my own
name - a private label type thing.

My clients are supposed to be shielded from their presence - however after
I transfered my first domain there I found a problem with how they have
their email system set up. The reseller's domain appears in the email
headers.

(see example below - I've renamed the reseller domain and my domain)

Regards,

Mark

---------------------------------------------------------------
X-POP3-Rcpt: moshe(_at_)client2(_dot_)webhost(_dot_)com
Received: from smtp-out1.bellatlantic.net (smtp-out1.bellatlantic.net
[199.45.39.156])
        by client2.webhost.com (8.9.3/8.9.3) with ESMTP id TAA04464
        for <moshe(_at_)testdomain(_dot_)org>; Sun, 30 Apr 2000 19:17:14 -0400
Received: from [192.168.244.139] (adsl-151-203-17-171.bellatlantic.net
[151.203.17.171])
        by smtp-out1.bellatlantic.net (8.9.1/8.9.1) with ESMTP id TAA28930
        for <moshe(_at_)testdomain(_dot_)org>; Sun, 30 Apr 2000 19:17:07 -0400 
(EDT)
X-Sender: rosenb10(_at_)pilot(_dot_)msu(_dot_)edu
Message-Id: <v04003a01b5326f5a3567(_at_)[192(_dot_)168(_dot_)244(_dot_)139]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
-------------------------------------------------------------
Date: Sun, 30 Apr 2000 19:16:57 -0400
To: moshe(_at_)testdomain(_dot_)org
From: Mark Rosenberg <rosenb10(_at_)msu(_dot_)edu>
Subject: testing
-------------------------------------------------------------


When I poked around a bit on my domain site I noticed they were using
procmail. I thought perhaps I could add something to the receipe which
would substitute my domain name for theirs? I have never used procmail but
think it's a possible solution. I need some help determining if it is in
fact a possible solution and if it is I'll need some help implementing it.

Here are the two files I found in my test domain...

/.procmailrc

RECIP=$1
MAILDIR=$HOME/testdomain-mail
INCLUDERC=.procmailrc

/testdomain-mail/.procmailrc

DOMAIN=(testdomain.org)

INCLUDERC=.rc.local.init

:0
* $RECIP ?? ^^mark(_at_)$DOMAIN
{
        :0
        mark


}

:0
* $RECIP ?? ^^moshe(_at_)$DOMAIN
{
        :0
        moshe


}

:0
* $RECIP ?? ^^(_dot_)*(_at_)$DOMAIN
{
        :0
        moshe


}



<Prev in Thread] Current Thread [Next in Thread>