not your mail server.
The computer you are running all of this on.
is it windows? Linux? mac?
example, if you are running windows, your problem is that you most likely dont have a mail server configured. So sendmail doesnt know what to do with the mail. If that's the case, for example, you need to install some extra software to get it running. Me personally, I run Stunnel. you can google it.