[rt-users] s/mime

Alex Vandiver alexmv at bestpractical.com
Mon Jul 28 16:57:28 EDT 2014


On 07/28/2014 01:13 PM, Matthias Henze wrote:
> Am 28.07.2014 um 18:15 schrieb Alex Vandiver:
>> On 07/26/2014 10:44 AM, Matthias Henze wrote:
>>> Key and certificate get detected and displayed by the queue. I want all
>>> messages to be signed. When I enable "Sign all auto-generated mail."
>>> auto-generated mails get signed and the destroyed by duplicating all
>>> newlines. This leads to an invalid signed message.
>>
>> Interesting -- what version of openssl are you using,
> 
> root at rt:~# dpkg -l | grep openssl
> ii  openssl      1.0.1e-2+deb7u11              amd64
> 
>> and are you using HTML templates?  
> 
> No

What version of MIME::Parser?  You can check by running
    perl -MMIME::Parser\ 99

Needless to say, local tests don't show doubled newlines, so determining
a way to replicate this for us would be quite useful.

It might be instructive to run RT's test suite and see if that passes
for you.  You'll need to re-run configure with --enable-developer, which
will add some additional perl dependencies for 'make testdeps' to
install.  You'll then be able to run RT's tests:

    $ prove -wl t/{crypt,mail,web}/smime/*.t
    t/crypt/smime/attachments-in-db.t ..... ok
    t/crypt/smime/bad-recipients.t ........ ok
    t/crypt/smime/status-string.t ......... ok
    t/mail/smime/incoming.t ............... ok
    t/mail/smime/other-signed.t ........... ok
    t/mail/smime/outgoing.t ............... ok
    t/mail/smime/realmail.t ............... ok
    t/mail/smime/reject_on_unencrypted.t .. ok
    t/web/smime/outgoing.t ................ ok
    All tests successful.
    Files=9, Tests=720, 214 wallclock secs ( 0.40 usr  0.06 sys +
    155.68 cusr 11.91 csys = 168.05 CPU)
    Result: PASS

 - Alex



More information about the rt-users mailing list