Next week all of our outside mail goes to sjsaab@???.
Fetchmail picks it up there.
Problem is, that since it's forwarded to this address, exim
tries to deliver it locally to sjsaab, which is our ISP
address, but not a legit local address. All non-functional
mail is delivered to postmaster.
How do I strip off the outer layer of headers?
I want the following message delivered to
sbotsford@???, not to postmaster.
Sample set of headers:
Return-path: <support@???>
Envelope-to: postmaster@localhost
Delivery-date: Fri, 11 Feb 2005 10:50:13 -0700
Received: from exim by postie.sjsa.ab.ca with spam-scanned
(Exim 4.42)
id 1Czevk-0002PO-VO
for postmaster@localhost; Fri, 11 Feb 2005 10:50:13
-0700
Received: from [127.0.0.1] (helo=pop.svc.telus.net)
by postie.sjsa.ab.ca with esmtp (Exim 4.42)
id 1Czevk-0002PL-4x
for postmaster@localhost; Fri, 11 Feb 2005 10:50:12
-0700
Received: from registersite.com ([216.244.108.25])
by priv-edtnes32.telusplanet.net
(InterMail vM.6.01.04.00 201-2131-118-20041027)
with ESMTP
id
<20050211174944.DVIH2757.priv-edtnes32.telusplanet.net@???>
for <sjsaab@???>; Fri, 11 Feb 2005
10:49:44 -0700
Received: from srsreseller ([216.244.108.10]) by
registersite.com ; Fri, 11 Feb 2005 12:49:39 -0500
Message-ID: <247940-220052511174938624@???>
From: "RegisterSite.com Support" <support@???>
To: "Sherwood Botsford" <sbotsford@???>
Subject: Re: Validation of transfer. - Ticket id (178829)
Date: Fri, 11 Feb 2005 12:49:38 -0500
...
--
Sherwood Botsford
St. John's School of Alberta