Re: mail from the command line ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/14/2013 03:42 PM, bruce wrote:
> as a test, I have mailx (also have sendmail)
>
> based on a couple of websites/articles, I've created the following.
>
> /root/.mailrc
> set smtp-use-starttls
> set nss-config-dir=~/.mozilla/firefox/kbatbh5m.default/
> set ssl-verify=ignore
> set smtp=smtp://smtp.mail.yahoo.com:465
> set smtp-auth=login
> set smtp-auth-user=uscfish
> set smtp-auth-password=passwd1
> set from="uscfish@xxxxxxxxx(tom)"
>
> [root@dell-1 cacti]# echo "test" | mailx -vvv -s "tst1"
"timmy@xxxxxxxxx"
> Resolving host smtp.mail.yahoo.com . . . done.
> Connecting to 63.250.193.228:465 . . . connected.
> Unexpected EOF on SMTP connection
> "/root/dead.letter" 11/301
> . . . message not sent.
> [root@dell-1 cacti]#
>
>
> I also tried to run the following full command with the same err..
>
> echo "test" | mailx -s "SUBJECT1" -S
> smtp=smtp://smtp.mail.yahoo.com:465 -S smtp-auth=login -S
> smtp-auth-user=uscfish -S smtp-auth-password=passwd -S from="tom
> <uscfish@xxxxxxxxx>" timmy@xxxxxxxxx
>
> I can't figure out where to go to get additional insight for the
errs..
>
> thanks
>
>
The first thing I would recommend is not to run there tests as root.
It is up to you, but it is considered a bad practice to log in as
root unless you are doing things that require root access. Even
then, it is usually better to use sudo.

The error you are getting means that smtp.mail.yahoo.com hung up on
you. Maybe because you are using a user name of
"uscfish" instead of "uscfish@xxxxxxxxx".

Try running:


echo "test" | mailx -v -s "tst1" "timmy@xxxxxxxxx"

instead of:


echo "test" | mailx -vvv -s "tst1" "timmy@xxxxxxxxx"


and see if that helps.


One other thing - unless your ISP uses Yahoo as its mail service, or
you have a premium Yahoo mail account, you are not going to be
able to use smpt.yahoo.com to relay your messages, or retrieve your
messages except by using the WEB interface.

Mikkel
- -- 
Do not meddle in the affairs of dragons, for thou art crunchy and
taste good with Ketchup!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iQEcBAEBAgAGBQJSNNviAAoJENIgeuv7kNgeWLEH/0YO1JIhxWfJ0/8L+9nIpYmc
qJ1VqLkSLFWawcYi7MlKsO7AbV95eo9LLeA+vXWNXkj/JcTK0YbngNnTVNqFWK/6
O9StmSdg+Vr1PQeIu2QJxuCqFxhr6wdGv438vmoDPF44+x+vg/F2+gsg975XxtAe
4tqSpi5LIYEZTsZU+Z1+gUYyYC1p4VE+YHQYlM+sMzlCxut8ZXC/oyqXcGOoNnFJ
/3gailcjrwAF5cAUjXeUibKo82Y+xmzs2YWFcekJhzRNROPIijhtvPuaNBMPbMQC
oXnNdNrh8svkrJxb6+koEzCzIHMjklIMfucRZ7YyVo5MZSQq+1wMtQ82/4PKqbA=
=7jdZ
-----END PGP SIGNATURE-----

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux