From: Gary on
I've been using nail for many months to send email from scripts. We
just did an OS upgrade and can no longer get the script to work. Here
is an example:

echo "TEST Mail" | nail -s "TEST Mail2" -r "user(a)cc2" -S
smtp="smtp://outgoing.verizon.net:25" -S smtp-auth-user="login" -S
smtp-auth-user="user" -S smtp-auth-password="****"
whitteng(a)con2inc.com

smtp-server: 550 5.7.1 Use fully qualified domain name
"/root/dead.letter" 11/301
.. . . message not sent.

I've made everything I can think of FQDN so does anyone get what the
error means?

Thanks,
Gary Whitten
whitteng(a)con2inc.com
From: Greg Russell on
"Gary" <whitteng(a)gmail.com> wrote in message
news:4ec1c629-1cf9-4d71-b20c-2cac6bb13168(a)o30g2000yqb.googlegroups.com...

> echo "TEST Mail" | nail -s "TEST Mail2" -r "user(a)cc2" -S
> smtp="smtp://outgoing.verizon.net:25" -S smtp-auth-user="login" -S
> smtp-auth-user="user" -S smtp-auth-password="****"
> whitteng(a)con2inc.com

Why do you have *two* smtp-auth-user= arguments?

> smtp-server: 550 5.7.1 Use fully qualified domain name
> "/root/dead.letter" 11/301
> . . . message not sent.
>
> I've made everything I can think of FQDN so does anyone get what the
> error means?

"user(a)cc2" is most certainly not an FQDN on the rhs. Is the IP address for a
machine named cc2 in your /etc/hosts file?


From: David Schwartz on
On Feb 16, 12:58 pm, Gary <whitt...(a)gmail.com> wrote:

> echo "TEST Mail" | nail -s "TEST Mail2" -r "user(a)cc2"   -S
> smtp="smtp://outgoing.verizon.net:25"  -S smtp-auth-user="login" -S
> smtp-auth-user="user" -S smtp-auth-password="****"
> whitt...(a)con2inc.com
>
> smtp-server: 550 5.7.1 Use fully qualified domain name
> "/root/dead.letter" 11/301
> . . . message not sent.
>
> I've made everything I can think of FQDN so does anyone get what the
> error means?

It means "user(a)cc2" is not a valid email address as far as
outgoing.verizon.net is concerned because "cc2" is not -- wait for it
-- a fully-qualified domain name.

DS
From: Gary on
Thank you all for your help. I did finally get it working. It did have
to do, partially, with "cc2" not being a FQDN, BUT, I don't know why
it should matter or even be checked since that is only the "from"
field to be displayed - it is not actually used. But it did make a
difference. When I fixed that, I didn't get an error message any more,
but mail still didn't get sent. I was NEVER able to get it to work
using an SMTP server. I did get it to work by properly configuring
postfix, which was already installed and running. Once postfix was
configured properly and I removed all SMTP params., then mail worked
properly.

Gary Whitten



On Feb 17, 12:52 am, David Schwartz <dav...(a)webmaster.com> wrote:
> On Feb 16, 12:58 pm, Gary <whitt...(a)gmail.com> wrote:
>
> > echo "TEST Mail" | nail -s "TEST Mail2" -r "user(a)cc2"   -S
> > smtp="smtp://outgoing.verizon.net:25"  -S smtp-auth-user="login" -S
> > smtp-auth-user="user" -S smtp-auth-password="****"


> > whitt...(a)con2inc.com
>
> > smtp-server: 550 5.7.1 Use fully qualified domain name
> > "/root/dead.letter" 11/301
> > . . . message not sent.
>
> > I've made everything I can think of FQDN so does anyone get what the
> > error means?
>
> It means "user(a)cc2" is not a validemailaddress as far as
> outgoing.verizon.net is concerned because "cc2" is not -- wait for it
> -- a fully-qualified domain name.
>
> DS

 | 
Pages: 1
Prev: IGMP snooping
Next: 'netstat' and '-f inet' option