Ok guys, I'm having a hell of a time here with this.  Heres what I'm trying 
to do.  I have a script that will report spam automatically to earthlink.  
Below is a snip from a reply I got from one of the techs when we discovered 
that my reports were going out ok, but being rejected by EL's abuse mailer:

AHA! That's the problem. Your 'envelope from' does not use a FQDN
(chris.localdomain does not resolve). There is an anti-spam measure
running on the MTA (Exim) for abuse.earthlink.net which will reject all
mail from domains with no resolvable 'A' record or 'MX' record. This is
the same machine that [EMAIL PROTECTED] forwards to. The same
rule does not run on the earthlink.net MX, which is why you could find
no errors in your local mail logs. Your box handed the report off to the
earthlink.net MX just fine, but when *that* rotor attempted to deliver
the mail to us at abuse.earthlink.net, it was rejected like so:

Of course, you never saw this, because [EMAIL PROTECTED] doesn't
go anywhere. Configure your MTA to announce with [EMAIL PROTECTED]
in the 'MAIL FROM:' command (or just something resolvable), and that
should fix it. Notice this has nothing to do with the parameters in the
script. That only specifies the 'Header from', which is what is visible
as the 'From:' header when reading e-mail. But the 'Envelope From' is
entirely different, which usually translates to be the 'Return-Path:'
when you view the extended headers of an e-mail.

Ok, so, I went to the main.cf in /etc/postifx and made this change:

> myorigin = [EMAIL PROTECTED]
> #myorigin = $mydomain

Now for some reason the headers of the msgs look like this, which I know is 
incorrect:

Status: RO
Return-Path: <chris@@earthlink.net>
Received: from chris.localdomain ([xx.xx.xxx.xxx])
        by quail (EarthLink SMTP Server) with ESMTP id 1bLh4S53N3NZFkZ0
        Thu, 15 Jul 2004 17:59:54 -0700 (PDT)
Received: by chris.localdomain (Postfix, from userid 501)
        id E2AC0584002; Thu, 15 Jul 2004 20:59:52 -0400 (EDT)
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>

So, for now I've shut off the reporting script.  I'm sure that its a very, 
very simple fix but I guess my brain cells are just too debiliated.

Thanks very much in advance for any help

-- 
Chris
Registered Linux User 283774 http://counter.li.org
8:14pm up 17 days, 1:35, 2 users, load average: 0.59, 0.56, 0.69
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
What's the matter with the world?  Why, there ain't but one thing wrong
with every one of us -- and that's "selfishness."
                -- The Best of Will Rogers
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Live - From Virgin Radio UK Elvis Costello - Pump it up


____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to