[exim] Header with x509v3

Top Page
Delete this message
Reply to this message
Author: ed\.edward
Date:  
To: exim-users
Subject: [exim] Header with x509v3
X-No-Archive:yes



Hi,

New to exim, I would like to add a control
process when sending outgoing mail based on a specific domain
and digital signature (x509v3).

The FAQ said It could be possible to add a header to the
remote_smtp transport.

Since "Content-Type:" header change according to boundary limit
of the signed message.

# example for signed meesage
# --------------------------
Content-Type: multipart/signed;\
protocol="application/x-pkcs7-signature";\
micalg=sha1;\
boundary="------------ms9EC24FA3FF541412345157DA3"

# example for crypted meesage
# --------------------------
Content-Type: application/x-pkcs7-mime; name="smime.p7m"


My question is: how to manage this,
How to force all outgoing mail to be signed with x509v3
certificate and eventually based on domain?

I have tried this, but it does not work!

headers_add = ${if eqi{{$h_content-type:}{multipart/signed;\
                   protocol="application/xpkcs7-signature"}}\
                {yes} fail }


Many thanks

--
Edward








Accédez au courrier électronique de La Poste : www.laposte.net ;
3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)