PHP mail - working only slightly. SpamHaus?

Discussion in 'Web Design and Development' started by toddburch, Aug 17, 2007.

  1. toddburch macrumors 6502a

    Joined:
    Dec 4, 2006
    Location:
    Katy, Texas
    #1
    New install / setup here. I'm running OS X 10.4.8 on a Mac Pro. I enabled personal web sharing and changed the Apache config file to serve up php pages. So far, so good. (I have not upgraded either Apache or PHP yet).

    My form displays, and I click sumbit, and I can send an email to myself via the php mail() function. However, in my home network, from other machines, the email fails. It bounces to my Mac's Mail inbox, and this is what it says: (I've dummied up the actual email addresses)

    Code:
    This is the Postfix program at host todd-burchs-computer.local.
    
    I'm sorry to have to inform you that your message could not be
    be delivered to one or more recipients. It's attached below.
    
    For further assistance, please send mail to <postmaster>
    
    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.
    
    			The Postfix program
    
    <dummy@burchwoodusa.com>: host mx.burchwoodusa.com[xx.xxx.xxx.xx] said: 550
        5.1.1 error: R6.1: xx.xxx.xx.xx is on the Spamhaus blacklist. Please visit:
        http://www.spamhaus.org (in reply to RCPT TO command)
    Reporting-MTA: dns; todd-burchs-computer.local
    X-Postfix-Queue-ID: CC85520C6FB
    X-Postfix-Sender: rfc822; me@mac.com
    Arrival-Date: Thu, 16 Aug 2007 22:33:13 -0500 (CDT)
    
    Final-Recipient: rfc822; dummy@burchwoodusa.com
    Action: failed
    Status: 5.0.0
    Diagnostic-Code: X-Postfix; host mx.burchwoodusa.com[xx.xxx.xxx.xx] said: 550
        5.1.1 error: R6.1: xx.xxx.xx.xx is on the Spamhaus blacklist. Please visit:
        http://www.spamhaus.org (in reply to RCPT TO command)
    
    From: me@mac.com
    Date: August 16, 2007 10:33:13 PM CDT
    To: dummy@burchwoodusa.com
    Subject: Membership
    Reply-To: me@mac.com
    
    
    Sign me up!
    name=Todd Burch
    email=dummy@burchwoodusa.com
    message=from dummy.
    Thanks!  Todd.
    
    Before getting this far ("this far" = actually sending an email), I tried dozens of times using MAMP''s setup, before I finally trashed it and tried with the Apple distributed apache & php. So, now I get an email when I fill out the form on my Mac when sending a form email to myself.

    Is this a config issue still, or is it that SpamHaus has me blacklisted? Anyone have any experience with getting off of their list?

    Thanks, Todd (new to all this server side stuff)
     
  2. toddburch thread starter macrumors 6502a

    Joined:
    Dec 4, 2006
    Location:
    Katy, Texas
    #2
    I figured it out. It was SpamHaus. I removed the IP from their "PBL" and it's all cleared up. Next time, I'll disable the actual mail() function while I'm in development/test mode.

    Todd
     

Share This Page