Re: mail from the command line ??

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

 



On 09/14/2013 04:57 PM, Dave Ihnat wrote:
> On Sat, Sep 14, 2013 at 04:42:29PM -0400, bruce wrote:
>> as a test, I have mailx (also have sendmail)
> Of course, you can always do it the way we used to--still do for some
> testing:
>
>     #telnet localhost 25
>     220 foo.bar.com ESMTP Sendmail 8.14.4/8.14.4/Debian-2ubuntu2; Mon 16 Sep
>     2013 16:00:28 -0500; (No UCE/UBE) logging access from:
>     localhost(OK)-localhost [127.0.0.1]
>     HELO foo.bar.com
>     250 foo.bar.com Hello localhost [127.0.0.1], pleased to meet you
>     MAIL From:krod@xxxxxxxxxxx
>     250 2.1.0 krod@xxxxxxxxxxx... Sender ok
>     RCPT To:joker@xxxxxxxxxx
>     250 2.1.5 joker@xxxxxxxxxx... Recipient ok
>     DATA
>     354 Enter mail, end with "." on a line by itself
>     Well, Batman, I see you and Joker are friends now.
>     .
>     250 2.0.0 r8ELmS57124111 Message accepted for delivery
>     quit
>     Connection closed by foreign host.
>     #
>
> In the above, the lines starting with codes are the responses from the MTA.
>
> Of course, there are some gotchas today.  It may not be on port 25.  You
> may not have 'telnet', or have access to it.  And if the connection
> requires authentication, there's more armwaving; for something like that,
> see:
>
>   http://www.ndchost.com/wiki/mail/test-smtp-auth-telnet
>
> (I can do the above from memory; I have to look up the AUTH sequence.)
>
> Cheers,
> --
> 	Dave "don't need no stinkin' MUA" Ihnat
> 	dihnat@xxxxxxxxxx
I think he may want to use EHLO foo.bar.com instead of "HELO
foo.bar.com" to see the security options.

Mikkel
-- 
Do not meddle in the affairs of dragons, for thou art crunchy and
taste good with Ketchup!
-- 
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