<?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>Linux Neophyte &#187; Email</title>
	<atom:link href="http://linuxneophyte.com/tag/email/feed/" rel="self" type="application/rss+xml" />
	<link>http://linuxneophyte.com</link>
	<description>Trials of a Linux Newb.</description>
	<lastBuildDate>Mon, 20 Oct 2008 12:42:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Killing Trees for Email</title>
		<link>http://linuxneophyte.com/killing-trees-for-email/</link>
		<comments>http://linuxneophyte.com/killing-trees-for-email/#comments</comments>
		<pubDate>Wed, 14 Feb 2007 05:44:05 +0000</pubDate>
		<dc:creator>M@</dc:creator>
				<category><![CDATA[Email]]></category>

		<guid isPermaLink="false">http://linuxneophyte.com/killing-trees-for-email/</guid>
		<description><![CDATA[Well, I&#8217;ve done it.  I&#8217;ve printed out the man pages for formail, procmail (it&#8217;s supplements) and fetchmail.  I&#8217;m hoping to have a real understanding of these programs once I actually sit down and start reading.
I have mutt running on my machine and I&#8217;m using it to read email for 5 accounts.  I [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I&#8217;ve done it.  I&#8217;ve printed out the man pages for formail, procmail (it&#8217;s supplements) and fetchmail.  I&#8217;m hoping to have a <strong>real</strong> understanding of these programs once I actually sit down and start reading.</p>
<p>I have mutt running on my machine and I&#8217;m using it to read email for 5 accounts.  I have a basic idea of how mail is delivered to my machine and then sorted into folders, but that just isn&#8217;t enough for me.  I&#8217;ve only been half learning things and as a result I feel like a dunce far too often.  Starting with this project, I plan to fully understand everything I&#8217;m attempting.</p>
<p>Once done (as if learning has an end), I want to be able to explain what I&#8217;ve picked up with a few blog posts and hopefully help others who may stumble upon my writings get started with mail management.</p>
<p>Wish me luck.  I PROMISE to recycle if I ever get rid of these printouts.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxneophyte.com/killing-trees-for-email/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perusing Mail Headers</title>
		<link>http://linuxneophyte.com/perusing-mail-headers/</link>
		<comments>http://linuxneophyte.com/perusing-mail-headers/#comments</comments>
		<pubDate>Sun, 11 Feb 2007 13:28:40 +0000</pubDate>
		<dc:creator>M@</dc:creator>
				<category><![CDATA[Email]]></category>

		<guid isPermaLink="false">http://linuxneophyte.com/perusing-mail-headers/</guid>
		<description><![CDATA[I&#8217;ve been a terrible blogger lately.  I&#8217;ve been so wrapped up in mutt and my email that I just haven&#8217;t had time for anything else.  I&#8217;ve realized that if you&#8217;ve always been a GUI mail client user on Windows and somebody else manages your mail for you (i.e. your admin or ISP) that [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been a terrible blogger lately.  I&#8217;ve been so wrapped up in mutt and my email that I just haven&#8217;t had time for anything else.  I&#8217;ve realized that if you&#8217;ve always been a GUI mail client user on Windows and somebody else manages your mail for you (i.e. your admin or ISP) that you may not know ANYTHING about email.  I&#8217;m not even talking about transporting messages from machine to machine, just spend some time studying mail headers.  There&#8217;s a LOT to them.</p>
<p>I&#8217;m using (evaluating?) procmail to do some mail sorting on my personal machine.  Without going into detail (because at this point I simply can&#8217;t), procmail parses my email messages as they&#8217;re delivered and if one of my procmail recipes matches one of the headers in the message it moves it to a specific folder.  It can do more than that, but I just haven&#8217;t gotten that far in my explorations.</p>
<p>What&#8217;s nice is I don&#8217;t have to use just the standard mail headers like to, cc &amp; from to sort mail into folders.  Many lists (sadly, not all) insert all sorts of terrific headers when a message is forwarded to subscribers. As an example, this is a chunk of headers from a full disc encryption list that I monitor.</p>
<blockquote><p><code>X-BeenThere: fde [AT] www.xml-dev.com<br />
X-Mailman-Version: 2.1.8<br />
Precedence: list<br />
Reply-To: fde [AT] www.xml-dev.com<br />
List-Id: &lt;fde.www.xml-dev.com&gt;<br />
List-Unsubscribe: &lt;http://www.xml-dev.com/mailman/listinfo/fde&gt;,<br />
&lt;mailto:fde-request [AT] www.xml-dev.com?subject=unsubscribe&gt;<br />
List-Archive: &lt;http://www.xml-dev.com/pipermail/fde&gt;<br />
List-Post: &lt;mailto:fde [AT] www.xml-dev.com&gt;<br />
List-Help: &lt;mailto:fde-request [AT] www.xml-dev.com?subject=help&gt;<br />
List-Subscribe: &lt;http://www.xml-dev.com/mailman/listinfo/fde&gt;,<br />
&lt;mailto:fde-request [AT] www.xml-dev.com?subject=subscribe&gt;</code></p></blockquote>
<p>There&#8217;s a lot there, this list makes it easy for you to check archives, get help and unsubscribe just by reviewing the mail headers.  It also inserts an <code>X-BeenThere</code> header that I use to sort on (I wish they all did, it would make sorting MUCH easier).  Since that header is on every message from the list, I created a simple procmail recipe (below) that will move messages with that header into the &#8220;seclists&#8221; mail folder.</p>
<blockquote><p><code>:0:<br />
* ^X-BeenThere: fde [AT] www.xml-dev.com<br />
$MAILDIR/seclists/</code></p></blockquote>
<p>That&#8217;s just a simple example, but handy none-the-less.  So that&#8217;s what I&#8217;ve been up to.  Checking mail headers and learning how to manage my mail myself.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxneophyte.com/perusing-mail-headers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WFTL-LUG and a Gmail POP Trick</title>
		<link>http://linuxneophyte.com/wftl-lug-and-a-gmail-pop-trick/</link>
		<comments>http://linuxneophyte.com/wftl-lug-and-a-gmail-pop-trick/#comments</comments>
		<pubDate>Tue, 09 Jan 2007 18:37:30 +0000</pubDate>
		<dc:creator>M@</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Gmail]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Thunderbird]]></category>

		<guid isPermaLink="false">http://linuxneophyte.com/wftl-lug-and-a-gmail-pop-trick/</guid>
		<description><![CDATA[OK, this IS Linux related, in the way that you can run Thunderbird on Linux.  I just thought this was pretty cool and I had a need for it.  I recently joined the WFTL-LUG (how many times I type WTFL by the end of this who can even guess), which is a global [...]]]></description>
			<content:encoded><![CDATA[<p>OK, this IS Linux related, in the way that you can run Thunderbird on Linux.  I just thought this was pretty cool and I had a need for it.  I recently joined the <a target="_blank" href="http://www.marcelgagne.com/wftl-lug.html">WFTL-LUG</a> (how many times I type WTFL by the end of this who can even guess), which is a global Linux Users Group.  While I have a real, physical LUG in my area, I&#8217;ve found the topics to be a little too technical for the beginner (to my dismay).  Since I want to hear about the experiences of others and maybe even offer some tidbits of advice myself, I want to be involved in <strong>something</strong> with a good amount of Linux chatter.  If something like this interests you, check out the link above.  Not only is the LUG hella useful, but the site itself (<a target="_blank" href="http://www.marcelgagne.com">http://www.marcelgagne.com</a>) has a lot of great information.  Thanks go to <a target="_blank" href="http://jonwatson.ca">Jon Watson</a> for directing me to the LUG.</p>
<p>What I wanted was a second (or third) gmail account that I could use just for the WFTL-LUG, and I wanted to be able to manage it in Thunderbird from two locations; work and home.  Since there&#8217;s no IMAP for gmail, and I&#8217;m personally not ready to run an IMAP server on my own, I decided to enable POP on the account, grab the mail, and store it locally.  This was a great idea until I remembered that once the email was downloaded into one mail client, the second client wouldn&#8217;t see those messages and they wouldn&#8217;t be downloaded.  Well, this wasn&#8217;t going to work, I would either have to use one client, or worry about having some mail in one location and some in another.  I can&#8217;t be the only one that has this problem.  I googled for a solution and came up with &#8220;recent mode&#8221;.  It works like this; you change the username (I did it on both mail clients, but one should have been enough) to <code>recent:<em>username</em>@gmail.com</code>.  This retrieves all messages received in the last thirty days whether it&#8217;s been collected by another POP client or not.  The exact wording for it is <a target="_blank" href="http://mail.google.com/support/bin/answer.py?answer=47948">here</a>.</p>
<p>Now I only need to worry about marking messages/threads read when I get home.  Just thought I&#8217;d share as it saved me a headache <img src='http://linuxneophyte.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://linuxneophyte.com/wftl-lug-and-a-gmail-pop-trick/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sendEmail, A light and simple command line mailer</title>
		<link>http://linuxneophyte.com/sendemail-a-light-and-simple-command-line-mailer/</link>
		<comments>http://linuxneophyte.com/sendemail-a-light-and-simple-command-line-mailer/#comments</comments>
		<pubDate>Mon, 13 Nov 2006 04:00:42 +0000</pubDate>
		<dc:creator>M@</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Edgy]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[FC6]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://newbie.linuxworldnet.com/sendemail-a-light-and-simple-command-line-mailer/</guid>
		<description><![CDATA[I&#8217;ve been working on backing up my home directory automatically, generally when I automate a process I like to get an email notification of completion and perhaps a log file as proof.  Ubuntu doesn&#8217;t seem to have a command line mailer installed by default and many of the apps in the repos have heavy [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on backing up my home directory automatically, generally when I automate a process I like to get an email notification of completion and perhaps a log file as proof.  Ubuntu doesn&#8217;t seem to have a command line mailer installed by default and many of the apps in the repos have heavy dependencies (such as exim or postfix).  I don&#8217;t plan on running a mail server, and these programs add a level of complexity that just isn&#8217;t necessary (not to mention I&#8217;m just not ready to mess with them).  I found a small script that does exactly what I need, sendEmail.  It&#8217;s only dependency is perl and that should already be installed on your system.</p>
<p><font face="Courier, monospace">sendEmail -f [from address] -t [to address] [another to address] -u ['subject'] -m ['body'] -a [attachment] -s [your SMTP server]</font></p>
<p>As the example above shows, you simply call the script, specify your from address, specify the to address (one or many), define a subject and body (if you are including spaces in the subject or body wrap them in quotes), attach a file if you like, and then give it the address of your SMTP server (which was provided to you by your ISP).  It&#8217;s just that simple and it just works.</p>
<p>I couldn&#8217;t locate sendEmail in the Fedora repos (Ubuntu has it in the Universe repo) but it&#8217;s VERY easy to install yourself.  Download the official release from <a target="_blank" href="http://caspian.dotconf.net/menu/Software/SendEmail/">http://caspian.dotconf.net/menu/Software/SendEmail/</a> to your home directory, then enter the commands below.</p>
<p>Note: At the time of this writing the current version is 1.54 and the downloaded filename is <font face="Courier, monospace">sendEmail-v1.54.tar.gz</font>.  The filename may change later so you&#8217;ll have to adjust the commands below accordingly.  You will need the root password to install this script to the locations below.</p>
<p>Open a terminal window and go to your home folder (or the location of the downloaded file)</p>
<p><font face="Courier, monospace">su -c &#8216;<em>tar</em> -xzvf sendEmail-v1.54.tar.gz -C /usr/lib/&#8217;</font><br />
<font face="Courier, monospace">su -c &#8216;ln -s /usr/lib/sendEmail-v1.54/sendEmail /usr/bin/&#8217;</font></p>
<p>The first command will extract the files to <font face="Courier, monospace">/usr/lib/sendEmail-v1.54/</font>.  The second command just creates a symbolic link in <font face="Courier, monospace">/usr/bin/</font> that will allow you to call sendEmail from the command line.  For those interested, <font face="Courier, monospace">su -c</font> switches user to root, executes the command following the -c and then returns you to your normal user level.  I tend to use this method so I don&#8217;t forget to log out of the root account and accidentally break something.</p>
]]></content:encoded>
			<wfw:commentRss>http://linuxneophyte.com/sendemail-a-light-and-simple-command-line-mailer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
