<?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>Björn Schießle&#039;s Weblog &#187; gnus</title>
	<atom:link href="http://blog.schiessle.org/tag/gnus/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.schiessle.org</link>
	<description></description>
	<lastBuildDate>Mon, 17 Jan 2011 19:21:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Living in Emacs</title>
		<link>http://blog.schiessle.org/2009/04/13/living-in-emacs/</link>
		<comments>http://blog.schiessle.org/2009/04/13/living-in-emacs/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 16:36:10 +0000</pubDate>
		<dc:creator>Björn</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[emacs]]></category>
		<category><![CDATA[GNU]]></category>
		<category><![CDATA[gnus]]></category>
		<category><![CDATA[org-mode]]></category>

		<guid isPermaLink="false">http://www.schiessle.org/blog/?p=210</guid>
		<description><![CDATA[E-Mail, News, Editing, Writing, Programming,&#8230; Since a few year now I use GNU Emacs for almost everything i do regularly on my computer. But there is still so many to discover and learn. The last few weeks I started to use org-mode for notes, ToDo lists, etc and i really love it. Especially the feature [...]]]></description>
			<content:encoded><![CDATA[<p>E-Mail, News, Editing, Writing, Programming,&#8230; Since a few year now I use <a href="http://www.gnu.org">GNU</a> <a href="http://www.gnu.org/software/emacs">Emacs</a> for almost everything i do regularly on my computer. But there is still so many to discover and learn. The last few weeks I started to use  <a href="http://orgmode.org/">org-mode</a> for notes, ToDo lists, etc and i really love it. Especially the feature to link from your ToDo list or note directly to an mail in <a href="http://www.gnus.org/">Gnus</a>. Just copy (C-c l) the link to the mail in Gnus and insert (C-c C-l) it into the note. Now I can click on the link in my ToDo list and Emacs will show me directly the corresponding mail/thread in my mail client. Great!</p>
<p>As already said, for mails and news I use Gnus. Until now I always set up postfix as my Mail Transport Agent (MTA). Only today I learnt that Gnus is able to send e-mails directly without an external MTA. The only pitfall, you have to install  gnutls-bin and starttls to use SSL/TLS.  Otherwise it will not work and you will not get a meaningful error message. After that it is fairly easy. I just had to enter this into my ~/.gnus:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code"><pre class="lisp" style="font-family:monospace;"><span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">setq</span> smtpmail-smtp-server <span style="color: #ff0000;">&quot;smtp-server&quot;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">setq</span> smtpmail-smtp-service <span style="color: #cc66cc;">25</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#40;</span>require 'smtpmail<span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">setq</span> message-send-mail-real-<span style="color: #b1b100;">function</span> 'smtpmail-send-it<span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">setq</span> smtpmail-auth-credentials
 '<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;smtp-server&quot;</span> <span style="color: #cc66cc;">25</span> <span style="color: #ff0000;">&quot;user&quot;</span> <span style="color: #ff0000;">&quot;passwd&quot;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">setq</span> smtpmail-starttls-credentials
     '<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;smtp-server&quot;</span> <span style="color: #cc66cc;">25</span> <span style="color: #b1b100;">nil</span> <span style="color: #b1b100;">nil</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">setq</span> starttls-use-gnutls t<span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">setq</span> starttls-gnutls-program <span style="color: #ff0000;">&quot;gnutls-cli&quot;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">setq</span> starttls-extra-arguments <span style="color: #b1b100;">nil</span><span style="color: #66cc66;">&#41;</span></pre></td></tr></table></div>

<p>That&#8217;s it. Now I can apt-get remove postfix and have one service less in the background of my daily computing.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.schiessle.org/2009/04/13/living-in-emacs/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

