Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Need to clarify simple basics about emailserver  RSS feed

 
Vishal Ghandhy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i did a small program in javamail , i installed Apache James server on my local machine.when i send email from for e.g say sendername@abc.com to recievername@xyz.com will my emailserver send it directly to xyz.com,wihtout knowledge of abc.com. My local machine has no domain name its not on LAN its just hooked to Internet.Like how is the basic flow??pls help
 
Paul Clapham
Sheriff
Posts: 22185
38
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is quite possible that the server at xyz.com will decide your message is a forgery and reject it. If you think about it for a minute, why couldn't you use anybody's e-mail address -- how about billgates@microsoft.com -- and send a message that says it comes from them? That would be a bad thing. So servers often check that the message is coming from the SMTP server that corresponds to the sender's address.

To send a message from sendername@abc.com, you would normally have to send that from abc.com's SMTP server, after authenticating yourself as "sendername". At least that's how it works in well-run servers, and in these days when 90% of the e-mail messages sent are spam, most servers are well-run.

In the worst case your server could be black-listed, meaning that your IP address will be added to a list of "bad guys" that many servers look at, and then even if you do regularize your SMTP server, it will still be treated as if it was acting badly.
 
Vishal Ghandhy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ohh that was so fast ..Thanks Paul !!,that helps a lot..now extending it further if I use Apache James on my LAN ,email Cleints like Microsoft Outlook etc can be easily configured I mean I can have a kind of emailing system on my LAN at least ,without much problem or will i need some other tools also?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!