On Mon, 30 Jan 2006, Johan Almqvist wrote:

Indeed I did get an answer; he ack'd that the plugin had succumbed to "code rot", and he sent me a new version to test.

Could you send it to me?

Unfortunately, the results with that plugin were less encouraging, the new plugin barfs (Bus Error + core dump) at the same place as the SpamAssassin plugin -- somewhere in the OpenSSL code. And when a qpsmtpd plugin barfs, qpsmtpd barfs -- so this meant I couldn't receive any mail signed with DomainKeys (before, spamd barfed, but the mail still came though -- just without the SpamAssassin check).

A perl plugin causing bus error + core dump seems to suggest a miscompile of your perl interpreter? Plugins shouldn't have that effect. You're running a 64bit OS, right? Perhaps perl isn't 64bit clean yet. I recently installed the amd64 64bit version of FreeBSD 6.0 on a Dell Poweredge 2850 for use as a mail relay. However, I've reverted to a i386 install, as too many things didn't work properly; fastforward, SpeedyCGI, to name a few. I didn't want to run into unexpected errors later on. My current FBSD i386 relays have been 100% reliable since I set them up 18months ago. Only downtime has been due to power outages :) I just don't want to mess with that.

I have been starting to reimplement Mail::DomainKeys with the Cryp::RSA library, but with limited success so far. Crypt::RSA doesn't accept PKCS1 keys, and I have tried to use Convert::PEM to convert them, but I seem to be unable to find a correct ASN description that matches these keys.

I'd suggest trying a 32bit version of perl, as what you describe above should not be happening.
  Cheers.

--
Mark Powell - UNIX System Administrator - The University of Salford
Information Services Division, Clifford Whitworth Building,
Salford University, Manchester, M5 4WT, UK.
Tel: +44 161 295 4837  Fax: +44 161 295 5888  www.pgp.com for PGP key

Reply via email to