<?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>Ali Abdallah&#039;s web page</title>
	<atom:link href="http://www.aliov.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.aliov.org</link>
	<description></description>
	<lastBuildDate>Thu, 15 Sep 2011 20:58:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile] ((null):0)</title>
		<link>http://www.aliov.org/123/server-should-be-ssl-aware-but-has-no-certificate-configured-hint-sslcertificatefile-null0/</link>
		<comments>http://www.aliov.org/123/server-should-be-ssl-aware-but-has-no-certificate-configured-hint-sslcertificatefile-null0/#comments</comments>
		<pubDate>Sat, 20 Aug 2011 07:54:43 +0000</pubDate>
		<dc:creator>ali</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server administration]]></category>

		<guid isPermaLink="false">http://www.aliov.org/?p=123</guid>
		<description><![CDATA[The above error appears with recent versions of apache (>2.2.13) despite the fact that apache has SSLCertificateFile and other SSL configuration correctly set. Not sure what is the problem, but the solution is quite simple but difficult to find, specially most people with that error have wrong ssl configuration, but if you are sure it [...]]]></description>
			<content:encoded><![CDATA[<p>The above error appears with recent versions of apache (>2.2.13) despite the fact that apache has SSLCertificateFile and other SSL configuration correctly set. Not sure what is the problem, but the solution is quite simple but difficult to find, specially most people with that error have wrong ssl configuration, but if you are sure it is not your case and you&#8217;ve correctly configured SSL options for apache you might try to replace<br />
<strong>Listen 443</strong> with <strong>Listen 443 http</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.aliov.org/123/server-should-be-ssl-aware-but-has-no-certificate-configured-hint-sslcertificatefile-null0/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Awstats SkipHosts all records dropped</title>
		<link>http://www.aliov.org/115/awstats-skiphost-all-records-dropped/</link>
		<comments>http://www.aliov.org/115/awstats-skiphost-all-records-dropped/#comments</comments>
		<pubDate>Thu, 18 Aug 2011 09:43:53 +0000</pubDate>
		<dc:creator>ali</dc:creator>
				<category><![CDATA[archlinux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Server administration]]></category>

		<guid isPermaLink="false">http://www.aliov.org/?p=115</guid>
		<description><![CDATA[Awstats is a very nice log file analyzer, written in perl, does produce website statistics. However recent perl (&#62;5.14.0) upgrade broke most of the configuration options of awstats version 7.0, as a consequences awstats is dropping all record when using SkipHosts options, which is an option to tell awstats to don&#8217;t include specific host (like [...]]]></description>
			<content:encoded><![CDATA[<p>Awstats is a very nice log file analyzer, written in perl, does produce website statistics. However recent perl (&gt;5.14.0) upgrade broke most of the configuration options of <strong>awstats version 7.0</strong>, as a consequences awstats is dropping all record when using SkipHosts options, which is an option to tell awstats to don&#8217;t include specific host (like localhost, 192.168.**, etc&#8230;).<br />
Many other options are broken as well, see <a href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=3311848&amp;group_id=13764&amp;atid=113764" target="_blank">this link</a> for more details.</p>
<p>You can use <a href="http://www.aliov.org/wp-content/uploads/2011/08/fix-broken-skip-hosts-and-other-options.gz">this patch</a>, alternatively a patched archlinux package of awstats can be found <a href="http://repo.archost.org/" target="_blank">here</a> which includes also the missing swf.png file from the original package, if you want you can just use this repository with pacman</p>
<p>[archost]<br />
Server = http://repo.archost.org</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aliov.org/115/awstats-skiphost-all-records-dropped/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Archost alpha release</title>
		<link>http://www.aliov.org/109/archost-alpha-release/</link>
		<comments>http://www.aliov.org/109/archost-alpha-release/#comments</comments>
		<pubDate>Thu, 11 Aug 2011 09:18:00 +0000</pubDate>
		<dc:creator>ali</dc:creator>
				<category><![CDATA[archlinux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Server administration]]></category>

		<guid isPermaLink="false">http://www.aliov.org/?p=109</guid>
		<description><![CDATA[Archost is an open source hosting control panel written in php and designed for archlinux based servers. Archost is not aimed to be a classic hosting control panel (admin, reseller, client), it is a control panel aimed to ease server administration for hosting personal, family, friends and company websites and mails. Archost comes with an [...]]]></description>
			<content:encoded><![CDATA[<p>Archost is an open source hosting control panel written in php and designed for archlinux based servers. Archost is not aimed to be a classic hosting control panel (admin, reseller, client), it is a control panel aimed to ease server administration for hosting personal, family, friends and company websites and mails.</p>
<p>Archost comes with an installer to ease server configuration, please see <a target="_blank" href="http://www.archost.org/"> archost web page </a> for more details</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aliov.org/109/archost-alpha-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maxima, Computer Algebra System</title>
		<link>http://www.aliov.org/99/maxima-computer-algebra-system/</link>
		<comments>http://www.aliov.org/99/maxima-computer-algebra-system/#comments</comments>
		<pubDate>Sun, 27 Mar 2011 15:28:31 +0000</pubDate>
		<dc:creator>ali</dc:creator>
				<category><![CDATA[Mathematics]]></category>

		<guid isPermaLink="false">http://www.aliov.org/?p=99</guid>
		<description><![CDATA[Maxima is a computer algebra system that can be used to perform many computation, i did not know that it exists until recently, it is simply amazing. I never used maple, because it is a &#8220;closed to control users&#8221; software, and even when i wanted to just try it, the version provided at my university [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://maxima.sourceforge.net/">Maxima</a> is a computer algebra system that can be used to perform many computation, i did not know that it exists until recently, it is simply amazing.</p>
<p>I never used maple, because it is a &#8220;closed to control users&#8221; software, and even when i wanted to just try it, the version provided at my university for free for students did not work under my archlinux, it was freezing up after 2,3 seconds.</p>
<p>Maxima can do a lot, the nice thing also is that it has emacs support, just install maxima+emacs, open emacs then M-x imaxima for latex style or maxima for normal style: you need to add it to the load path of emacs, you can do that by adding the following lines to your $HOME/.emacs</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#40;</span>add-to-list <span style="color: #ff0000;">'load-path &quot;/usr/share/maxima/5.23.2/emacs/&quot;)
 (autoload '</span>maxima-mode <span style="color: #ff0000;">&quot;maxima&quot;</span> <span style="color: #ff0000;">&quot;Maxima mode&quot;</span> t<span style="color: #7a0874; font-weight: bold;">&#41;</span>
 <span style="color: #7a0874; font-weight: bold;">&#40;</span>autoload <span style="color: #ff0000;">'imaxima &quot;imaxima&quot; &quot;Frontend for maxima with Image support&quot; t)
 (autoload '</span>maxima <span style="color: #ff0000;">&quot;maxima&quot;</span> <span style="color: #ff0000;">&quot;Maxima interaction&quot;</span> t<span style="color: #7a0874; font-weight: bold;">&#41;</span>
 <span style="color: #7a0874; font-weight: bold;">&#40;</span>autoload <span style="color: #ff0000;">'imath-mode &quot;imath&quot; &quot;Imath mode for math formula input&quot; t)
 (setq imaxima-use-maxima-mode-flag t)</span></pre></div></div>

<p>Replace &#8220;/usr/share/maxima/5.23.2/emacs/&#8221; with the correct path of your installation<br />
&nbsp;</p>
<p>Here is a screenshot of the latex style (imaxima):</p>
<p><a href="http://www.aliov.org/wp-content/uploads/2011/03/emacs-imaxima.png"><img class="aligncenter size-full wp-image-100" title="emacs-imaxima" src="http://www.aliov.org/wp-content/uploads/2011/03/emacs-imaxima.png" alt="" width="666" height="623" /></a></p>
<p>You can write function, macros, &#8230; and put them in $HOME/.maxima/, the you can load a specific file by calling load (&#8220;filename&#8221;).</p>
<p>In octave, resolution of linear system define by matrices can be done by doing A\b, where A is the matrix of the variables coefficient, and b is the rvalue (A.X=b), there is no such thing in maxima, however writing this is very easy, here is what i did:</p>
<p>&nbsp;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">msolve<span style="color: #7a0874; font-weight: bold;">&#40;</span>M,X,b<span style="color: #7a0874; font-weight: bold;">&#41;</span>:=block<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span>R<span style="color: #7a0874; font-weight: bold;">&#93;</span>,
    s: M.X,
    list: makelist<span style="color: #7a0874; font-weight: bold;">&#40;</span>s<span style="color: #7a0874; font-weight: bold;">&#91;</span>i, <span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> = b<span style="color: #7a0874; font-weight: bold;">&#91;</span>i, <span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>, i, <span style="color: #000000;">1</span>, length<span style="color: #7a0874; font-weight: bold;">&#40;</span>s<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>,
    listX: makelist<span style="color: #7a0874; font-weight: bold;">&#40;</span>X<span style="color: #7a0874; font-weight: bold;">&#91;</span>i, <span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>, i, <span style="color: #000000;">1</span>, length<span style="color: #7a0874; font-weight: bold;">&#40;</span>X<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>,
    R: solve<span style="color: #7a0874; font-weight: bold;">&#40;</span>list,listX<span style="color: #7a0874; font-weight: bold;">&#41;</span>,
    <span style="color: #7a0874; font-weight: bold;">return</span><span style="color: #7a0874; font-weight: bold;">&#40;</span>R<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>$</pre></div></div>

<p>Also one very important feature is that at any point you can call tex() on a specific variable and you will get the latex code that you can use directly in a latex document, you can use these lines in your latex document:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">\documentclass<span style="color: #7a0874; font-weight: bold;">&#91;</span>leqno<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>article<span style="color: #7a0874; font-weight: bold;">&#125;</span>
\usepackage<span style="color: #7a0874; font-weight: bold;">&#123;</span>amsmath<span style="color: #7a0874; font-weight: bold;">&#125;</span> 
\usepackage<span style="color: #7a0874; font-weight: bold;">&#123;</span>amsfonts<span style="color: #7a0874; font-weight: bold;">&#125;</span>
\usepackage<span style="color: #7a0874; font-weight: bold;">&#123;</span>setspace<span style="color: #7a0874; font-weight: bold;">&#125;</span>
\usepackage<span style="color: #7a0874; font-weight: bold;">&#123;</span>verbatim<span style="color: #7a0874; font-weight: bold;">&#125;</span>
\usepackage<span style="color: #7a0874; font-weight: bold;">&#91;</span>cmbase<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>flexisym<span style="color: #7a0874; font-weight: bold;">&#125;</span>
\usepackage<span style="color: #7a0874; font-weight: bold;">&#123;</span>breqn<span style="color: #7a0874; font-weight: bold;">&#125;</span>
\setkeys<span style="color: #7a0874; font-weight: bold;">&#123;</span>breqn<span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>compact<span style="color: #7a0874; font-weight: bold;">&#125;</span>
\setlength<span style="color: #7a0874; font-weight: bold;">&#123;</span>\textheight<span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>200cm<span style="color: #7a0874; font-weight: bold;">&#125;</span>
<span style="color: #000000; font-weight: bold;">%%%%%%%%%%</span> IMAXIMA  <span style="color: #000000; font-weight: bold;">%%%%%%%%</span>
\setlength<span style="color: #7a0874; font-weight: bold;">&#123;</span>\textwidth<span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>180mm<span style="color: #7a0874; font-weight: bold;">&#125;</span>
\setlength<span style="color: #7a0874; font-weight: bold;">&#123;</span>\oddsidemargin<span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>15mm<span style="color: #7a0874; font-weight: bold;">&#125;</span>
\addtolength<span style="color: #7a0874; font-weight: bold;">&#123;</span>\oddsidemargin<span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>-1in<span style="color: #7a0874; font-weight: bold;">&#125;</span>
\setlength<span style="color: #7a0874; font-weight: bold;">&#123;</span>\evensidemargin<span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>15mm<span style="color: #7a0874; font-weight: bold;">&#125;</span>
\addtolength<span style="color: #7a0874; font-weight: bold;">&#123;</span>\evensidemargin<span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>-1in<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
\newcommand<span style="color: #7a0874; font-weight: bold;">&#123;</span>\ifrac<span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>\frac<span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #666666; font-style: italic;">#1}{#2}}</span>
\newcommand<span style="color: #7a0874; font-weight: bold;">&#123;</span>\ifracd<span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>\frac<span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #666666; font-style: italic;">#1}{#2}}</span>
\newcommand<span style="color: #7a0874; font-weight: bold;">&#123;</span>\ifracn<span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>\frac<span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #666666; font-style: italic;">#1}{#2}}</span>
\newcommand<span style="color: #7a0874; font-weight: bold;">&#123;</span>\isubscript<span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #666666; font-style: italic;">#1}_{#2}}</span>
\newcommand<span style="color: #7a0874; font-weight: bold;">&#123;</span>\iexpt<span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">2</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #666666; font-style: italic;">#1}^{#2}}</span>
\newcommand<span style="color: #7a0874; font-weight: bold;">&#123;</span>\isqrt<span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>\sqrt<span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #666666; font-style: italic;">#1}}</span>
\begin<span style="color: #7a0874; font-weight: bold;">&#123;</span>document<span style="color: #7a0874; font-weight: bold;">&#125;</span>
....
\end<span style="color: #7a0874; font-weight: bold;">&#123;</span>document<span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></div></div>

<p>Note that, imaxima might use an old style latex code (like \pmatrix instead of \begin{pmatrix}) but these you can replace easily, once you get the tex code from maxima with tex() call.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aliov.org/99/maxima-computer-algebra-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xfce Power Manager to core</title>
		<link>http://www.aliov.org/95/xfce-power-manager-to-core/</link>
		<comments>http://www.aliov.org/95/xfce-power-manager-to-core/#comments</comments>
		<pubDate>Sun, 20 Feb 2011 15:09:53 +0000</pubDate>
		<dc:creator>ali</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Xfce]]></category>

		<guid isPermaLink="false">http://www.aliov.org/?p=95</guid>
		<description><![CDATA[Xfce&#8217;s session and Xfce power manager both use power operations, there is a lot of upower/consolekit/polkit duplicated code in these tow packages, after a discussion on xfce&#8217;s mailing list about the future 4.10 release plan, we came to the point that xfce power manager should provide a dbus session service that can be used to [...]]]></description>
			<content:encoded><![CDATA[<p>Xfce&#8217;s session and Xfce power manager both use power operations, there is a lot of upower/consolekit/polkit duplicated code in these tow packages, after a discussion on xfce&#8217;s mailing list about the future 4.10 release plan, we came to the point that xfce power manager should provide a dbus session service that can be used to do power operations, this service will be used by xfce&#8217;s session without having to write the same code in two places, this means that xfce power manager will no longer be an addon package of Xfce, it&#8217;ll be a part of the core distribution starting from the Xfce 4.10 release, see the 4.10 <a href="http://wiki.xfce.org/releng/4.10/roadmap" target="_blank">roadmap </a>for more details.</p>
<p>One benefit from this change is having a Xfce wide configuration of power operations, since the xfce power manager dbus service will be the common place for power configurations.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aliov.org/95/xfce-power-manager-to-core/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Parole, the new version</title>
		<link>http://www.aliov.org/41/parole-the-new-version/</link>
		<comments>http://www.aliov.org/41/parole-the-new-version/#comments</comments>
		<pubDate>Sat, 05 Feb 2011 16:12:46 +0000</pubDate>
		<dc:creator>ali</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Xfce]]></category>

		<guid isPermaLink="false">http://www.aliov.org/?p=41</guid>
		<description><![CDATA[I&#8217;ve been working on a completely new version of Parole, this is the new interface of the player]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on a completely new version of <a title="http://goodies.xfce.org/projects/applications/parole" rel="nofollow" href="http://goodies.xfce.org/projects/applications/parole">Parole</a>, this is the new interface of the player</p>
<p style="text-align: center;"><a href="http://www.aliov.org/wp-content/uploads/2011/02/parole-0.2.2-alpha.png"><img class="aligncenter size-full wp-image-42" title="parole-0.2.2-alpha" src="http://www.aliov.org/wp-content/uploads/2011/02/parole-0.2.2-alpha.png" alt="" width="750" height="350" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.aliov.org/41/parole-the-new-version/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The IP you&#8217;re using to send mail is not authorized to 550-5.7.1 send email directly to our servers.</title>
		<link>http://www.aliov.org/35/the-ip-youre-using-to-send-mail-is-not-authorized-to-550-5-7-1-send-email-directly-to-our-servers/</link>
		<comments>http://www.aliov.org/35/the-ip-youre-using-to-send-mail-is-not-authorized-to-550-5-7-1-send-email-directly-to-our-servers/#comments</comments>
		<pubDate>Sun, 12 Dec 2010 16:06:11 +0000</pubDate>
		<dc:creator>ali</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server administration]]></category>

		<guid isPermaLink="false">http://www.aliov.org/?p=35</guid>
		<description><![CDATA[Recently i started having problem with my own hosted mails, i&#8217;m no longer able to send mails directly from my server, checking postfix mail.log when sending mails to gmail revels this error The IP you&#8217;re using to send mail is not authorized to 550-5.7.1 send email directly to our servers. Please use the SMTP relay [...]]]></description>
			<content:encoded><![CDATA[<p>Recently i started having problem with my own hosted mails, i&#8217;m no  longer able to send mails directly from my server, checking postfix  mail.log when sending mails to gmail revels this error</p>
<p><span style="text-decoration: underline;"><strong><br />
The IP you&#8217;re using to send mail is not authorized to 550-5.7.1 send email directly to our servers. Please use the SMTP relay at your 550-5.7.1 service provider instead.</strong></span></p>
<p>As usual, googling this error will shows a lot of useless results and  forums posts with people asking the guy having the problem, <strong>Do you have reverse dns set ?</strong> <strong>Check your spf record</strong>, etc…</p>
<p>Reverse dns can only be set for static ip addresses, which is my case,  any mail server running with a dynamic ip addresses has to relay its  mails to another smtp server, because the mails will go to the spam, so  people that with dynamic ip addresses should not ask why the mails are  not passing.</p>
<p>For the spf record is nothing to do with the problem, so having a static  ip with reverse dns with correct spf it is hard to find the solution  out of all these useless forums posts.</p>
<p>The problem is just that <a title="http://www.spamhaus.org/" rel="nofollow" href="http://www.spamhaus.org/">spamhaus</a> blacklisted your ip for some reason, it can be because they blacklisted  a list of ip addresses that they are not typical for servers, or maybe  your server is misconfigured and have been used as a spam source, you  can check in their site to see what is the problem, and you can proceed  for a request to remove your ip addresses from the blacklist, it is  recommended to do that only if you really need, in my case i do need  since i host a group ware that uses mails to notify users, once you do  the removal request (they ask you to have a mail addresse hosted at your  own, ie user@yourserver, so you should have a correct mail server), the  removal takes about 30 minutes and you&#8217;ll be able to send mails again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aliov.org/35/the-ip-youre-using-to-send-mail-is-not-authorized-to-550-5-7-1-send-email-directly-to-our-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xfce Power Manager 1.0.0</title>
		<link>http://www.aliov.org/30/xfce-power-manager-1-0-0/</link>
		<comments>http://www.aliov.org/30/xfce-power-manager-1-0-0/#comments</comments>
		<pubDate>Sat, 21 Aug 2010 16:03:01 +0000</pubDate>
		<dc:creator>ali</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Xfce]]></category>

		<guid isPermaLink="false">http://www.aliov.org/?p=30</guid>
		<description><![CDATA[fce Power manager version 1.0.0 have been released, this version is based completely on upower, means that batteries information are read from upower daemon, upower is also used for hibernate/suspend operations, polkit is an optional requirement for the new version, since it helps the power manager to figure out if the user is authorized to [...]]]></description>
			<content:encoded><![CDATA[<p>fce Power manager version 1.0.0 have been released, this version is  based completely on upower, means that batteries information are read  from upower daemon, upower is also used for hibernate/suspend  operations, polkit is an optional requirement for the new version, since  it helps the power manager to figure out if the user is authorized to  do some actions, if you are not able to use suspend/hibernate and you  are sure that your laptop can do suspend/hibernate, then you need to  check your polkit authorizations, usually the setup are done by you  distribution provider, but if you are compiling from source then see <strong>man pklocalauthority</strong> for more details, but as a quick howto get authorizations you need to  create authorization files in  /var/lib/polkit-1/localauthority/50-local.d</p>
<p>for example, <strong>org.freedesktop.upower.pkla</strong> will contains</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>Local Users<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #007800;">Identity</span>=unix-user:YOUR_USER_NAME
<span style="color: #007800;">Action</span>=org.freedesktop.upower.<span style="color: #000000; font-weight: bold;">*</span>
<span style="color: #007800;">ResultAny</span>=<span style="color: #c20cb9; font-weight: bold;">yes</span>
<span style="color: #007800;">ResultInactive</span>=no
<span style="color: #007800;">ResultActive</span>=<span style="color: #c20cb9; font-weight: bold;">yes</span></pre></div></div>

<p>Create as well another file for consolekit (used for shutdown) <strong>Action</strong> org.freedesktop.consolekit.* and for udisks (used for spinning down the hard drive when on battery power) with <strong>Action</strong> org.freedesktop.udisks.*</p>
<p>With the new version xrandr is the backend used to handle display  brightness, but HAL support can be enabled at compile time to be used as  a fallback in case xrandr fails to handle the backlight panel (which is  the case for losts graphic cards, unfortunately <img src='http://www.aliov.org/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.aliov.org/30/xfce-power-manager-1-0-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>_NET_WM_WINDOW_OPACITY_LOCKED hint.</title>
		<link>http://www.aliov.org/21/_net_wm_window_opacity_locked-hint/</link>
		<comments>http://www.aliov.org/21/_net_wm_window_opacity_locked-hint/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 15:59:18 +0000</pubDate>
		<dc:creator>ali</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Xfce]]></category>

		<guid isPermaLink="false">http://www.aliov.org/?p=21</guid>
		<description><![CDATA[Almost all modern window managers have compositing capabilities, this is nice, but in the other hand it is very annoying for softwares like image viewers or media players… The _NET_WM_WINDOW_OPACITY_LOCKED hint tells the window manager that the opacity is locked on a specific window, so the window manager would use this hint to keep the [...]]]></description>
			<content:encoded><![CDATA[<p>Almost all modern window managers have <a title="http://en.wikipedia.org/wiki/Compositing_window_manager" rel="nofollow" href="http://en.wikipedia.org/wiki/Compositing_window_manager">compositing capabilities</a>, this is nice, but in the other hand it is very annoying for softwares like image viewers or media players…</p>
<p>The _NET_WM_WINDOW_OPACITY_LOCKED hint tells the window manager that the  opacity is locked on a specific window, so the window manager would use  this hint to keep the window opaque, unfortunately this hint is not  standardized yet, but the <a title="http://www.xfce.org/projects/xfwm4/" rel="nofollow" href="http://www.xfce.org/projects/xfwm4/">Xfce&#8217;s window manager</a> supports it, so here is how to set this hint on a top level widget, the widget has to be realized of course.</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #993333;">static</span> <span style="color: #993333;">void</span>
set_wm_window_opacity_locked <span style="color: #009900;">&#40;</span>GtkWidget <span style="color: #339933;">*</span>widget<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    Display <span style="color: #339933;">*</span>xdisplay<span style="color: #339933;">;</span>
    GdkScreen <span style="color: #339933;">*</span>gdkscreen<span style="color: #339933;">;</span>
    GdkDisplay <span style="color: #339933;">*</span>gdkdisplay<span style="color: #339933;">;</span>
    GdkWindow <span style="color: #339933;">*</span>gdkwindow<span style="color: #339933;">;</span>
&nbsp;
    Atom atom<span style="color: #339933;">;</span>
    <span style="color: #993333;">char</span> mode <span style="color: #339933;">=</span> <span style="color: #0000dd;">1</span><span style="color: #339933;">;</span>
&nbsp;
    gdkscreen <span style="color: #339933;">=</span> gtk_widget_get_screen <span style="color: #009900;">&#40;</span>widget<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    gdkdisplay <span style="color: #339933;">=</span> gdk_screen_get_display <span style="color: #009900;">&#40;</span>gdkscreen<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    xdisplay <span style="color: #339933;">=</span> GDK_DISPLAY_XDISPLAY <span style="color: #009900;">&#40;</span>gdkdisplay<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    atom <span style="color: #339933;">=</span> XInternAtom <span style="color: #009900;">&#40;</span>xdisplay<span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;_NET_WM_WINDOW_OPACITY_LOCKED&quot;</span><span style="color: #339933;">,</span> TRUE<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #808080; font-style: italic;">/*Check if the atom is valid */</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> atom <span style="color: #339933;">==</span> None <span style="color: #009900;">&#41;</span>
        <span style="color: #b1b100;">return</span><span style="color: #339933;">;</span>
&nbsp;
    gdkwindow <span style="color: #339933;">=</span> gtk_widget_get_window <span style="color: #009900;">&#40;</span>widget<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    XChangeProperty <span style="color: #009900;">&#40;</span>xdisplay<span style="color: #339933;">,</span> GDK_WINDOW_XID <span style="color: #009900;">&#40;</span>gdkwindow<span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
                     atom<span style="color: #339933;">,</span> XA_CARDINAL<span style="color: #339933;">,</span>
                     <span style="color: #0000dd;">32</span><span style="color: #339933;">,</span> PropModeAppend<span style="color: #339933;">,</span>
                     <span style="color: #009900;">&#40;</span>guchar <span style="color: #339933;">*</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;</span>mode<span style="color: #339933;">,</span> 
                     <span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Or even simpler</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #993333;">static</span> <span style="color: #993333;">void</span>
set_wm_window_opacity_locked <span style="color: #009900;">&#40;</span>GtkWidget <span style="color: #339933;">*</span>widget<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    GdkWindow <span style="color: #339933;">*</span>gdkwindow<span style="color: #339933;">;</span>
    GdkAtom atom<span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #993333;">char</span> mode <span style="color: #339933;">=</span> <span style="color: #0000dd;">1</span><span style="color: #339933;">;</span>
&nbsp;
    atom <span style="color: #339933;">=</span> gdk_atom_intern <span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;_NET_WM_WINDOW_OPACITY_LOCKED&quot;</span><span style="color: #339933;">,</span> TRUE<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
     <span style="color: #808080; font-style: italic;">/*Check if the atom is valid */</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> atom <span style="color: #339933;">==</span> None <span style="color: #009900;">&#41;</span>
        <span style="color: #b1b100;">return</span><span style="color: #339933;">;</span>
&nbsp;
    gdkwindow <span style="color: #339933;">=</span> gtk_widget_get_window <span style="color: #009900;">&#40;</span>widget<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    gdk_property_change <span style="color: #009900;">&#40;</span>gdkwindow<span style="color: #339933;">,</span>
                         atom<span style="color: #339933;">,</span>
                         gdk_x11_xatom_to_atom <span style="color: #009900;">&#40;</span>XA_CARDINAL<span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
                         <span style="color: #0000dd;">32</span><span style="color: #339933;">,</span>
                         GDK_PROP_MODE_APPEND<span style="color: #339933;">,</span>
                         <span style="color: #009900;">&#40;</span>guchar <span style="color: #339933;">*</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">&amp;</span>mode<span style="color: #339933;">,</span>
                         <span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.aliov.org/21/_net_wm_window_opacity_locked-hint/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

