550-unrouteable mail domain "localhost"

Discussion in 'PHP' started by Philvault, Jul 22, 2007.

  1. #1
    Hello everybody;

    I installed a software called cuteflow. All parts of the program are doing fine except when trying to send a message to the user, I get this error message.

    There is also one part of the program called 'notification' but it is doing fine also, so I don't think the smtp portion is problematic cause the notification emails are well sent and received.

    Anybody has a brilliant idea how to solve this? I'm no php expert.

    22.07.2007 - sendMessageToSender
    -Verification failed for
    550-unrouteable mail domain "localhost"
    550 Sender verify failed
    valid RCPT command must precede DATA

    Thanks

    Manny
     
    Philvault, Jul 22, 2007 IP
  2. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #2
    Without seeing the code it's impossible to say what the problem is, but from the error it would that the account that the script is sending from doesn't have permission to send mail.. If the script is already sending emails then is it could be something else though.

    I would trace the error back to whatever line is causing the problem, and see if anything can be fixed with that specific code.
     
    jestep, Jul 22, 2007 IP
  3. Philvault

    Philvault Active Member

    Messages:
    1,284
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    80
    #3
    jestep: thank you. up until now i'm still confused whats causing the problem. the software is open source so there is no full support.
     
    Philvault, Jul 23, 2007 IP
  4. Vbot

    Vbot Peon

    Messages:
    107
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
  5. Philvault

    Philvault Active Member

    Messages:
    1,284
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    80
    #5
    Philvault, Jul 23, 2007 IP
  6. amf-flt

    amf-flt Active Member

    Messages:
    100
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #6
    Here's a guess: to run cuteflow you also loaded php on your system and there's a file called php.ini that needs to be configured to point at your smtp server. Just find the file and search for the string localhost and replace that with your smtp server's host name.
     
    amf-flt, Jul 23, 2007 IP
  7. in2clearsky

    in2clearsky Peon

    Messages:
    121
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    To be precise, open your php.ini and search for [mail function] you should update below line to your setting.

    SMTP = <smtp server>
    sendmail_from= <whatever>
     
    in2clearsky, Jul 24, 2007 IP