8 Replies Latest reply: Apr 30, 2008 5:42 PM by 637005 RSS

    Trailing space gives 501 5.5.2 Syntax Error!

      Hi, i have been receiving this error from many smtp servers around the world, the complete message looks like this:

      Reporting-MTA: dns; mail.server.com
      Received-From-MTA: dns;
      Arrival-Date: Thu, 05 Jul 2007 13:48:03 -0600

      Final-Recipient: rfc822; user@domain.com
      Action: failed
      Status: 5.0.1
      Last-Attempt-Date: Thu, 05 Jul 2007 13:48:24 -0600
      Diagnostic-Code: SMTP;
      501 #5.5.2 syntax error 'rcpt to:<user@domain.com> '
      Remote-MTA: dns; mx.target-server.com

      The interesting fact is that OCS outbound server is adding a space after the rcpt to:<user@domain.com> command and the target smtp server is taking it as a syntax error.

      It may seem like something absurd, but its real, i already made a test using telnet and every time i add a space after a "mail from:" or "rcpt to:" it gives me a 501 5.5.2

      I think this is a faulty SMTP implementation on the target server (come on, is just a space...), but it seems like there are a lot of cases like that, and i ask... is there some way to configure OCS outbound so it doesn't add that space?