folks/experts:
previously I had a really handy oneliner that works great for years:
#put this in ~/bin/test.sh
cat "$1" | uuencode "$1" | mail -s "file:$1, from ping's PC"
then I can send any file as email attachment from CLI, within my
office, to any one.
but after upgrading to ubuntu12.04LTS, I noticed this tool is broken now:
ping@640g-laptop:~$ test.sh temp1.txt [email protected]
1) WARNING: gnome-keyring:: couldn't connect to:
/tmp/keyring-Gjbkfb/pkcs11: No such file or directory
2) send-mail: 501 5.5.4 Invalid domain name ([email protected])
3) Can't send mail: sendmail process failed with error code 1
I'm thinking this might involve 2 issues here:
1) this "gnome-keyring" warning I seems saw also on other places, that I
previously never saw before upgrading.
2) [email protected] is my default company mailbox, I think this is what
sendmail use as the "sender"'s emailbox
3) I'm doubting some of my files related to sendmail was replaced during
the upgrading, but I can't remember which files they are...
does anyone experienced the same issue and found any workaround? I
googled tons of links without seeing a clear clue...
thanks!
regards
ping
--
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at
http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules or
http://cdn.fsdev.net/List-Rules.pdf)