thanks Bryan!
after testing with these options unset, I now get:
unset GNOME_KEYRING_CONTROL
unset GNOME_KEYRING_PID
cat "$1" | uuencode "$1" | mail -s "file:$1, from ping's PC
ping@640g-laptop:~$ sendthisfile.sh temp.txt [email protected]
send-mail: 501 5.5.4 Invalid domain name ([email protected])
Can't send mail: sendmail process failed with error code 1
at least the 1st warning about gnome-keyring gone:
WARNING: gnome-keyring:: couldn't connect to:
/tmp/keyring-Gjbkfb/pkcs11: No such file or directory
but looks still it fails. I guess I need some minimum configuration
(smtp server, username/pass, etc) about sendmail (which is the "mail"
program) or sth?
previously I didn't configure ANYTHING but it just worked...
thanks!
regards
ping
On 10/31/2012 2:55 PM, Bryan Smith wrote:
Hey,
That is a bug dealing with GnuTLS, gnome keyring and the auto loading
of the pkcs11 module.
You can add this to the top of your script and test it
unset GNOME_KEYRING_CONTROL
unset GNOME_KEYRING_PID
If that works then adding this to your exim config and setting it to
false might also work if your version of exim supports it:
gnutls_enable_pkcs11
Bryan
On Wed, Oct 31, 2012 at 1:12 PM, ping <[email protected]
<mailto:[email protected]>> wrote:
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]
<mailto:[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]
<mailto:[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] <mailto:[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]
<mailto:[email protected]>
To unsubscribe, send email to
[email protected]
<mailto:linuxusersgroup%[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)
--
A healthy diet includes Linux, Linux, and more Linux.
--
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)
--
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)