Hi All,
For the problem below (that I posted last week), regarding sending emails
from php - I gave up tweaking dkim / php to make Gmail verify my emails.
Instead, I simply wrote a shell script and make my php application
system-call the script to send email. Gmail magically verify my emails then.
For those who want instructions of setting up dkim-milter with postfix and
fedora, here are the instructions:
http://allaboutlamp.com/2009/09/setup-dkim-for-postfix-in-fedora-using-dkim-
milter/
Daniel
From: Daniel [mailto:[email protected]]
Sent: Wednesday, 23 September 2009 4:04 AM
To: [email protected]
Subject: [dkim-milter-discuss] Signature works for mails from command-line,
but not from PHP
Hi there,
I'm a newbie to mail server settings whatsoever. However after quite a bit
of work I manage to get dkim-milter working with:
- Fedora 10
- Postfix
I can see that emails sent from command line (sendmail.postfix) contains
signatures, and is a PASS as judged by gmail.
My problem is that emails sent from php script (using the mail() function
which will then call sendmail.postfix as specified in php.ini) also contains
signatures, but has been judged by gmail as
dkim=neutral (body hash did not verify)
I have compared the raw email content of these emails
- those judged as pass, and
- those judged as neutral/not verified
And they look THE SAME, except for things like Message-Id, Date, the "t",
"bh" and "b" fields of the DKIM-Signature.
I'm just wondering if this is a known issue to any of you here, that
dkim-milter works on command-line but not from php.
I cannot think of any config to mug around to fix this. If all else fail, I
think I will somehow get sendmail.postfix to run from command line by a cron
job or something to send my emails with signatures. That will be an ugly
hack I want to avoid thou.
Any help will be greatly appreciated.
Cheers,
Daniel
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
dkim-milter-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dkim-milter-discuss