Basically, I'm trying to send some email thru uucp to some especial accounts using the RFC 5322 standard that includes
I'm trying to execute the following command in a Centos 6 box from the CLI (/bin/bash) and from a perl script.
# cat /root/my_msg | uux -r -email@example.com - 'my_remailserv!rmoc.pl' firstname.lastname@example.org "CP&O-AP@qatargas.com.qa" email@example.com
I have managed to escape an email address of the kind
Massimo.Lfirstname.lastname@example.org passing it as
"Massimo.L\'email@example.com" but with
& is splitting the string in
CP & O-AP@qatargas.com.qa
Any ideas on how to avoid these extra 2 spaces?
I have tried
'CP\&O-AP@qatargas.com.qa' and many more with no happy result.