<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Mail on mkz.me</title>
		<link>https://mkz.me/til/mail/</link>
		<description>Recent content in Mail on mkz.me</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Sat, 21 Sep 2024 12:54:06 +0200</lastBuildDate>
		
			<atom:link href="https://mkz.me/til/mail/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Moving mails from one mailbox to another with formail</title>
				<link>https://mkz.me/til/mail/moving-mails-from-one-mailbox-to-another-with-formail/</link>
				<pubDate>Sat, 21 Sep 2024 12:54:06 +0200</pubDate>
				<guid>https://mkz.me/til/mail/moving-mails-from-one-mailbox-to-another-with-formail/</guid>
				<description>&lt;p&gt;Use case: I&amp;rsquo;ve been using a specific folder for mails I&amp;rsquo;m considering to be spam, and mails in this folder is sent everyday to spamassassin&amp;rsquo;s &lt;code&gt;sa-learn --spam&lt;/code&gt; for adding tokens to the bayes database.&lt;/p&gt;&#xA;&lt;p&gt;I found out &lt;code&gt;formail&lt;/code&gt; (available in the &lt;code&gt;procmail&lt;/code&gt; package) will take an inbox as input, and will reformat mails, or allow to split/reformat/append mails before adding the mails to target mailbox.&lt;/p&gt;&#xA;&lt;p&gt;Eg, the following command will show the 2nd mail of the mailbox:&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
