<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Open source blog, linux, php, python, security &#187; mailx</title>
	<atom:link href="http://www.alonon.net/tag/mailx/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alonon.net</link>
	<description></description>
	<lastBuildDate>Sat, 04 Feb 2012 07:23:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>

   <image>
    <title>Open source blog, linux, php, python, security</title>
    <url>http://0.gravatar.com/avatar/5152c5736f5f8dd9570ffb2f9068e8ab.png?s=48</url>
    <link>http://www.alonon.net</link>
   </image>
		<item>
		<title>Sending e-mail in ssh</title>
		<link>http://www.alonon.net/sending-email-in-ssh/</link>
		<comments>http://www.alonon.net/sending-email-in-ssh/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 21:51:46 +0000</pubDate>
		<dc:creator>ALonon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mailx]]></category>
		<category><![CDATA[sendemail]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=194</guid>
		<description><![CDATA[While i was trying to configure postfix, i learnt to sending e-mail in ssh. There are some script to do this and i choose sendEmail to install sendemail type: sudo apt-get intstall sendemail then you can type sendemail -f {from} -t (emailto} sendEmail -f ADDRESS [options] Required: -f ADDRESS                from (sender) email address * At &#8230; <a href="http://www.alonon.net/sending-email-in-ssh/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>While i was trying to configure postfix, i learnt to sending e-mail in ssh. There are some script to do this and i choose sendEmail to install</p>
<p>sendemail type:</p>
<p>sudo apt-get intstall sendemail</p>
<p>then you can type</p>
<p>sendemail -f {from} -t (emailto}</p>
<blockquote><p>sendEmail -f ADDRESS [options]</p>
<p>Required:<br />
-f ADDRESS                from (sender) email address<br />
* At least one recipient required via -t, -cc, or -bcc<br />
* Message body required via -m, STDIN, or -o message-file=FILE</p>
<p>Common:<br />
-t ADDRESS [ADDR ...]     to email address(es)<br />
-u SUBJECT                message subject<br />
-m MESSAGE                message body<br />
-s SERVER[:PORT]          smtp mail relay, default is localhost:25</p>
<p>Optional:<br />
-a   FILE [FILE ...]      file attachment(s)<br />
-cc  ADDRESS [ADDR ...]   cc  email address(es)<br />
-bcc ADDRESS [ADDR ...]   bcc email address(es)<br />
-xu  USERNAME             username for SMTP authentication<br />
-xp  PASSWORD             password for SMTP authentication</p>
<p>Paranormal:<br />
-b BINDADDR[:PORT]        local host bind address<br />
-l LOGFILE                log to the specified file<br />
-v                        verbosity, use multiple times for greater effect<br />
-q                        be quiet (i.e. no STDOUT output)<br />
-o NAME=VALUE             advanced options, for details try: &#8211;help misc<br />
-o message-file=FILE         -o message-format=raw<br />
-o message-header=HEADER     -o message-charset=CHARSET<br />
-o reply-to=ADDRESS          -o timeout=SECONDS<br />
-o username=USERNAME         -o password=PASSWORD<br />
-o tls=&lt;auto|yes|no&gt;         -o fqdn=FQDN</p>
<p>Help:<br />
&#8211;help                    the helpful overview you&#8217;re reading now<br />
&#8211;help addressing         explain addressing and related options<br />
&#8211;help message            explain message body input and related options<br />
&#8211;help networking         explain -s, -b, etc<br />
&#8211;help output             explain logging and other output options<br />
&#8211;help misc               explain -o options, TLS, SMTP auth, and more</p></blockquote>
<p>After that type your email and press ctrl+d:</p>
<p>Mar 04 21:44:24 power sendEmail[24236]: Message input complete.<br />
Mar 04 21:44:25 power sendEmail[24236]: Email was sent successfully!</p>
<p><strong>Second Way</strong></p>
<p>install mailx with:</p>
<blockquote><p>sudo apt-get install mailx</p></blockquote>
<p>to send email</p>
<p>mailx to@me.com</p>
<p>Subject: Write subject press enter</p>
<p>type here body press ctrl+d</p>
<p>CC: blank</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/sending-email-in-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

