le sidebar
back to...
 main
fmail - the Java sendmail-connector utility
Copyright 1999 Ng Hsien-Ern, Nathanael

Download fmail's source code - please read the disclaimer before downloading.

fmail is a small utility I wrote so I could mystify my friends by pretending to have my own domain. :) You can do this via telnet, but it's easier if the program helps you out. When you run it, if properly handled (!) it will send one (1) e-mail to the recipient address you specify - the special thing being that the e-mail cannot easily be traced back to you. I say "easily" because it CAN be traced by a reasonably-skilled user given enough motivation and time - so DON'T use it for malicious purposes.

fmail requires JDK1.1.x to compile. May work, but is untested, under JDK1.2. The JDK is available from http://java.sun.com.

Instructions: (assuming you've successfully compiled fmail)

First, you have to know a host which has an open sendmail port, 25 (this is what fmail connects to in order to do its work). Note that port scanning is not allowed in NUS! However, the definition of "port scanning" generally refers to going through ALL the ports, or at least a significant number. You're (probably) safe if you ONLY look at port 25 of a known mail server such as leonis (hint hint). If you don't know what all this is about, well, you're probably better off not knowing. :)

The system will ask you for a server IP address or DNS. Enter the hostname you wish to connect to. fmail will automatically connect to this host's sendmail port and the rest is mostly self-explanatory. The sole exception is when you are entering "Data" - the content of the mail. Here, you MUST end the Data with a single full stop (.) on a line by itself. This will send the mail.

Yes, I know the program's UI is terrible. I'm totally overworked right now, so I can't really mess around with it until I've got a bit more free time. Expect a GUI sometime - say, in a couple of years. :)

DISCLAIMER: this program is capable of being used to falsify e-mails, which is illegal in many countries. This program is copyright (c) 1999 Ng Hsien-Ern, Nathanael. You may NOT use this program for any commercial purpose, or to assume the identity of another person. You MAY redistribute the code provided that NO changes of any kind are made to it. You MAY modify the code provided that you do not subsequently distribute the modified code in any way. If you wish to modify AND redistribute the code, please e-mail me at the address below and explain what modifications you wish to make, and how and where you wish to redistribute it.

Send comments, bouquets, brickbats, &c. to nghsiene@comp.nus.edu.sg. Send angry flames to billgates@microsoft.com.