From: smith on
Hello,

I am getting 501 5.5.4 Invalid Address error from yesterday afternoon.
Emails sent and received via outlook or owa dont have any problem. I can send
and receive both internal and external mails. This problem occurs when i use
telnet. It was working in the morning. I am not sure why it suddenly stopeed
working. The following is the commands used.

220 mail.mydomain.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830
ready at
Fri, 23 Sep 2005 09:35:55 -0500
helo mailserv.mydomain.com
250 mail.mydomain.com Hello [10.1.32.100]
mail from:myname(a)mydomain.com
250 2.1.0 myname(a)mydomain.com....Sender OK
mail to:myname(a)mydomain.com (verified spelling----correct)
501 5.5.4 Invalid Address

From a java app:

javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
class com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to
relay for myname(a)mydomain.com
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1141)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:536)
at javax.mail.Transport.send0(Transport.java:151)
at javax.mail.Transport.send(Transport.java:80)
at com.mydomain.util.email.SimpleEmail.sendEmail(SimpleEmail.java:67)
at
com.mydomain.util.email.SimpleEmailReporter.sendReport(SimpleEmailReporter.java:32)
at
com.mydomain.xcploading.XCPAutomatedLoader.traverseDirectory(XCPAutomatedLoader.java:185)
at
com.mydomain.xcploading.XCPAutomatedLoader.main(XCPAutomatedLoader.java:119)


Please let me know what you think. Any help is appeciated.

Thanks


From: Rich Matheisen [MVP] on
"smith" <smith(a)discussions.microsoft.com> wrote:

>I am getting 501 5.5.4 Invalid Address error from yesterday afternoon.
>Emails sent and received via outlook or owa dont have any problem. I can send
>and receive both internal and external mails. This problem occurs when i use
>telnet. It was working in the morning. I am not sure why it suddenly stopeed
>working.

PEBKAC.

>The following is the commands used.
>
>220 mail.mydomain.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830
>ready at
> Fri, 23 Sep 2005 09:35:55 -0500
>helo mailserv.mydomain.com
>250 mail.mydomain.com Hello [10.1.32.100]
>mail from:myname(a)mydomain.com
>250 2.1.0 myname(a)mydomain.com....Sender OK
>mail to:myname(a)mydomain.com (verified spelling----correct)
^^^^^^^

>501 5.5.4 Invalid Address

Ummmm . . . I think you should try using "RCPT TO", not "MAIL TO".

--
Rich Matheisen
MCSE+I, Exchange MVP
MS Exchange FAQ at http://www.swinc.com/resource/exch_faq.htm
Don't send mail to this address mailto:h.pott(a)getronics.com
From: smith on
Sorry about that ...realized it as soon as i posted the question.

Thanks

"Rich Matheisen [MVP]" wrote:

> "smith" <smith(a)discussions.microsoft.com> wrote:
>
> >I am getting 501 5.5.4 Invalid Address error from yesterday afternoon.
> >Emails sent and received via outlook or owa dont have any problem. I can send
> >and receive both internal and external mails. This problem occurs when i use
> >telnet. It was working in the morning. I am not sure why it suddenly stopeed
> >working.
>
> PEBKAC.
>
> >The following is the commands used.
> >
> >220 mail.mydomain.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830
> >ready at
> > Fri, 23 Sep 2005 09:35:55 -0500
> >helo mailserv.mydomain.com
> >250 mail.mydomain.com Hello [10.1.32.100]
> >mail from:myname(a)mydomain.com
> >250 2.1.0 myname(a)mydomain.com....Sender OK
> >mail to:myname(a)mydomain.com (verified spelling----correct)
> ^^^^^^^
>
> >501 5.5.4 Invalid Address
>
> Ummmm . . . I think you should try using "RCPT TO", not "MAIL TO".
>
> --
> Rich Matheisen
> MCSE+I, Exchange MVP
> MS Exchange FAQ at http://www.swinc.com/resource/exch_faq.htm
> Don't send mail to this address mailto:h.pott(a)getronics.com
>