I use Zimbra as my office email server. Recently, an intern at my company showed that he could use my email id (without hacking into my account) to send emails to anyone in the company using the Zimbra mail server domain in place of localhost using this code http://www.tutorialspoint.com/jsp/jsp_sending_email.htm
I was surprised that a commercial mail server did not have a means to prevent this.
Given the easy availability of this code, I assume this problem is well known and mail servers would have rules to check for this.
Does SMTP allow this to happen and nothing can be done to stop it? Would i be able to write some code to constantly monitor the server for such packets which come from such emails? (Am assuming such mails would have a different kind of packet header) and i would be able to monitor it since it is local and probably does not go through the internet.
Anything the IT support dept would be able to do to stop such emails (technologically; not by threats)