fix to smtp server
adding support to customize pid directory