james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Charles <e...@apache.org>
Subject Re: reading custom header from smime message
Date Sun, 24 Mar 2013 11:03:35 GMT
On 24/03/2013 10:06, Eric Charles wrote:
> there is no way for the mailet to read it (unless the mailet has acess
> to the recipient certificate, but you don't want this I guess).
>

I meant the recipient private key in order to decrypt it.
I assume that the s/mime is encrypted...

If it is not encrypted, you should have access to the header and body.
Maybe some clever part decoding is needed (not sure)...

Thx, Eric

> Thx, Eric
>
> On 21/03/2013 15:51, Rajender Vallapureddy wrote:
>> Hi Eric,
>>
>> I have enabled ssl for my james server.
>>
>> I am sending a customer header called as Client-Type from my webmail
>> client to distinguish whether the user is using the webmail client or
>> something like microsoft outlook.
>>
>> I have written my custom mailet which is working fine and can get
>> value for Client-Type header for normal message(IMF). This is failing
>> when the message comes in as SMIME. How can I read this customer
>> header from the SMIME message?
>>
>> Appreciate your help.
>>
>> Thank you,
>> Regards,
>> Rajender
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-dev-help@james.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message