OK, so sending works fine, but what I receive is from "Username@ComputerName.localhost", which clearly cannot be replied to. Is there an IP address linked to the email that can be used to respond? -- I'm guessing the sender information doesn't just disappear into the ether.


No. Unless you are running a mail server such as Sendmail or Postfix and have a hostname and address registered on internet DNS, there is no way for the mail to find it's way back to you.

You could set this up and register your server with DynDNS or another service, you just have to be careful you don't become an open SPAM relay.

It's also possible to make the return address point to a valid eMail address you have, such as GMail.

| improve this answer | |
  • 1
    I remember configuring an MX entry on my DNS because I thought it'd be cool to use my machine as a mail server. Well, almost immediately I started to get spammed by people attempting to log into my system as all kinds. Everyone wants to control a SPAM relay. I deleted the DNS entry in the end. – paddy Apr 19 '12 at 22:54
  • 1
    Use mail -r me@valid.domain.org to set appropriate reply-address. – paddy Apr 19 '12 at 22:55
  • @paddy Same here. Ah, those were the days! – George M Apr 19 '12 at 22:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.