Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A little while ago, my computer got hacked (I think) and someone sent me an email to my gmail account. It was from the email address of one of my own domain names and when it was inspected, my hosting company told me that the email was actually sent from my own computer to my gmail. I have no idea how they did this, but I assume that it means that I can do it as well (if only I know how)

myname@myname-macbook-pro.local) smtp.mail=myname@myname-macbook-pro.local

This is the information in the header of the email that I received from my own computer (except that I've removed myname)

Can you tell me how I can send an email from my computer using the info below?

Received: from ( [])
        by with ESMTP id s6si2186612icv.50.2011.;
        Thu, 25 Aug 2011 21:01:31 -0700 (PDT)
Received-SPF: neutral ( is neither permitted nor denied by best guess record for domain of myname@myname-macbook-pro.local) client-ip=;
Authentication-Results:; spf=neutral ( is neither permitted nor denied by best guess record for domain of michaelmitchell@myname-macbook-pro.local) smtp.mail=myname@myname-macbook-pro.local
Received: from edtncm02 ([])
          (InterMail vM. 201-2260-125-20100507) with ESMTP
          id <>
          for <>;
          Thu, 25 Aug 2011 22:01:30 -0600
Received: from myname-MacBook-Pro.local ([])
    by edtncm02 with bizsmtp
    id Qs1S1h0105Fy1L201s1U3B; Thu, 25 Aug 2011 22:01:30 -0600
X-Authority-Analysis: v=1.1 cv=fh8/3ufmgdCAtX9QfKYGMq8jmtyEPWZf9gsaXtoBT04=
 c=1 sm=2 a=Vq8LRqZkKnsA:10 a=rq8sP40Sq3rp59Coqs8A:9 a=wPNLvfGTeEIA:10
 a=SSmOFEACAAAA:8 a=Fb0FxIkzc9yU5OfbpswA:9 a=1TM7i2lP1nUA:10
Received: by myname-MacBook-Pro.local (Postfix, from userid 501)
    id C7CB51B4602E; Sun,  1 May 2011 03:58:04 -0400 (EDT)
Subject: Testing HTML Email
MIME-Version: 1.0
Content-Type: multipart/alternative;
Message-Id: <20110501075805.C7CB51B4602E@myname-MacBook-Pro.local>
share|improve this question
See the wikipedia article on SMTP. There is also an example session. – artistoex Dec 4 '11 at 9:53

You can send mail from the command line using any smtp enabled CLI client.

I am no mac user but if you google for "command line smtp mac" you will find enough information. See this Link for example.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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