Fix deprecation warnings in exim module

Change-Id: I432c6f664d13c32daac0e22b0aee55b511de5c5d
Merge "Fix deprecation warnings in exim module"