[Ilugc] sending mail from an arbitrary mail id using a local smtp server

  • From: kmshiva@xxxxxxxxx (Shiva KM)
  • Date: Thu Jul 7 23:17:36 2005

Hi,
     I am currently running Ubuntu 5.04 and using Postfix to send
mail. I have set up Evolution to use Postfix to send mail. I am pretty
new to using a local smtp server to send mail, so pardon me if I don't
know the concepts behind this too well.

I tried sending a mail to my yahoo address from a spoofed gmail
address such as foo@xxxxxxxxx - I was able to see to see and read this
mail fine in yahoo. When I tried sending the same mail to my gmail
address(with the spoofed foo@xxxxxxxxx) it worked fine - though the
mail appeared in my gmail inbox only after a bit of a delay... Isn't
this a problem (that I can spoof pretty much any address when I send a
mail) ??

In the headers shown in yahoo, I see the term domainkeys, what's that?
And in gmail there is a name, value pair as 'Received-SPF: neutral
(gmail.com: 59.92.43.77 is neither permitted nor denied by domain of
foo@xxxxxxxxx)', do these have something to do with verification of
the sender mail address? And why the 'X-Apparently-To' ??

These are headers as shown in yahoo mail:

X-Apparently-To: shreev2k2@xxxxxxxxx via 68.142.207.238; Thu, 07 Jul
2005 10:25:01 -0700
X-YahooFilteredBulk: 59.92.43.77
X-Originating-IP: [59.92.43.77]
Return-Path: <foo@xxxxxxxxx>
Authentication-Results: mta151.mail.mud.yahoo.com from=gmail.com;
domainkeys=neutral (no sig)
Received: from 59.92.43.77 (EHLO localhost.localdomain) (59.92.43.77)
by mta151.mail.mud.yahoo.com with SMTP; Thu, 07 Jul 2005 10:25:01
-0700
Received: from localhost.localdomain (localhost.localdomain
[127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id
7BE5F1F818 for <shreev2k2@xxxxxxxxx>; Thu, 7 Jul 2005 22:54:59 +0530
(IST)
Subject: test 1
From: "Dude" <foo@xxxxxxxxx>  Add to Address BookAdd to Address Book
To: shreev2k2@xxxxxxxxx
Content-Type: text/plain
Date: Thu, 07 Jul 2005 22:54:59 +0530
Message-Id: <1120757099.9059.11.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.1.1
Content-Transfer-Encoding: 7bit
Content-Length: 7


And these are the headers as seen in gmail:

X-Gmail-Received: 599988fd963e360fa842ccae81604449bbc14eb3
Delivered-To: kmshiva@xxxxxxxxx
Received: by 10.54.15.42 with SMTP id 42cs35379wro;
        Thu, 7 Jul 2005 10:31:18 -0700 (PDT)
Received: by 10.54.26.68 with SMTP id 68mr939908wrz;
        Thu, 07 Jul 2005 10:31:18 -0700 (PDT)
Return-Path: <foo@xxxxxxxxx>
Received: from localhost.localdomain ([59.92.43.77])
        by mx.gmail.com with ESMTP id 66si1439790wra.2005.07.07.10.31.17;
        Thu, 07 Jul 2005 10:31:18 -0700 (PDT)
Received-SPF: neutral (gmail.com: 59.92.43.77 is neither permitted nor
denied by domain of foo@xxxxxxxxx)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
        by localhost.localdomain (Postfix) with ESMTP id E26B11F7FA
        for <kmshiva@xxxxxxxxx>; Thu,  7 Jul 2005 22:56:13 +0530 (IST)
Subject: test 2
From: Dude <foo@xxxxxxxxx>
To: kmshiva@xxxxxxxxx
Content-Type: text/plain
Date: Thu, 07 Jul 2005 22:56:13 +0530
Message-Id: <1120757173.9059.13.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.1.1 
Content-Transfer-Encoding: 7bit


-- 
Thanks and Regards,
shiva
--
Avoid the Gates of Hell.  Use Linux

Other related posts: