Creating an encryption dump
You can configure NoSpamProxy so that it saves decrypted data in a file before this data is processed further in an email. This can be very helpful in analysing formatting problems related to encryption and decryption.
To create the encryption dump, proceed as follows:
- Go to C:\ProgramData\Net at Work Mail Gateway\Configuration\.
- Open the file Gateway Role.config.
- Find the following line:
</configSections>. - Add the following lines below the line just mentioned: <netatwork.nospamproxy.cryptography> <debugging dumpDecryptedContentToDisk="true"/> </netatwork.nospamproxy.cryptography>
NOTE: If the section netatwork.nospamproxy.cryptography already exists, just add the line <debugging dumpDecryptedContentToDisk="true"/>.
NOTE: Before you save the configuration file, you must stop the Gateway Role service. Only then can you save the configuration file properly.
NOTE: The decrypted contents are now stored in the local service temp folder. Usually this is the folder C:\Windows\ServiceProfiles\LocalService\AppData\Local\Temp. If the files are not created there, please check the folder C:\Windows\Temp.