I need to send file(s) from a Solaris 11.3 server through the corporate network to a user on a PC . I would like to eliminate winscp and automate this process.
This test works:
uuencode /var/adm/messages messages.txt | mailx -s "messages on `uname -n`" firstname.lastname@example.org
This test does not work:
uuencode ./abc.tar abc.tar | mailx -s "tar on `uname -n`" email@example.com
I get the email and an attachment. Inside the attachment it says something like this:
Per 2014-123-000 The attached file was removed because it has the potential to be harmful to the network. Direct all questions to your point of contact. blah blah blah
I used tar as a test, but any binary including zip and compress get stripped at the user end.
Can the binary files be converted to another format to pass the filter, but still allow a novice user to extract user files at their end?