You can determine a remote computers IP address for your site using PHP and Javascript.
As far as tracking e-mail origins, you'd have to check the headers. You don't actually recieve the e-mail directly from the computer that sent it.
Im sure there are programs that can extract them.
All in all it's probably easier to filter them by IP at the "sign up" page.
If you provide some more specific information about what you're trying to do, I could help you better.