Thanks for both your responses. I made the switch, which was next to painless, but that didn't solve my problem, in fact, it seems stranger than I thought at first.

echo test | mail someone@example.com †--> no signing
echo test | sendmail someone@example.com --> no signing
squirrelmail on same host sending a mail --> no signing
changed squirrelmail config to use smtp, --> no signing (?)
telnet to mailserver from other host on smtp port --> no signing???
telnet from server itself on smtp --> no signing ???
and now thunderbird using this server as smtp --> no signing /??????
sendEmail -s localhost -f bla@example.com -t someone@example.com -u test -m test -v † †--> yes, signed

now i can understand that the from addresses are different in some cases, but even with direct telnet to smtp, when i use from-domains listed in opendkim.conf Domain statement, no luck. It's probably something simple I'm missing, but I'm sure missing it... any pointers?

(sendEmail is a commandline tool for sending mail over smtp which I use a lot)

Kind regards,

Willem Kossen

On Sat, Aug 6, 2011 at 9:27 AM, Murray S. Kucherawy <msk@cloudmark.com> wrote:

First, as Rolf said, you should switch to opendkim.† This package has been unmaintained for over two years.

I just tried it with sendmail 8.14.4 and opendkim 2.4.2 (just released!), and it signed a message I sent using the sendmail shell interface rather than SMTP.† Since that means sendmail does provide milter service to mail thatís piped in, you should be able to get dkim-milter to do it too unless there was a bug in it in this regard.

You can always use LogWhy to track down why your mail isnít being signed.† It might have something to do with a domain name mismatch in the mail youíre feeding.

Good luck,

-MSK

From: Willem Kossen [mailto:w.kossen@gmail.com]
Sent: Friday, August 05, 2011 5:57 AM
To: dkim-milter-discuss@lists.sourceforge.net
Subject: [dkim-milter-discuss] sendmail non-smtpd possible?

Hi there,

I have succesfully implemented dkim signing in my mailserver, but it only works when mail is delivered to it via smtp. A lot of mail however comes in via sendmail executable for instance because of websites, webmail or applications sending out notices. I want that mail to be signed as well. Is it possible at all (like in postfix non-smtpd filters) or in any other way? in fact, i would like all outgoing mail to be signed.

Thanks


--
------------
Willem Kossen


------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
dkim-milter-discuss mailing list
dkim-milter-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dkim-milter-discuss




--
------------
Willem Kossen
w.kossen@gmail.com