Pegasus Mail & Mercury

Welcome to the Community for Pegasus Mail and
The Mercury Mail Transport System, the Internet's longest-serving PC e-mail system!
Welcome to Pegasus Mail & Mercury Sign in | Join | Help
in
Home Blogs Forums Downloads Pegasus Mail Overview Mercury Overview

SMTP server response: 550 5.7.1, It was working fine now it's not

Last post 06-19-2008, 11:08 by horseatingweeds. 8 replies.
Sort Posts: Previous Next
  •  06-19-2008, 9:00

    SMTP server response: 550 5.7.1, It was working fine now it's not

    My php mail scripts were working fine, but now I get SMTP server response: 550 5.7.1 errors. The scrips are the same, I haven't changed them from when they were working. I haven't made any change to Mercury either. I've tried checking the logs but none show up. I checked MercuryS and session logging is enabled.

     Anyone have any ideas on what the problem could be?

     I've tried this simple test script even:

    <?php
        if (mail('test@localhost', 'Test - Subject -', 'Test - Message'))
            echo "It went";
        else
            echo "nope";
    ?>

    nope....
     

  •  06-19-2008, 9:16

    • PaulW is not online. Last active: 01 Dec 2008, 23:15 PaulW
    • Top 10 Contributor
    • Joined on 05-08-2007
    • UK
    • Contributor
    • Points 6,125

    Re: SMTP server response: 550 5.7.1, It was working fine now it's not

    horseatingweeds:
    I checked MercuryS and session logging is enabled.

    For anyone to help, it may be best to post the unaltered session log which shows this error.

  •  06-19-2008, 9:29

    Re: SMTP server response: 550 5.7.1, It was working fine now it's not

    Right, but that's what I mean. No logs are showing up. The only ones are from the last time I was testing scripts with mail stuff in them. For example, this is the last log:

    T 20080526 020713 48306745 MAIL FROM:<Admin@localhost>
    T 20080526 020713 48306745 RCPT TO:<test@localhost>
    T 20080526 020713 48306745 DATA - 12 lines, 547 bytes.
    T 20080526 020713 48306745 QUIT
    T 20080526 020713 48306745 Connection closed with 127.0.0.1, 0 sec. elapsed.

     It's from May.

     
    One other thing, when I use the 'send mail' function on the Mercury interface it sends OK.

    Isn't there a way to make this program accept anything from anyone? It's just sitting on my test environment.
     

  •  06-19-2008, 9:50

    • PaulW is not online. Last active: 01 Dec 2008, 23:15 PaulW
    • Top 10 Contributor
    • Joined on 05-08-2007
    • UK
    • Contributor
    • Points 6,125

    Re: SMTP server response: 550 5.7.1, It was working fine now it's not

    That's not a session log.  You'll find them in the directory you specified with a name starting 'tcp'.
  •  06-19-2008, 9:52

    • Sebby is not online. Last active: Thu, Nov 27 2008, 3:53 Sebby
    • Top 50 Contributor
    • Joined on 06-21-2007
    • London, GB
    • Member
    • Points 510

    Re: SMTP server response: 550 5.7.1, It was working fine now it's not

    You're not talking to Mercury!  Make sure you're talking to 127.0.0.1.  Make sure that "telnet 127.0.0.1 25" gets you to a Mercury SMTP server.  (Mercury doesn't do ENHANCEDSTATUSCODES; say "ehlo localhost" and you'll see a list of extensions not including ENHANCEDSTATUSCODES if you're on Mercury, and will if you're on another server.)

     

    Cheers,

    Sabahattin

     


    --
    Sabahattin Gucukoglu <mail<at>sabahattin<dash>gucukoglu<dot>com>
    Address harvesters, snag this: feedme@yamta.org
    http://sabahattin-gucukoglu.com/
  •  06-19-2008, 10:12

    Re: SMTP server response: 550 5.7.1, It was working fine now it's not

    That's not a session log.  You'll find them in the directory you specified with a name starting 'tcp'.

    I know. It's not making those either. The last tcp file is even older than May.

    Sabahattin, I'm sure I have things set up as you say. Like I said, things were working then quit. In the php.ini I have SMTP = 127.0.0.1 and smtp_port = 25.

  •  06-19-2008, 10:21

    Re: SMTP server response: 550 5.7.1, It was working fine now it's not

    OK - this must have been a damn Gremlin. I just restarted Mercury for the forth time and now everything seems to be sending. i didn't chance a single thing... She must be a finicky girl.
  •  06-19-2008, 10:37

    Re: SMTP server response: 550 5.7.1, It was working fine now it's not

    Do you by any chance have another SMTP server running on the same machine? (IIS SMTP services accidentally turned on maybe)

    No logs & the response in your OP means Mercury is not being connected to, looks a lot like another server already listening on port 25, the repeated restarts may have finally grabbed the port for Mercury.

  •  06-19-2008, 11:08

    Re: SMTP server response: 550 5.7.1, It was working fine now it's not

    That's a pretty good thought dilbert. You were right - the IIS SMTP was running. I turned it off since I haven't been using it anyway. Hopefully that fixes things. THANKS!
View as RSS news feed in XML

Copyright © 2007 David Harris / Peter Strömblad. All Rights Reserved. | Terms of Use | Privacy Statement
Questions/Problems with community.pmail.com? | Visit our Hoster: PraktIT | Pegasus Mail Home Page