<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2enclosuresfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>oriolrius.cat</title><link>http://oriolrius.cat/blog</link><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/oriolriuscat" /><description>Blog personal de l'Oriol Rius, les meves inquietuts sobre linux, networking i d'altres temes similars. A més de notes personals.</description><language>ca</language><image><link>http://creativecommons.org/licenses/by-sa/3.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image><copyright>some rights reserved</copyright><lastBuildDate>Wed, 09 May 2012 01:10:49 PDT</lastBuildDate><generator>WordPress http://wordpress.org/</generator><feedburner:info uri="oriolriuscat" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><media:copyright>some rights reserved</media:copyright><media:keywords>linux,networking,personal,travels,trips,mussols,technology,gadgets,mobiles,wifi,wimax</media:keywords><media:category scheme="http://www.itunes.com/dtds/podcast-1.0.dtd">Technology/Podcasting</media:category><itunes:owner><itunes:email>oriol@joor.net</itunes:email><itunes:name>Oriol Rius</itunes:name></itunes:owner><itunes:author>Oriol Rius</itunes:author><itunes:explicit>no</itunes:explicit><itunes:keywords>linux,networking,personal,travels,trips,mussols,technology,gadgets,mobiles,wifi,wimax</itunes:keywords><itunes:subtitle>Oriol Rius Podcast</itunes:subtitle><itunes:summary>My personal podcast about my life and technology. It's in catalan my language.</itunes:summary><itunes:category text="Technology"><itunes:category text="Podcasting" /></itunes:category><creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license><feedburner:emailServiceId>oriolriuscat</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item><title>Avui en faig 35!</title><link>http://feedproxy.google.com/~r/oriolriuscat/~3/TPYYosZEcjk/</link><category>mussol</category><category>35</category><category>aniversari</category><category>birth</category><category>birthday</category><category>brindis</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">oriol@joor.net (Oriol Rius)</dc:creator><pubDate>Wed, 09 May 2012 01:10:49 PDT</pubDate><guid isPermaLink="false">http://oriolrius.cat/blog/?p=2906</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Reading time: 1 &#8211; 2 minutes</p>
<p>Encara dintre d&#8217;aquest núvol que m&#8217;envolta des de fa setmanes i que no em deixa tocar de peus a terra avui és un altre dia molt especial en la meva vida, avui compleixo 35 anys. No és cap número màgic com els 18 o els 30. Però avui realment sento que tot el que m&#8217;envolta és màgic; la família, els amics i el més màgic de tot és la connexió que sento amb el meu interior. Tinc la sensació d&#8217;estar en pau en mi mateix i això ús asseguro que és el millor regal que he experimentat mai. La veritat és que ara mateix no puc demanar res a la vida, així doncs només puc seguir donant i compartint tot allò de que disposo. Aprendre que la felicitat és un estat que s&#8217;ha de saber disfrutar durant el caminar cap a l&#8217;objectiu que manté l&#8217;il·lusió i que sostenta la passió amb la que s&#8217;afronten les accions diaries. Tot plegat fa que continui afrontant els dies amb un fantàstic somriure als llavis.</p>
<p><a href="http://oriolrius.cat/blog/wp-content/uploads/2012/05/brindis.jpg"><img class="size-full wp-image-2907 aligncenter" title="brindis" src="http://oriolrius.cat/blog/wp-content/uploads/2012/05/brindis.jpg" alt="" width="640" height="480" /></a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=TPYYosZEcjk:q6Fjf-aQbkA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=TPYYosZEcjk:q6Fjf-aQbkA:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=TPYYosZEcjk:q6Fjf-aQbkA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?i=TPYYosZEcjk:q6Fjf-aQbkA:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=TPYYosZEcjk:q6Fjf-aQbkA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded><description>Reading time: 1 &amp;#8211; 2 minutes Encara dintre d&amp;#8217;aquest núvol que m&amp;#8217;envolta des de fa setmanes i que no em deixa tocar de peus a terra avui és un altre dia molt especial en la meva vida, avui compleixo 35 &amp;#8230; &lt;a href="http://oriolrius.cat/blog/2012/05/09/avui-en-faig-35/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://oriolrius.cat/blog/2012/05/09/avui-en-faig-35/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=avui-en-faig-35</feedburner:origLink></item><item><title>9 anys des de que vaig tornar a neixer</title><link>http://feedproxy.google.com/~r/oriolriuscat/~3/hl6mOj44AOs/</link><category>mussol</category><category>accident</category><category>birth</category><category>birthday</category><category>born</category><category>mindulness</category><category>personal growth</category><category>reborn</category><category>traffic</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">oriol@joor.net (Oriol Rius)</dc:creator><pubDate>Mon, 07 May 2012 01:42:58 PDT</pubDate><guid isPermaLink="false">http://oriolrius.cat/blog/?p=2898</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Reading time: 2 &#8211; 3 minutes</p>
<p>Avui es compleixen 9 anys del meu accident que em podria haver costat la vida, sempre m&#8217;agrada escriure un article recordant el moment i mostrant una foto de com va quedar el cotxe.</p>
<p style="text-align: center;"><img class="aligncenter" title="accident bmw" src="http://oriolrius.cat/article_fitxers/313/bmw005.jpg" alt="accident bmw" /></p>
<p>Aquest any el fet és més emotiu que mai ja que després del punt d&#8217;inflexió que va suposar per mi aquest segona oportunitat me n&#8217;adono que he canviat molt les meves preferencies vitals i això em fa sentir molt bé. De fet, amb l&#8217;última re-organització del blog es pot veure que a més del meu interés per la tecnologia es diferencia clarament un apartat dedicat al creixement personal i un altre per tractar temes personals, com aquest mateix article.</p>
<p>Però no només el blog és un gran exemple del meu canvi interior, el passat 29 d&#8217;abril vaig contraure matrimoni amb l&#8217;Estefania una persona que m&#8217;ha ajudat a tenir un punt de vista molt diferent a la vida; on els aspectes més competitius de la nostre societat han obert un espai a altres parts més emocionals que m&#8217;ajuden a mantenir l&#8217;equilibri en el meu dia a dia. Quan després de tots aquests anys de treball personal arribes en un punt d&#8217;equilibri entre la part mental, emocional, espiritual i física tot plegat té un efecte revitalitzant que t&#8217;ajuda a afrontar el dia a dia amb un somriure als llavis.</p>
<p>L&#8217;última prova me l&#8217;ha posat la vida aquest darrer dia 1, dia en el que un dels meus servidors personals m&#8217;ha donat un ensurt que paliar els efectes em costarà encara moltes setmanes de feina i esforç, tan energètic com econòmic. Però el difícil, o l&#8217;interessant, és saber afrontar aquesta situació professional sense que m&#8217;afecti el moment tan dolç que estic vivint en la meva vida personal. Dit d&#8217;altre forma, el interessant és aconseguir que aquest contra-temps tècnic no tingui efectes sobre el viatge de noces que comença aquest proper dijous. Això és el que em fa estar més content de la meva evolució d&#8217;aquests 9 anys.</p>
<p>No penseu pas que estic dient que he arribat al final del meu camí, al contrari, he descobert que l&#8217;èxit no el trobaré al final del camí sinó disfrutant del dia a dia pel fet de poder viure el camí que he escollit. Per no allargar-me massa acabaré l&#8217;article amb una cita:</p>
<p style="text-align: center;"><em><strong>La vida és un joc, no et prenguis res seriosament.</strong></em></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=hl6mOj44AOs:oDQIfrIFSBY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=hl6mOj44AOs:oDQIfrIFSBY:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=hl6mOj44AOs:oDQIfrIFSBY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?i=hl6mOj44AOs:oDQIfrIFSBY:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=hl6mOj44AOs:oDQIfrIFSBY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded><description>Reading time: 2 &amp;#8211; 3 minutes Avui es compleixen 9 anys del meu accident que em podria haver costat la vida, sempre m&amp;#8217;agrada escriure un article recordant el moment i mostrant una foto de com va quedar el cotxe. Aquest &amp;#8230; &lt;a href="http://oriolrius.cat/blog/2012/05/07/9-anys-des-de-que-vaig-tornar-a-neixer/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://oriolrius.cat/blog/2012/05/07/9-anys-des-de-que-vaig-tornar-a-neixer/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=9-anys-des-de-que-vaig-tornar-a-neixer</feedburner:origLink></item><item><title>TED: Jill Bolte Taylor – El derrame de iluminación</title><link>http://feedproxy.google.com/~r/oriolriuscat/~3/P9m273oTEvY/</link><category>Conciencia Plena</category><category>crecimiento personal</category><category>conciencia</category><category>conference</category><category>mindfulness</category><category>personal growth</category><category>ted</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">oriol@joor.net (Oriol Rius)</dc:creator><pubDate>Fri, 04 May 2012 12:40:58 PDT</pubDate><guid isPermaLink="false">http://oriolrius.cat/blog/?p=2886</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Reading time: 2 &#8211; 2 minutes</p>
<p><object width="526" height="374"><param name="movie" value="http://video.ted.com/assets/player/swf/EmbedPlayer.swf"></param><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always"/><param name="wmode" value="transparent"></param><param name="bgColor" value="#ffffff"></param><param name="flashvars" value="vu=http://video.ted.com/talk/stream/2008/Blank/JillBolteTaylor_2008-320k.mp4&#038;su=http://images.ted.com/images/ted/tedindex/embed-posters/JillBolteTaylor-2008.embed_thumbnail.jpg&#038;vw=512&#038;vh=288&#038;ap=0&#038;ti=229&#038;lang=es&#038;introDuration=15330&#038;adDuration=4000&#038;postAdDuration=830&#038;adKeys=talk=jill_bolte_taylor_s_powerful_stroke_of_insight;year=2008;theme=medicine_without_borders;theme=how_the_mind_works;theme=master_storytellers;event=TED2008;tag=biology;tag=brain;tag=consciousness;tag=global+issues;tag=illness;tag=science;&#038;preAdTag=tconf.ted/embed;tile=1;sz=512x288;" /><embed src="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" pluginspace="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" bgColor="#ffffff" width="526" height="374" allowFullScreen="true" allowScriptAccess="always" flashvars="vu=http://video.ted.com/talk/stream/2008/Blank/JillBolteTaylor_2008-320k.mp4&#038;su=http://images.ted.com/images/ted/tedindex/embed-posters/JillBolteTaylor-2008.embed_thumbnail.jpg&#038;vw=512&#038;vh=288&#038;ap=0&#038;ti=229&#038;lang=es&#038;introDuration=15330&#038;adDuration=4000&#038;postAdDuration=830&#038;adKeys=talk=jill_bolte_taylor_s_powerful_stroke_of_insight;year=2008;theme=medicine_without_borders;theme=how_the_mind_works;theme=master_storytellers;event=TED2008;tag=biology;tag=brain;tag=consciousness;tag=global+issues;tag=illness;tag=science;&#038;preAdTag=tconf.ted/embed;tile=1;sz=512x288;"></embed></object></p>
<p>Hoy he disfrutado de este video de TED; es la primera vez que referencio este servicio pero seguro que no será la última.</p>
<p>Quiero recomendaros este video porqué hace una reflexión sobre cómo nos hace percibir nuestro interior y exterior los dos emisferios del cerebro. Creo que son 20min de iluminación que no puedo dejar de recomendaros.</p>
<p>Deseo que os guste y os llene tanto como lo ha hecho conmigo.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=P9m273oTEvY:HS3Ic844t-U:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=P9m273oTEvY:HS3Ic844t-U:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=P9m273oTEvY:HS3Ic844t-U:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?i=P9m273oTEvY:HS3Ic844t-U:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=P9m273oTEvY:HS3Ic844t-U:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded><description>Reading time: 2 &amp;#8211; 2 minutes Hoy he disfrutado de este video de TED; es la primera vez que referencio este servicio pero seguro que no será la última. Quiero recomendaros este video porqué hace una reflexión sobre cómo nos &amp;#8230; &lt;a href="http://oriolrius.cat/blog/2012/04/05/ted-jill-bolte-taylor-el-derrame-de-iluminacion/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><media:content url="http://feedproxy.google.com/~r/oriolriuscat/~5/aUpz9p1p7SM/EmbedPlayer.swf" fileSize="507874" type="application/x-shockwave-flash" /><itunes:explicit>no</itunes:explicit><itunes:subtitle>Reading time: 2 &amp;#8211; 2 minutes Hoy he disfrutado de este video de TED; es la primera vez que referencio este servicio pero seguro que no será la última. Quiero recomendaros este video porqué hace una reflexión sobre cómo nos &amp;#8230; Continue reading &amp;#</itunes:subtitle><itunes:author>Oriol Rius</itunes:author><itunes:summary>Reading time: 2 &amp;#8211; 2 minutes Hoy he disfrutado de este video de TED; es la primera vez que referencio este servicio pero seguro que no será la última. Quiero recomendaros este video porqué hace una reflexión sobre cómo nos &amp;#8230; Continue reading &amp;#8594;</itunes:summary><itunes:keywords>linux,networking,personal,travels,trips,mussols,technology,gadgets,mobiles,wifi,wimax</itunes:keywords><feedburner:origLink>http://oriolrius.cat/blog/2012/04/05/ted-jill-bolte-taylor-el-derrame-de-iluminacion/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=ted-jill-bolte-taylor-el-derrame-de-iluminacion</feedburner:origLink><enclosure url="http://feedproxy.google.com/~r/oriolriuscat/~5/aUpz9p1p7SM/EmbedPlayer.swf" length="507874" type="application/x-shockwave-flash" /><feedburner:origEnclosureLink>http://video.ted.com/assets/player/swf/EmbedPlayer.swf</feedburner:origEnclosureLink></item><item><title>Deep inside AMQP</title><link>http://feedproxy.google.com/~r/oriolriuscat/~3/LEGKYE0o4t4/</link><category>Development, Models and Methodologies</category><category>Networking and Internet</category><category>System administration, Databases, Messaging and Security</category><category>technology</category><category>amqp</category><category>development</category><category>message</category><category>messaging</category><category>Networking</category><category>programming</category><category>rabbitmq</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">oriol@joor.net (Oriol Rius)</dc:creator><pubDate>Tue, 08 May 2012 04:09:53 PDT</pubDate><guid isPermaLink="false">http://oriolrius.cat/blog/?p=2883</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Reading time: 5 &#8211; 8 minutes</p>
<p>In the next few lines I’ll describe with more detail the properties and features of AMQP elements. It won’t be an exhaustive description but in my opinion more than enough to start playing with AMQP queues.</p>
<h2>Channels</h2>
<p>When producers and consumers connect to the broker using a TCP socket, after authenticating the connection they establish a channel where AMQP commands are sent. The channel is a virtual path inside a TCP connection. This is very useful because there can be multiple channels inside the TCP connection where each channel is identified using an unique ID.</p>
<p>An interesting parameter of a channel is <em>confirmation mode.</em> If this is set to &#8220;true&#8221;, the producer will receive an acknowledgment message with an UID when a message is delivered to an exchange and is put into a queue. This type of messages is asynchronous and permits a producer to send the next message when it is still waiting for the ACK message. Of course if the message cannot be stored and it is lost the producer receives a NACK (not acknowledged) message.</p>
<p><strong>Producers</strong></p>
<p>Maybe this is the most simple part of the system. Producers only need to negotiate the authentication across a TCP connection, create a channel and then publish all messages with their corresponding routing key. Of course, producers can create exchanges, queues and then bind them. But usually this is not a good idea. It is much more secure do this from consumers. Because when producers try to send a message to a broker and don’t have the required exchange then the message will be lost. Usually consumers are connected all the time and subscribed to queues. Producers only connect to brokers when they need to send messages.</p>
<p><strong>Consumers</strong></p>
<p>When a consumer connects to a queue, it usually uses a command called <em>basic.consume</em> to subscribe the channel to a queue.Then, every time the subscribed queue has a new message, it is sent to the consumer after the last message is consumed, or rejected.</p>
<p>If the consumer only wants to receive one message without a subscription, it can use the command <em>basic.get</em>.This works like a poll method. In fact, the consumer only gets a message each time it sends the command.</p>
<p>You can get the best throughput using the <em>basic.consume</em> command because it&#8217;s more efficient than poll every time the consumer wants another message.</p>
<p>When more than one consumer is connected to a queue, messages are distributed in a round-robin. After the message is delivered to a consumer it sends an acknowledgement message and then the queue sends another message to the next consumer. If the consumer sends a reject message the same message is sent to the next consumer.</p>
<p>There are two types of acknowledgements:</p>
<ul>
<li>basic.ack: this is the message that the consumer sends to the queue to acknowledge the receipt of a message</li>
<li>auto_ack: this is a parameter we can set when the consumer subscribes to a queue. The setting assumes an ACK message from consumer and then queue sends next message without waiting for the ACK message.</li>
</ul>
<p>The message <em>basic.reject</em> is sent when the consumer wants to reject a received message. This message discards the message and it is lost. If we want to requeue the message we can set the parameter<em>requeue=true</em> when sent a reject message.</p>
<p>When the queue is created there can be a parameter called <em>dead letter</em> set to true, then consumer rejects a message with the parameter <em>requeue=false</em> the message is queued to a new queue called <em> dead letter.</em> This is very useful because after all we can go tho that queue an inspect the message rejection reason.</p>
<h2>Queues</h2>
<p>Both consumers and producers can create a queue using <em>queue.declare</em> command. The most natural way is create queues from consumers and then bind it to an exchange. The consumers needs a free channel to create a queue, if a channel is subscribed to a queue, the channel is busy and cannot create new queues. When a queue is created usually we use a name to identify the queue, if the name is not specified it’s randomly generated. This is useful when create temporary and anonymous queues for RPC-over-AMQP.</p>
<p>Parameters we can set when create a new queue:</p>
<ul>
<li>exclusive – this setting makes a queue private and is only accessible from your application. Only one consumer can connect to a queue.</li>
<li>auto-delete – when last consumer unsubscribes from queue the queue is removed.</li>
<li>passive - when create a queue that exists the server returns successfully or returns fail if parameters don’t match. If passive parameter is set and we create a queue that exists always returns success but if the queue doesn’t exist it is not created.</li>
<li>durable – the queue can persist when the services reboots.</li>
</ul>
<p><strong>Exchange and binding</strong></p>
<p><a title="What is AMQP? and the architecure" href="http://oriolrius.cat/blog/2012/03/15/what-is-amqp-and-the-architecure/" target="_blank">In the first post</a> of the serie we talked about different exchange types as you can remember these types are: direct, fanout and topic. And the most important parameter to set when producer sends a message is the <em>routing key</em> this is used to route the message to a queue.</p>
<p>Once we have declared an exchange this can be related with a queue using a binding command: <em>queue_bind</em>. The relation between them is made using the <em>routing key</em> or a pattern based in <em>routing key</em>. When exchange has type <em>fanout</em> the <em>routing key </em>or patterns are not needed.</p>
<p>Some pattern examples can be: <em>log.*</em>, <em>message.* </em>and <em>#.</em></p>
<p>The most important exchange parameters are:</p>
<ul>
<li>type: direct, fanout and topic.</li>
<li>durable: makes an exchange persistent to reboots.</li>
</ul>
<h2>Broker and virtual hosts</h2>
<p>A broker is a container where exhanges, bindings and queues are created. Usually we can define more than one virtual brokers in the same server. Virtual brokers are also called virtual hosts. The users, permissions and something else related to a Broker cannot be used from another one. This is very useful because we can create multiple brokers in the same physical server like multi-domain web server and when some of this virtual hosts is too big it can be migrated to another physical server and it can be clustered if it is required.</p>
<h2>Messages</h2>
<p>An AMQP message is a binary without a fixed size and format. Each application can set it’s own messages. The AMQP broker only will add small headers to be routed among different queues as fast as possible.</p>
<p>Messages are not persistent inside a broker unless the producer sets the parameter <em>persistent=true</em>. In the other way the messages needs to be stored in <em>durable</em> exchanges and <em>durable </em>queues to persist in the broker when it is restarted. Of course when the messages are persistent these must be wrote to disk and the throughput will fall down. Then maybe sometimes create persistent messages is not a good idea.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=LEGKYE0o4t4:RdxqW3Ad5IM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=LEGKYE0o4t4:RdxqW3Ad5IM:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=LEGKYE0o4t4:RdxqW3Ad5IM:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?i=LEGKYE0o4t4:RdxqW3Ad5IM:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=LEGKYE0o4t4:RdxqW3Ad5IM:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded><description>Reading time: 5 &amp;#8211; 8 minutes In the next few lines I’ll describe with more detail the properties and features of AMQP elements. It won’t be an exhaustive description but in my opinion more than enough to start playing with AMQP &amp;#8230; &lt;a href="http://oriolrius.cat/blog/2012/03/23/deep-inside-amqp/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;</description><series:name xmlns:series="http://unfoldingneurons.com/" scheme="http://oriolrius.cat/blog" term="AMQP and RabbitMQ" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://oriolrius.cat/blog/2012/03/23/deep-inside-amqp/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=deep-inside-amqp</feedburner:origLink></item><item><title>El mejor año de tu vida</title><link>http://feedproxy.google.com/~r/oriolriuscat/~3/0v1xiia2NhE/</link><category>Conciencia Plena</category><category>crecimiento personal</category><category>PNL</category><category>conciencia</category><category>mindfulness</category><category>personal growth</category><category>pnl</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">oriol@joor.net (Oriol Rius)</dc:creator><pubDate>Fri, 04 May 2012 12:34:57 PDT</pubDate><guid isPermaLink="false">http://oriolrius.cat/blog/?p=2878</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Reading time: 1 &#8211; 2 minutes</p>
<p>Este mes de enero leí el libro “<a title="El mejor año de tu vida" href="http://www.multicoachingbarcelona.com/libros/novedad-el-mejor-a-o-de-tu-vida-deja-que-suceda-lo-que-tenga-que-suceder" target="_blank">El mejor año de tu vida</a>” de <a title="Mónica Fusté" href="http://www.multicoachingbarcelona.com/" target="_blank">Mónica Fusté</a>. Un libro que ya estube recomendando a través de twitter. Después de leer el libro y a modo de notas personales hice un mapa mental que hoy me he decidido a traducir al castellano y a compartir con todos vosotros.</p>
<div><a href="http://oriolrius.cat/blog/wp-content/uploads/2012/03/el-viaje.png" target="_blank"><img title="el-viaje" src="http://oriolrius.cat/blog/wp-content/uploads/2012/03/el-viaje.png" alt="mind map del libro &quot;el mejor año de tu vida&quot;" width="688" height="186" /></a></div>
<p>Añadir que este mapa mental no sustituye para nada la lectura del libro. Pero si que después de leerlo a mi me ha sido muy útil tenerlo a mano para recordar conceptos fundamentales del viaje interior que estoy haciendo.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=0v1xiia2NhE:diMWF4aQk3Y:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=0v1xiia2NhE:diMWF4aQk3Y:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=0v1xiia2NhE:diMWF4aQk3Y:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?i=0v1xiia2NhE:diMWF4aQk3Y:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=0v1xiia2NhE:diMWF4aQk3Y:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded><description>Reading time: 1 &amp;#8211; 2 minutes Este mes de enero leí el libro “El mejor año de tu vida” de Mónica Fusté. Un libro que ya estube recomendando a través de twitter. Después de leer el libro y a modo de &amp;#8230; &lt;a href="http://oriolrius.cat/blog/2012/03/22/el-mejor-ano-de-tu-vida/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://oriolrius.cat/blog/2012/03/22/el-mejor-ano-de-tu-vida/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=el-mejor-ano-de-tu-vida</feedburner:origLink></item><item><title>Classificació</title><link>http://feedproxy.google.com/~r/oriolriuscat/~3/rUCAVGmX1W8/</link><category>mussol</category><category>blog</category><category>personal</category><category>wordpress</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">oriol@joor.net (Oriol Rius)</dc:creator><pubDate>Fri, 04 May 2012 12:34:09 PDT</pubDate><guid isPermaLink="false">http://oriolrius.cat/blog/?p=2875</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Reading time: < 1 minute</p>
<p>He dedicat gairebé tot el dia a acabar el nou format del blog. És possible que hi acabi afegint algo. Però ara per ara la idea que porto al cap la dono per tancada. És a dir, que la re-estructuració en la forma d’accedir i visualitzar els continguts queda totalment separada en les tres seccions que ja he estat comentat.</p>
<p>Ara només entrar al blog com podeu veure en el menú principal es pot escollir de forma senzilla el poder veure tots els contiguts, només els de tecnologia, creixement personal o els personals. Així quan algú entri amb una idea concreta desitjo que li sigui més senzill trobar el que busca.</p>
<p>Finalment a la part superior podeu trobar els menús que hi havia abans a la barra principal.</p>
<p>Apa doncs, a disfrutar-ho.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=rUCAVGmX1W8:fXM47m4CBOc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=rUCAVGmX1W8:fXM47m4CBOc:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=rUCAVGmX1W8:fXM47m4CBOc:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?i=rUCAVGmX1W8:fXM47m4CBOc:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=rUCAVGmX1W8:fXM47m4CBOc:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded><description>Reading time: &lt; 1 minute He dedicat gairebé tot el dia a acabar el nou format del blog. És possible que hi acabi afegint algo. Però ara per ara la idea que porto al cap la dono per tancada. És &amp;#8230; &lt;a href="http://oriolrius.cat/blog/2012/03/17/classificacio/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://oriolrius.cat/blog/2012/03/17/classificacio/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=classificacio</feedburner:origLink></item><item><title>What is AMQP? and the architecure</title><link>http://feedproxy.google.com/~r/oriolriuscat/~3/bUO0xkaGAjo/</link><category>Development, Models and Methodologies</category><category>System administration, Databases, Messaging and Security</category><category>technology</category><category>amqp</category><category>erlang</category><category>kombu</category><category>messaging</category><category>programming</category><category>python</category><category>queues</category><category>rabbitmq</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">oriol@joor.net (Oriol Rius)</dc:creator><pubDate>Tue, 08 May 2012 00:48:31 PDT</pubDate><guid isPermaLink="false">http://oriolrius.cat/blog/?p=2811</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Reading time: 3 &#8211; 4 minutes</p>
<h2>What is AMQP? (Advanced Message Queuing Protocol)</h2>
<p>When two applications need to communicate with each other there a lot of solutions like IPC, if these applications are remote we can use RPC. If an application needs to communicate with more than one other application we can use ESB. And there are many more solutions. But when more than two applications need to communicate with each other and the system(s) need(s) to be scalable the problem is a bit more complicated. In fact, when we need to make a call to a remote process or distribute object processing among different servers we start to think about queues.</p>
<p>Typical examples are rendering farms, massive mail sending, publish/subscriptions solutions like news systems. At that time we start to consider a queue-based solution. In my case the first approach to this kind of solutions was Gearman; that is a very simple queue system where workers connects to a central service where producers have to call the methods published by workers; the messages are queued and delivered to workers in a simple queue.</p>
<p>Another interesting solution can be use Redis like a queue service using its features like publish/subscribe. Anyway you can always develop your own queue system. Maybe there a lot of solutions like that but when you are interested in developing as standard way and want a long-term solution with scalability and high availability then you need to think about using AMQP-based solutions.</p>
<p>The most simple definition of AMQP is: &#8220;message-oriented middleware&#8221;. Behind this simple definition there are a lot of features available. Before AMQP there were some message-oriented middlewares, for example, JMS. But AMQP is the standard protocol to keep when you choose a queue-based solution.</p>
<p>AMQP has features like queuing, routing, reliability and security. And most of the implementations of AMQP have a really scalable architecture and high availability solution.</p>
<h2>The architecture</h2>
<p>The basic architecture is simple, there are client applications called producers that create messages and deliver them to a AMQP server also called broker. Inside the broker the messages are routed and filtered until they get to queues where other applications called consumers are connected and process the messages.</p>
<p><a href="http://oriolrius.cat/blog/wp-content/uploads/2012/03/amqp-schema01.png"><img class="aligncenter size-full wp-image-2814" title="amqp-schema01" src="http://oriolrius.cat/blog/wp-content/uploads/2012/03/amqp-schema01.png" alt="" width="523" height="116" /></a></p>
<p>When we have understood this maybe it&#8217;s time to further explore the broker where AMQP&#8217;s magic happens. The broker has three parts:</p>
<ol>
<li><strong>Exchange</strong>: where the producer application delivers the messages,  messages have a routing key and exchange uses it to route messages.</li>
<li><strong>Queues</strong>: where messages are stored and then consumers get the messages from queues.</li>
<li><strong>Bindings</strong>: makes relations between exchanges and queues.</li>
</ol>
<p>When exchange has a message, it uses their routing key and three different exchange methods to choose where the message goes:</p>
<ol>
<ol>
<li><strong>Direct Exchange</strong>:  routing key matches the queue name.</li>
<li><strong>Fanout Exchange</strong>: the message is cloned and sent to all queues connected to this exchange.</li>
<li><strong>Topic Exchange</strong>: using wildcards the message can be routed to some of the connected queues.</li>
</ol>
</ol>
<p>This is the internal schema of a broker:</p>
<p><a href="http://oriolrius.cat/blog/wp-content/uploads/2012/03/amqp-schema02.png"><img class="aligncenter size-full wp-image-2815" title="amqp-schema02" src="http://oriolrius.cat/blog/wp-content/uploads/2012/03/amqp-schema02.png" alt="" width="520" height="260" /></a></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=bUO0xkaGAjo:zvQGP8A2Rw4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=bUO0xkaGAjo:zvQGP8A2Rw4:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=bUO0xkaGAjo:zvQGP8A2Rw4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?i=bUO0xkaGAjo:zvQGP8A2Rw4:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=bUO0xkaGAjo:zvQGP8A2Rw4:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded><description>Reading time: 3 &amp;#8211; 4 minutes What is AMQP? (Advanced Message Queuing Protocol) When two applications need to communicate with each other there a lot of solutions like IPC, if these applications are remote we can use RPC. If an &amp;#8230; &lt;a href="http://oriolrius.cat/blog/2012/03/15/what-is-amqp-and-the-architecure/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;</description><series:name xmlns:series="http://unfoldingneurons.com/" scheme="http://oriolrius.cat/blog" term="AMQP and RabbitMQ" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://oriolrius.cat/blog/2012/03/15/what-is-amqp-and-the-architecure/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=what-is-amqp-and-the-architecure</feedburner:origLink></item><item><title>ssh-copy-id</title><link>http://feedproxy.google.com/~r/oriolriuscat/~3/jpQjMm4iC4Y/</link><category>System administration, Databases, Messaging and Security</category><category>technology</category><category>linux</category><category>remote-control</category><category>secuirty</category><category>shell</category><category>ssh</category><category>sysadmin</category><category>system-administrator</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">oriol@joor.net (Oriol Rius)</dc:creator><pubDate>Sat, 17 Mar 2012 11:13:10 PDT</pubDate><guid isPermaLink="false">http://oriolrius.cat/blog/?p=2807</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Reading time: < 1 minute</p>
<p>Really useful command of ssh package to add public key of your user account to a remote SSH server and then access there with passwordless authentication method.</p>
<p>In the past I wrote a simple cookbook to explain this process but now this is as simple as possible. Don't forget <strong>ssh-copy-id</strong> is the most easy way to add your ssh public key in remote servers.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=jpQjMm4iC4Y:hWm2AEWxGp0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=jpQjMm4iC4Y:hWm2AEWxGp0:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=jpQjMm4iC4Y:hWm2AEWxGp0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?i=jpQjMm4iC4Y:hWm2AEWxGp0:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=jpQjMm4iC4Y:hWm2AEWxGp0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded><description>Reading time: &lt; 1 minute Really useful command of ssh package to add public key of your user account to a remote SSH server and then access there with passwordless authentication method. In the past I wrote a simple cookbook &amp;#8230; &lt;a href="http://oriolrius.cat/blog/2012/03/11/ssh-copy-id/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://oriolrius.cat/blog/2012/03/11/ssh-copy-id/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=ssh-copy-id</feedburner:origLink></item><item><title>AMQP and RabbitMQ [TOC]</title><link>http://feedproxy.google.com/~r/oriolriuscat/~3/AmSrx2mNaxc/</link><category>Development, Models and Methodologies</category><category>System administration, Databases, Messaging and Security</category><category>technology</category><category>amqp</category><category>erlang</category><category>kombu</category><category>messaging</category><category>programming</category><category>python</category><category>queues</category><category>rabbitmq</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">oriol@joor.net (Oriol Rius)</dc:creator><pubDate>Fri, 04 May 2012 13:06:59 PDT</pubDate><guid isPermaLink="false">http://oriolrius.cat/blog/?p=2800</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Reading time: 1 &#8211; 2 minutes</p>
<p><img class="alignright size-full wp-image-2802" style="color: #333333; font-size: 16px; font-style: normal; line-height: 20px; border-style: initial; border-color: initial;" title="rabbitmq_logo_strap" src="http://oriolrius.cat/blog/wp-content/uploads/2012/03/rabbitmq_logo_strap.png" alt="" width="361" height="76" /></p>
<p>After reading the book &#8216;<a title="book - RabbitMQ In Action" href="http://manning.com/videla/">RabbitMQ in action</a>&#8216; I&#8217;m working in a post serie that will has these posts:</p>
<ol>
<li><a title="What is AMQP? and the architecture" href="http://oriolrius.cat/blog/2012/03/15/what-is-amqp-and-the-architecure/">What is AMQP? and the architecure</a></li>
<li>Deep inside AMQP</li>
<li>RabbitMQ CLI quick reference</li>
<li>Hello World using &#8216;kombu&#8217; library and python</li>
<li>Parallel programming</li>
<li>Events example</li>
<li>RPC</li>
<li>Clustering fundamentals</li>
<li>Managing RabbitMQ from administration web interface</li>
<li>Managing RabbitMQ from REST API</li>
</ol>
<p>Please let me know if you are interested in this series of posts. Because in my opinion this is very interesting so allways is useful to know if someone has been working in this issues.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=AmSrx2mNaxc:ZZQ-Npo5m_0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=AmSrx2mNaxc:ZZQ-Npo5m_0:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=AmSrx2mNaxc:ZZQ-Npo5m_0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?i=AmSrx2mNaxc:ZZQ-Npo5m_0:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=AmSrx2mNaxc:ZZQ-Npo5m_0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded><description>Reading time: 1 &amp;#8211; 2 minutes After reading the book &amp;#8216;RabbitMQ in action&amp;#8216; I&amp;#8217;m working in a post serie that will has these posts: What is AMQP? and the architecure Deep inside AMQP RabbitMQ CLI quick reference Hello World using &amp;#8230; &lt;a href="http://oriolrius.cat/blog/2012/03/09/amqp-and-rabbitmq-toc/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;</description><series:name xmlns:series="http://unfoldingneurons.com/" scheme="http://oriolrius.cat/blog" term="AMQP and RabbitMQ" /><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://oriolrius.cat/blog/2012/03/09/amqp-and-rabbitmq-toc/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=amqp-and-rabbitmq-toc</feedburner:origLink></item><item><title>Getting help to configure spamassassin.conf</title><link>http://feedproxy.google.com/~r/oriolriuscat/~3/p2TTO6fuKn4/</link><category>Networking and Internet</category><category>System administration, Databases, Messaging and Security</category><category>technology</category><category>help</category><category>howto</category><category>linux</category><category>perl</category><category>spam</category><category>spamassassin</category><category>sysadmin</category><category>system-administrator</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">oriol@joor.net (Oriol Rius)</dc:creator><pubDate>Sat, 17 Mar 2012 11:14:22 PDT</pubDate><guid isPermaLink="false">http://oriolrius.cat/blog/?p=2797</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Reading time: < 1 minute</p>
<p>Configure spamassassin is never easy to do. But when you look for information in Google usually you will be mad . The most common help method in linux is use 'man command' but it doesn't work or information is not enough usually.</p>
<p>After a lucky search I found this command to get an extended information about how to configure spamassassin.conf file.</p>
<pre>perldoc Mail::SpamAssassin::Conf</pre>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=p2TTO6fuKn4:qgQIV6ozRqs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=p2TTO6fuKn4:qgQIV6ozRqs:dnMXMwOfBR0"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=dnMXMwOfBR0" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=p2TTO6fuKn4:qgQIV6ozRqs:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?i=p2TTO6fuKn4:qgQIV6ozRqs:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/oriolriuscat?a=p2TTO6fuKn4:qgQIV6ozRqs:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/oriolriuscat?d=qj6IDK7rITs" border="0"></img></a>
</div>]]></content:encoded><description>Reading time: &lt; 1 minute Configure spamassassin is never easy to do. But when you look for information in Google usually you will be mad . The most common help method in linux is use 'man command' but it doesn't &amp;#8230; &lt;a href="http://oriolrius.cat/blog/2012/03/08/getting-help-to-configure-spamassassin-conf/"&gt;Continue reading &lt;span class="meta-nav"&gt;&amp;#8594;&lt;/span&gt;&lt;/a&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://oriolrius.cat/blog/2012/03/08/getting-help-to-configure-spamassassin-conf/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=getting-help-to-configure-spamassassin-conf</feedburner:origLink></item><media:credit role="author">Oriol Rius</media:credit><media:rating>nonadult</media:rating><media:description type="plain">Oriol Rius Podcast</media:description></channel></rss>

