Replace char with newline :
:s/X/^M/
^M = ctrl-V + m
Notes on masquerading your domain name , I needed that since one SMS gateway will not accept my nagios@server.domain.com emails , this setting allowed nagios to send the email as nagios@domain.com