LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Apache James Server - Emails not being received from outside domains (hotmail/gmail) (https://www.linuxquestions.org/questions/linux-server-73/apache-james-server-emails-not-being-received-from-outside-domains-hotmail-gmail-881677/)

kazmiM 05-19-2011 05:00 PM

Apache James Server - Emails not being received from outside domains (hotmail/gmail)
 
Hello All,

I have recently configured JAMES 2.3.3 on UBUNTU 11.04

I can send and receive emails within my internal domain just fine. (test1@mydomain.com <--> test2@mydomain.com)
I can also send out emails to outside mail services such as hotmail and gmail (test1@mydomain.com --> me@gmail.com)

I am running into problem when I try sending email back (i.e replying to the mails that I am getting in my gmail account)
I cannot send email from my gmail account back to my test1@mydomain.com account!!

When I do reply to them, I get the following error:

Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 relay not permitted (state 14).

Any ideas where I should start debugging this? I can also provide any log files if that would help you.
Thanks in advance for any help that you can provide. I will really appreciate your time.

Regards,
Kazmi

Noway2 05-20-2011 05:05 AM

I am not familiar with James, which limits the details of what I can suggest. The fact that you are getting a "relay not permitted" error suggests that your system is listening on port 25 and is attempting to connect. However, it looks like it is not recognizing messages addressed to test1@mydomain.com as a recipient on the domain and hence thinks that it is a message for a different domain and denies the relay (which is good). I would suggest that you look at the logs and see if you can figure out what it was trying to authenticate against and look for any syntax errors. You can probably do a lot of testing using telnet for smtp testing and avoid causing bounces to services like gmail.


All times are GMT -5. The time now is 01:34 PM.