FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 10-10-2012, 04:03 PM
ping
 
Default ubuntu12.04 upgrade: sendmail issue: send-mail: 501 5.5.4 Invalid domain name

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 songpingemail@gmail.com

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 (ping@redroute.com)

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) ping@redroute.com 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




--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-10-2012, 05:33 PM
Jan Litwiński
 
Default ubuntu12.04 upgrade: sendmail issue: send-mail: 501 5.5.4 Invalid domain name

Wednesday 10 October 2012 18:03:37 ping napisał(a):
> folks/experts:

please don't send html messages to the list

thanks

--
Jan Litwiński
http://netsjanek.bloog.pl/
Linux is like a wigwam no gates
no windows but apache inside

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-10-2012, 07:29 PM
Tom H
 
Default ubuntu12.04 upgrade: sendmail issue: send-mail: 501 5.5.4 Invalid domain name

On Wed, Oct 10, 2012 at 1:33 PM, Jan Litwiński <jlitwinski@vp.pl> wrote:
> Wednesday 10 October 2012 18:03:37 ping napisał(a):
>>
>> folks/experts:
>
> please don't send html messages to the list

Let's compare the Ubuntu and Debian policies regarding html email.

Ubuntu:
Avoid sending emails in HTML format, if possible.

Debian:
Never send your messages in HTML; use plain text instead.

Unless and until Ubuntu changes its policy to look like Debian's,
you're not entitled to make such a request.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-10-2012, 08:38 PM
ping
 
Default ubuntu12.04 upgrade: sendmail issue: send-mail: 501 5.5.4 Invalid domain name

On 10/10/2012 03:29 PM, Tom H wrote:

On Wed, Oct 10, 2012 at 1:33 PM, Jan Litwiński <jlitwinski@vp.pl> wrote:

Wednesday 10 October 2012 18:03:37 ping napisał(a):


folks/experts:


please don't send html messages to the list


Let's compare the Ubuntu and Debian policies regarding html email.

Ubuntu:
Avoid sending emails in HTML format, if possible.

Debian:
Never send your messages in HTML; use plain text instead.

Unless and until Ubuntu changes its policy to look like Debian's,
you're not entitled to make such a request.



I don't know how this happened, guess my TB was somehow changed to
HTML...here is a re-post in pure text:


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 songpingemail@gmail.com
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 (ping@redroute.com)
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) ping@redroute.com 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

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 11:58 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org