Hi there,
I finally got James up and running and I'm trying to test it out using the
JavaMail client from the IBM James article. I currently have James setup to
get the user information from a MySQL database. I went ahead and inserted one
record in this table. Here are the values:
username: test
pwdHash: null
pwdAlgorithm: null
useForwarding: 1
forwardingDestination: [EMAIL PROTECTED]
usealias: null
alias: null
I know that my JavaMail client is connecting to the server ok because when
James isn't running I get an error connecting to port 25. That's cool.
However, when I try to connect with the James server started via JavaMail, I
get the error below. I modified the RemoteAddrNotInNetwork mailet match to
include all IPs on my network and the domain and I'm still getting relaying
denied errors. I also tried starting James with the DEBUG logging turned on
but nothing relevant got logged. Any help would be fantastic..................
Thanks,
Ricardo
Creating MailClient for test...
Sending message to test...
SENDING message from [EMAIL PROTECTED] to [EMAIL PROTECTED]
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
class com.sun.mail.smtp.SMTPAddressFailedException: 550 - Requested
action not taken: relaying denied
at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1130)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:525)
at javax.mail.Transport.send0(Transport.java:151)
at javax.mail.Transport.send(Transport.java:80)
at MailClient.sendMessage(MailClient.java:51)
at JamesConfigTest.main(JamesConfigTest.java:18)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
Exception in thread "main"
Process finished with exit code 1
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]