I set up my tripwire to use SMTP mail method. When tripwire sends email the field "MAIL FROM" looks like tripwire@hostname. Digging in tripwire code - hostname is generated from system hostname, which is in most cases string like xyz. I need to configure the filed "MAIL FROM" to looks like hostame dot xy. (example: hostname is test, MAIL FROM looks like test.com)
Is there any possibility to set-up it this way?
I don't know it the set-up is possible through tripwire, but you can set it on your smtp server. For instance, you can configure tripwire to use the mail server "ssmtp" installed locally. Then, configure ssmtp to redirect to your normal smtp server and use the parameter "RewriteDomain" to, well… rewrite the domain to test.com.
Hope it helps.
Log in to post a comment.