[nylug-workshop] smtplib and domainkeys, mangling headers?
Michael Dizon
mdizon at gmail.com
Fri Apr 27 12:46:42 EDT 2007
Hi Guys -- I have a question regarding Python's smtplib. I've
successfully implemented DomainKeys with sendmail on my server, I've
tested it by sending mail from one of the applications available on my
server's management console.
However, when sending mail from my application, the DomainKey is
included in the header, but fails to authenticate when received.
I've attached a sample of both e-mails below. Note the
"Authentication-Results" header
========
X-Apparently-To: mykdzn at yahoo.com via 206.190.38.169; Fri, 27 Apr 2007
08:12:24 -0700
X-YahooFilteredBulk: 72.51.43.11
X-Originating-IP: [72.51.43.11]
Return-Path: <messages at mystylepost.com>
Authentication-Results: mta267.mail.mud.yahoo.com
from=mystylepost.com; domainkeys=pass (ok)
Received: from 72.51.43.11 (EHLO www1.mystylepost.com) (72.51.43.11)
by mta267.mail.mud.yahoo.com with SMTP; Fri, 27 Apr 2007 08:12:24
-0700
Received: from www1.mystylepost.com (localhost.localdomain
[127.0.0.1]) by www1.mystylepost.com (8.13.1/8.13.1) with ESMTP id
l3RFCM3I031149 for <mykdzn at yahoo.com>; Fri, 27 Apr 2007 10:12:23
-0500
DomainKey-Signature: a=rsa-sha1; s=mail; d=mystylepost.com; c=simple;
q=dns; b=lVf5vcd7GigNxagnzcXvi0gpWG5+DUknh9rO9AZjWRqhQMS8tYR6SiVExa7xxZ7D5
OGXlrOwzaT00xfZSXHOfzvFVZKEqbz9APcytn1r8ry3ZBB0vTKSfiCuqqLXNDHz
Received: (from root at localhost) by www1.mystylepost.com
(8.13.1/8.13.1/Submit) id l3RFCM4v031146; Fri, 27 Apr 2007 10:12:22
-0500
Date: Fri, 27 Apr 2007 10:12:22 -0500
From:messages at mystylepost.com
Subject: test
To:mykdzn at yahoo.com
CC:
X-Originating-IP: 66.108.226.33
X-Mailer: Usermin 1.270
Message-Id: <1177686742.31144 at www1.mystylepost.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="bound1177686742"
Content-Length: 67
==========
X-Apparently-To: mykdzn at yahoo.com via 206.190.38.168; Fri, 27 Apr
2007 08:09:30 -0700
X-YahooFilteredBulk: 72.51.43.11
X-Originating-IP: [72.51.43.11]
Return-Path: <messages at mystylepost.com>
Authentication-Results: mta119.mail.re3.yahoo.com
from=mystylepost.com; domainkeys=fail (bad sig)
Received: from 72.51.43.11 (EHLO www1.mystylepost.com) (72.51.43.11)
by mta119.mail.re3.yahoo.com with SMTP; Fri, 27 Apr 2007 08:09:30
-0700
Received: from www1.mystylepost.com (localhost.localdomain
[127.0.0.1]) by www1.mystylepost.com (8.13.1/8.13.1) with ESMTP id
l3RF9Ssp031084 for <mykdzn at yahoo.com>; Fri, 27 Apr 2007 10:09:28 -0500
DomainKey-Signature: a=rsa-sha1; s=mail; d=mystylepost.com; c=simple;
q=dns; b=C4ZIU3/w6SFd/PM83QYC0Z3D3p+eg4hpkSE/ZSPfVLvnZe8TiSlNAGGtGyw9bE348
CekV0/KyvgXFDec7DI1f+tZQH0KuIcrFTCvn8oI8I3CXpBm6kzWWQWmtMb5Yq53
Message-Id: <200704271509.l3RF9Ssp031084 at www1.mystylepost.com>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: New Messages on MyStylePost
From: messages at mystylepost.com
To: mykdzn at yahoo.com
Date: Fri, 27 Apr 2007 15:09:28 GMT
Content-Length: 208
More information about the nylug-workshop
mailing list