<?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>blog ntic de revolunet &#187; admin</title>
	<atom:link href="http://blog.revolunet.com/index.php/conseil.intranet/reseau/administration/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.revolunet.com</link>
	<description>Blog des Nouvelles Technologies de l'Information et de la Communication</description>
	<lastBuildDate>Tue, 22 Jun 2010 07:59:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Getting SuExec and TRAC to play nice</title>
		<link>http://blog.revolunet.com/index.php/reseau/administration/getting-suexec-and-trac-to-play-nice</link>
		<comments>http://blog.revolunet.com/index.php/reseau/administration/getting-suexec-and-trac-to-play-nice#comments</comments>
		<pubDate>Tue, 12 Feb 2008 00:31:35 +0000</pubDate>
		<dc:creator>drax</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[trac]]></category>

		<guid isPermaLink="false">http://sweon.net/2008/02/getting-suexec-and-trac-to-play-nice</guid>
		<description><![CDATA[
EnvironmentError: The environment options "TRAC_ENV" or "TRAC_ENV_PARENT_DIR"
or the mod_python options "TracEnv" or "TracEnvParentDir" are missing.
Yuck. What&#8217;s more, if you&#8217;re using SuExec (like I am) then your Apache directives are ignored.

Solution: Edit your trac.fcgi and prepend the following code.

# hack for SuExec
import os;
os.environ['TRAC_ENV_PARENT_DIR'] = '/var/lib/trac'

]]></description>
			<content:encoded><![CDATA[<pre>
EnvironmentError: The environment options "TRAC_ENV" or "TRAC_ENV_PARENT_DIR"
or the mod_python options "TracEnv" or "TracEnvParentDir" are missing.</pre>
<p>Yuck. What&#8217;s more, if you&#8217;re using SuExec (like I am) then your Apache directives are ignored.</p>
<p>
Solution: Edit your trac.fcgi and prepend the following code.</p>
<pre language="perl" line="1">
# hack for SuExec
import os;
os.environ['TRAC_ENV_PARENT_DIR'] = '/var/lib/trac'
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.revolunet.com/index.php/reseau/administration/getting-suexec-and-trac-to-play-nice/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>vmsplice exploit fix and patching on Debian</title>
		<link>http://blog.revolunet.com/index.php/reseau/administration/vmsplice-exploit-fix-and-patching-on-debian</link>
		<comments>http://blog.revolunet.com/index.php/reseau/administration/vmsplice-exploit-fix-and-patching-on-debian#comments</comments>
		<pubDate>Mon, 11 Feb 2008 18:00:06 +0000</pubDate>
		<dc:creator>drax</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[exploitation]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[debian]]></category>

		<guid isPermaLink="false">http://sweon.net/2008/02/vmsplice-exploit-fix-and-patching-on-debian</guid>
		<description><![CDATA[Some vulnerabilities in the Linux kernel where publicly disclosed on the 8th of February 2008. These can be exploited by any user to gain elevated privileges. A &#8220;local root&#8221; exploit was published Sunday which allows an arbitrary user to escalate to root privileges.
Affected versions: >= 2.6.17
Fixed in version: 2.6.24.2

Fix
You can download the vmsplice patch locally [...]]]></description>
			<content:encoded><![CDATA[<p>Some vulnerabilities in the Linux kernel where publicly disclosed on the 8th of February 2008. These can be exploited by any user to gain elevated privileges. A &#8220;local root&#8221; exploit was published Sunday which allows an arbitrary user to escalate to root privileges.</p>
<p>Affected versions: >= 2.6.17<br />
Fixed in version: 2.6.24.2<br />
<span id="more-320"></span></p>
<h3>Fix</h3>
<p>You can download the <a href='/wp-content/uploads/2008/02/vmsplice.patch' title='vmsplice.patch'>vmsplice patch</a> locally or from the official LKML thread: <a href="http://lkml.org/lkml/2008/2/11/25">[PATCH] vmsplice exploit fix</a></p>
<h3>Patching on Debian Etch</h3>
<p><span class="pupdate" style="color: red"><strong>Update 12/02/08: </strong></span>Debian repositories have been updated and contain patched kernels. If you&#8217;re using a stock kernel, the following two commands should sort you out (providing you reboot afterwards).</p>
<pre line="1" lang="bash">
aptitude update
aptitude upgrade
</pre>
<h4>Install kernel sources</h4>
<pre line="1" lang="bash">
export KVER=`uname -r`
aptitude update
aptitude install linux-source-${KVER}
cd /usr/src
tar -xjf linux-source-${KVER}.tar.bz2
ln -s linux-source-${KVER} linux
cd linux
</pre>
<h4>Patch kernel sources</h4>
<pre line="1" lang="bash">
patch < vmsplice.patch -p1
</pre>
<h4>Compile kernel and install</h4>
<p>You'll want to copy your existing kernel configuration.</p>
<pre line="1" lang="bash">
cp /boot/config-${KVER} .config
make-kpkg clean
make-kpkg --initrd --append-to-version=-mykernelname kernel_image
cd ..
dpkg -i linux-image-${KVER}-mykernelname_${KVER}-mykernelname-10.00.Custom_i386.deb
reboot
</pre>
<h4>References</h4>
<ul>
<li><a href="http://www.isec.pl/vulnerabilities/isec-0026-vmsplice_to_kernel.txt">http://www.isec.pl/vulnerabilities/isec-0026-vmsplice_to_kernel.txt</a>
<li><a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=465246">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=465246</a>
<li><a href="http://milw0rm.com/exploits/5092">http://milw0rm.com/exploits/5092</a>
<li><a href="http://milw0rm.com/exploits/5093">http://milw0rm.com/exploits/5093</a>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.revolunet.com/index.php/reseau/administration/vmsplice-exploit-fix-and-patching-on-debian/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Encrypted filesystem on OS X, Linux and Windows</title>
		<link>http://blog.revolunet.com/index.php/reseau/administration/encrypted-filesystem-on-os-x-linux-and-windows</link>
		<comments>http://blog.revolunet.com/index.php/reseau/administration/encrypted-filesystem-on-os-x-linux-and-windows#comments</comments>
		<pubDate>Sat, 02 Feb 2008 18:08:56 +0000</pubDate>
		<dc:creator>drax</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[truecrypt]]></category>

		<guid isPermaLink="false">http://sweon.net/2008/02/encrypted-filesystem-on-os-x-linux-and-windows</guid>
		<description><![CDATA[


Finally we have a truly portable, open source, encrypted filesystem. I&#8217;ve tested a fair share of encrypted filesystem solutions. The most promising probably being encfs since it could be used with Fuse, but that only works on OS X and Linux at best.

TrueCrypt, probably the best solution available, was only working on Linux and Windows&#8230; [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://sweon.net/wp-content/uploads/2008/02/truecrypt_windows.png' title='truecrypt_windows.png'><img src='http://blog.revolunet.com/wp-content/uploads/2008/02/truecrypt_windows.png' alt='truecrypt_windows.png' /></a><br />
<a href='http://sweon.net/wp-content/uploads/2008/02/truecrypt_osx.png' title='truecrypt_osx.png'><img rel=”lightbox” src='http://blog.revolunet.com/wp-content/uploads/2008/02/truecrypt_osx.png' alt='truecrypt_osx.png' /></a><br />
<a href='http://sweon.net/wp-content/uploads/2008/02/truecrypt_linux.png' title='truecrypt_linux.png'><img src='http://blog.revolunet.com/wp-content/uploads/2008/02/truecrypt_linux.png' alt='truecrypt_linux.png' /></a><br />
Finally we have a truly portable, open source, encrypted filesystem. I&#8217;ve tested a fair share of encrypted filesystem solutions. The most promising probably being encfs since it could be used with Fuse, but that only works on OS X and Linux at best.</p>
<p>
TrueCrypt, probably the best solution available, was only working on Linux and Windows&#8230; up to now.<br />
<span id="more-319"></span><br />
Some dude got impatient for the OS X port, managed to make a deal with a developper to code it for 1500$, raised those 1500$ and BAM! Bob&#8217;s you&#8217;re uncle.</p>
<p>
The software is labelled alpha, described as beta, and used in production&#8230; w00t. Jokes aside, it&#8217;s been released for a few weeks now and no serious data-destroying bug stories have arose. Nevertheless, you might want to backup to another more trusted encrypted disk somewhere, every now and then.</p>
<p>
Bare in mind the TrueCrypt team annouce their 5.0 release for the 4th of Febuary 2008 (that&#8217;s in 2 days) and claim OS X support. Watch this space&#8230;</p>
<p>
Still interested? Download the software here:</p>
<ul>
<li><a href="http://www.osxcrypt.org/download/">TrueCrypt for OS X</a></li>
<li><a href="http://www.truecrypt.org/downloads.php">TrueCrypt for Linux and Windows</a></li>
</ul>
<p><span style="color:red">OS X notes:</span></p>
<ul>
<li>Your encrypted filesystem image should have a .img extension.</li>
<li>When mounting a hidden volume, you&#8217;ll be asked the outer volume password, then the hidden volume password.</li>
<li>Unmounting in finder <b>does not</b> dismount the image. It&#8217;s a known bug. Use ocutil -detach.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.revolunet.com/index.php/reseau/administration/encrypted-filesystem-on-os-x-linux-and-windows/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Keyboard shortcuts during OS X boot sequence</title>
		<link>http://blog.revolunet.com/index.php/reseau/administration/startup-key-combinations-for-intel-based-macs</link>
		<comments>http://blog.revolunet.com/index.php/reseau/administration/startup-key-combinations-for-intel-based-macs#comments</comments>
		<pubDate>Wed, 30 Jan 2008 11:46:59 +0000</pubDate>
		<dc:creator>drax</dc:creator>
				<category><![CDATA[admin]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://sweon.net/2008/01/startup-key-combinations-for-intel-based-macs</guid>
		<description><![CDATA[Here is a list of keyboard shortcuts or hotkeys available during the boot sequence of OS X on Intel based macs although some shortcuts also work on PPC.Shamelessly ripped off apple&#8217;s documentation article:Startup key combinations for Intel-based Macs.


Keystroke
Description


Press C during startup
Start up from a bootable CD or DVD, such as the Mac OS X Install [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a list of keyboard shortcuts or hotkeys available during the boot sequence of OS X on Intel based macs although some shortcuts also work on PPC.<br/>Shamelessly ripped off apple&#8217;s documentation article:<br/><a href="http://docs.info.apple.com/article.html?artnum=303124">Startup key combinations for Intel-based Macs</a>.<br />
<table class="sweontbl"width="498" border="0" cellpadding="0" cellspacing="0">
<tr>
<th>Keystroke</th>
<th>Description</th>
</tr>
<tr id="odd">
<td>Press C during startup</td>
<td>Start up from a bootable CD or DVD, such as the Mac OS X Install disc that came with the computer. </td>
</tr>
<tr id="even">
<td>Press D during startup</td>
<td>Start up in Apple Hardware Test (AHT), if the Install DVD 1 is in the computer. </td>
</tr>
<tr id="odd">
<td>Press Option-Command-P-R until you hear two beeps. </td>
<td>Reset NVRAM </td>
</tr>
<tr id="even">
<td>Press Option during startup </td>
<td>Starts into Startup Manager, where you can select a Mac OS X volume to start from. <b>Note</b>: Press N to make the the first bootable Network volume appear as well. </td>
</tr>
<tr id="odd">
<td>Press Eject, F12, or hold the mouse (/trackpad) button </td>
<td>Ejects any removable media, such as an optical disc. </td>
</tr>
<tr id="even">
<td>Press N during startup</td>
<td>Attempt to start up from a compatible network server (NetBoot).</td>
</tr>
<tr id="odd">
<td>Press T during startup</td>
<td>Start up in FireWire Target Disk mode.</td>
</tr>
<tr id="even">
<td>Press Shift during startup</td>
<td>Start up in Safe Boot mode and temporarily disable login items. </td>
</tr>
<tr id="odd">
<td>Press Command-V during startup</td>
<td>Start up in Verbose mode.</td>
</tr>
<tr id="even">
<td>Press Command-S during startup</td>
<td>Start up in Single-User mode.</td>
</tr>
<tr id="odd">
<td>Press Option-N during startup </td>
<td>Start from a NetBoot server using the default boot image. </td>
</tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://blog.revolunet.com/index.php/reseau/administration/startup-key-combinations-for-intel-based-macs/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hosting multiple SSL vhosts on a single IP/Port/Certificate with Apache2</title>
		<link>http://blog.revolunet.com/index.php/reseau/administration/hosting-multiple-ssl-vhosts-on-a-single-ipportcertificate-with-apache2</link>
		<comments>http://blog.revolunet.com/index.php/reseau/administration/hosting-multiple-ssl-vhosts-on-a-single-ipportcertificate-with-apache2#comments</comments>
		<pubDate>Thu, 24 Jan 2008 13:07:54 +0000</pubDate>
		<dc:creator>drax</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[vhosts]]></category>

		<guid isPermaLink="false">http://sweon.net/2008/01/hosting-multiple-ssl-vhosts-on-a-single-ipportcertificate-with-apache2</guid>
		<description><![CDATA[But that&#8217;s impossible!!
HTTPS is just HTTP encapsulated inside an SSL tunnel. Apache&#8217;s virtual hosts are a clever &#8220;hack&#8221; whereby the Host header in the HTTP packet is verified. This alllows a single apache instance on a single IP/Port combination to serve a (not so) infinite number of differentes sites (aka vhosts).
Problem: The SSL tunnel is [...]]]></description>
			<content:encoded><![CDATA[<h3>But that&#8217;s impossible!!</h3>
<p>HTTPS is just HTTP encapsulated inside an SSL tunnel. Apache&#8217;s virtual hosts are a clever &#8220;hack&#8221; whereby the Host header in the HTTP packet is verified. This alllows a single apache instance on a single IP/Port combination to serve a (not so) infinite number of differentes sites (aka vhosts).</p>
<p>Problem: The SSL tunnel is created <span style="font-weight: bold" class="Apple-style-span">before</span> the first HTTP packet gets sent. Apache needs an SSL certificate but doesn&#8217;t have a Host header to match, hence cannot choose a virtual host.</p>
<h3>Solution</h3>
<p>This trick essentially does the matching of the Host header <span class="Apple-style-span" style="font-weight: bold">after</span> the SSL connection has been established. How? Via some mod_rewrite magic!<br />
<h3>Caveats</h3>
<p>Although I said so, it&#8217;s not really that magical. There are a few things this trick does not solve.
<ul>
<li>The SSL certificate used will be common to all SSL vhosts.</li>
<li>Certain Apache directives may be common to all SSL vhosts (example: SuExecUserGroup). Basically anything you can&#8217;t override in a .htaccess file will be shared amongst vhosts.</li>
</ul>
<p><span id="more-316"></span></p>
<h3>The trick</h3>
<p>The process is only 2 steps and involves modifying your Apache configuration. I assume you have a working SSL vhost configured.</p>
<ol>
<li>Create virtual hosts &#8220;map file&#8221;.</li>
<li>Modify existing SSL vhost.</li>
</ol>
<h4>1. The virtual hosts map file</h4>
<p>Create a new file in your Apache server root. Example:<span class="path">/etc/apache2/ssl.map</span><br/><br />
Write a list of virtual hosts and their respective <tt>DocumentRoot</tt>. Example:</p>
<pre>
foo.example.com        /var/www/foo.example.com/
bar.example.com        /var/www/bar.example.com/
# you can even put comments!
# Alias to bar
boar.example.com        /var/www/bar.example.com/
</pre>
<p/>
<h4>2. Edit your SSL vhost</h4>
<p>Open your Apache config, inside the &lt;VirtualHost&gt; section of your SSL vhost, include the following code or include this file: <a href='http://blog.revolunet.com/wp-content/uploads/2008/01/mass_ssl_vhosts.conf' title='Mass SSL vhosts'>Mass SSL vhosts Apache config</a>.</p>
<p>
<span class="Apple-style-span" style="font-weight: bold;color:red;">Important:</span> Make sure to edit line 8 to include the correct path to your <tt>ssl.map</tt> file.</p>
<pre line="1" lang="perl">### Mass SSL Vhosts ###
RewriteEngine on

#   define two maps: one for fixing the URL and one which defines
#   the available virtual hosts with their corresponding
#   DocumentRoot.
RewriteMap    lowercase    int:tolower
RewriteMap    vhost        txt:/etc/apache2/ssl.map

#   1. make sure we don't map for common locations
RewriteCond   %{REQUEST_URI}  !^/cgi-bin/.*
RewriteCond   %{REQUEST_URI}  !^/icons/.*

#   2. make sure we have a Host header
RewriteCond   %{HTTP_HOST}  !^$

#   3. lowercase the hostname
RewriteCond   ${lowercase:%{HTTP_HOST}|NONE}  ^(.+)$
#
#   4. lookup this hostname in vhost.map and
#      remember it only when it is a path
#      (and not "NONE" from above)
RewriteCond   ${vhost:%1}  ^(/.*)$

#   5. finally we can map the URL to its docroot location
#      and remember the virtual host for logging puposes
RewriteRule   ^/(.*)$   %1/$1  [E=VHOST:${lowercase:%{HTTP_HOST}}]</pre>
<p>Restart Apache and you&#8217;re done. You should be able to browse (in https) the vhosts you added to your <tt>ssl.map</tt> file.<br/><br />
<b>Grandma says: </b>You don&#8217;t need to reload Apache when you edit your map file. Just create the document root folder on the filesystem, add a new entry to your map and you&#8217;re good to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.revolunet.com/index.php/reseau/administration/hosting-multiple-ssl-vhosts-on-a-single-ipportcertificate-with-apache2/feed</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>associer un protocole a un script sous windows</title>
		<link>http://blog.revolunet.com/index.php/general/associer-un-protocole-a-un-script-sous-windows</link>
		<comments>http://blog.revolunet.com/index.php/general/associer-un-protocole-a-un-script-sous-windows#comments</comments>
		<pubDate>Mon, 26 Feb 2007 18:47:58 +0000</pubDate>
		<dc:creator>Juju</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[developpement]]></category>
		<category><![CDATA[geek style]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.revolunet.com/index.php/general/associer-un-protocole-a-un-script-sous-windows</guid>
		<description><![CDATA[Dans une page web, il peut etre assez pratique d&#8217;associer un script ou un programme externe quand on clique sur un lien avec un protocole spécifique. Par exemple un lien href avec comme valeur callto:0102030405 pourrait me permettre d&#8217;executer le dialer de windows en lui demandant de composer un numéro. C&#8217;est très pratique en intranet [...]]]></description>
			<content:encoded><![CDATA[<p>Dans une page web, il peut etre assez pratique d&#8217;associer un script ou un programme externe quand on clique sur un lien avec un protocole spécifique. Par exemple un lien href avec comme valeur callto:0102030405 pourrait me permettre d&#8217;executer le dialer de windows en lui demandant de composer un numéro. C&#8217;est très pratique en intranet par exemple.</p>
<div class="codesnip-container" >&lt;a href=&#8221;callto:00102030405&#8243; mce_href=&#8221;callto:00102030405&#8243;&gt;appeller le 01 02 03 04 05&lt;/a&gt;</div>
<p>(Notez que dans le href il y a un zéro de plus en prefixe qui me permettra de composer un numéro externe)</p>
<p>Il nous suffit pour cela d&#8217;ajouter au registre une petite clé, qui associera le nom de notre &#8216;protocole&#8217; à un programme (faites un fichier .reg puis executez le)</p>
<div class="codesnip-container" >Windows Registry Editor Version 5.00<br />
[HKEY_CLASSES_ROOTcallto]<br />
@=&#8221;tst protocol handler&#8221;<br />
&#8220;URL Protocol&#8221;=&#8221;"<br />
[HKEY_CLASSES_ROOTcalltoshell]<br />
[HKEY_CLASSES_ROOTcalltoshellopen]<br />
[HKEY_CLASSES_ROOTcalltoshellopencommand]<br />
@=&#8221;C:\WINDOWS\system32\wscript.exe &#8220;C:\dial.vbs&#8221; &#8220;%1&#8243;&#8221;</div>
<p>dial.vbs est un petit script qui permet de parser les arguments (ici le numéro) et de les envoyez à dial.exe, petit utilitaire permettant de composer un numéro envoyé en premier paramètre, technique inspirée de <a href="http://www.sugarcrm.com/forums/printthread.php?t=13080" target="_blank">ce post sur le forum de SugarCRM</a>.</p>
<p>Vous pouvez tout autant passer la main à un script Python ou autre qui fera ce que vous lui avez appris a faire avec les arguments. Attention toutefois, le programme sera éxécuté avec les droits de l&#8217;utilisateur actuel donc surement pas admin en entreprise&#8230;</p>
<p>Et voila, des qu&#8217;un utilisateur clique sur un lien callto, le numéro est composé sur le modem. Branchez donc l&#8217;entrée modem de votre telephone a votre PC et c&#8217;est parti pour une numérotation automatisée depuis votre page web !</p>
<p>Skype a son callto:0102030405, Wengo son wengo:usernick et maintenant nous avons aussi nos propres handlers&#8230; Enjoy <img src='http://blog.revolunet.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.revolunet.com/index.php/general/associer-un-protocole-a-un-script-sous-windows/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Squirrelmail lent ?</title>
		<link>http://blog.revolunet.com/index.php/general/squirrelmail-lent</link>
		<comments>http://blog.revolunet.com/index.php/general/squirrelmail-lent#comments</comments>
		<pubDate>Mon, 04 Dec 2006 01:43:41 +0000</pubDate>
		<dc:creator>Juju</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[admin]]></category>

		<guid isPermaLink="false">http://blog.revolunet.com/index.php/general/squirrelmail-lent</guid>
		<description><![CDATA[Si vous trouvez que votre Squirrelmail devient lent avec le temps, verifiez ces 3 paramètres (vers la l.70) dans votre fichier /etc/squirrelmail/config.php. Cela vous permettra de grandement accélerer l&#8217;affichage.
$edit_identity=true;
$allow_thread_sort=true;
$allow_server_sort=true;
]]></description>
			<content:encoded><![CDATA[<p>Si vous trouvez que votre Squirrelmail devient lent avec le temps, verifiez ces 3 paramètres (vers la l.70) dans votre fichier /etc/squirrelmail/config.php. Cela vous permettra de grandement accélerer l&#8217;affichage.</p>
<div class="codesnip-container" >$edit_identity=true;<br />
$allow_thread_sort=true;<br />
$allow_server_sort=true;</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.revolunet.com/index.php/general/squirrelmail-lent/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>de EPS vers JPG en masse</title>
		<link>http://blog.revolunet.com/index.php/general/de-eps-vers-jpg-en-masse</link>
		<comments>http://blog.revolunet.com/index.php/general/de-eps-vers-jpg-en-masse#comments</comments>
		<pubDate>Fri, 06 Oct 2006 11:17:34 +0000</pubDate>
		<dc:creator>Juju</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[developpement]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://blog.revolunet.com/index.php/general/de-eps-vers-jpg-en-masse</guid>
		<description><![CDATA[Ayant eu à convertir plusieurs dizaines de EPS en JPEG, voici un petit exemple de ce qu&#8217;on peut faire grâce à Linux en 2 lignes de commandes.
1- Je mets mes EPS en vrac dans différents répertoire dans un dossier ./eps puis je convertis tous mes eps en jpg grace à ImageMagick et GhostScript :
find ./eps -iname [...]]]></description>
			<content:encoded><![CDATA[<p>Ayant eu à convertir plusieurs dizaines de EPS en JPEG, voici un petit exemple de ce qu&#8217;on peut faire grâce à Linux en 2 lignes de commandes.</p>
<p>1- Je mets mes EPS en vrac dans différents répertoire dans un dossier ./eps puis je convertis tous mes eps en jpg grace à ImageMagick et GhostScript :</p>
<div class="codesnip-container" >find ./eps -iname *.eps -exec convert -density 300 &#8220;{}&#8221; &#8220;{}.jpg&#8221; ;</div>
<p>2- je récuperes tous les fichiers jpg crées et les mets dans un dossier ./jpg :</p>
<div class="codesnip-container" >find ./eps -iname *.jpg -exec cp&#8221;{}&#8221; ./jpg/ ;<br />
# j&#8217;efface les eps<br />
rm -rf ./eps</div>
<p>Et voila, en quelques minutes, ma machine m&#8217;a converti toutes mes images <img src='http://blog.revolunet.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  </p>
<p>NB :</p>
<ul>
<li>-density 300 permet d&#8217;avoir une résolution de 300dpi (mettre 72 pour le web)</li>
<li>vous pouvez ajouter -size 300 pour forcer un redimensionnement de toutes les images à 300px de large</li>
</ul>
<p>> toutes les options de la ligne de commande ici : <a href="http://www.imagemagick.org/script/command-line-options.php">http://www.imagemagick.org/script/command-line-options.php</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.revolunet.com/index.php/general/de-eps-vers-jpg-en-masse/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SquirrelMail en Francais sur une dedibox Debian</title>
		<link>http://blog.revolunet.com/index.php/general/squirrelmail-en-francais-sur-une-dedibox-debian</link>
		<comments>http://blog.revolunet.com/index.php/general/squirrelmail-en-francais-sur-une-dedibox-debian#comments</comments>
		<pubDate>Thu, 24 Aug 2006 14:22:38 +0000</pubDate>
		<dc:creator>Juju</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[geek style]]></category>
		<category><![CDATA[réseau]]></category>

		<guid isPermaLink="false">http://blog.revolunet.com/index.php/general/squirrelmail-en-francais-sur-une-dedibox-debian</guid>
		<description><![CDATA[Par défaut, la traduction Francaise de SquirrelMail ne marche pas sur la dédibox car la locale installée n&#8217;est pas fr_FR mais fr_FR@euro (à juste titre). Il faut donc faire la petite manip suivante pour activer le Francais :
dans le fichier /usr/share/squirrelmail/functions/i18n.php modifier :
remplacer $languages['fr_FR']['LOCALE'] = &#8216;fr_FR&#8217;; par $languages['fr_FR']['LOCALE'] = &#8216;fr_FR@euro&#8217;;
et mettre le Francais comme langue [...]]]></description>
			<content:encoded><![CDATA[<p>Par défaut, la traduction Francaise de SquirrelMail ne marche pas sur la dédibox car la locale installée n&#8217;est pas fr_FR mais fr_FR@euro (à juste titre). Il faut donc faire la petite manip suivante pour activer le Francais :</p>
<p>dans le fichier<em> /usr/share/squirrelmail/functions/i18n.php</em> modifier :</p>
<p>remplacer $languages['fr_FR']['LOCALE'] = &#8216;fr_FR&#8217;; par $languages['fr_FR']['LOCALE'] = &#8216;fr_FR@euro&#8217;;</p>
<p>et mettre le Francais comme langue par défaut en lancant la configuration de SquirrelMail avec un : squirrelmail-configure. Choisir en suite 10 puis saisir &#8220;fr_FR@euro&#8221; dans &#8220;Default Language&#8221;</p>
<p>un petit refresh et ca marche <img src='http://blog.revolunet.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>si quelqu&#8217;un a un autre moyen, par exemple en mettant un alias de fr_FR vers fr_FR@euro , je suis preneur <img src='http://blog.revolunet.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.revolunet.com/index.php/general/squirrelmail-en-francais-sur-une-dedibox-debian/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Mettre en place un serveur d&#8217;emails virtuels avec ANTI-Spam et Anti-Virus intégrés</title>
		<link>http://blog.revolunet.com/index.php/general/mettre-en-place-un-serveur-demails-virtuels-avec-anti-spam-et-anti-virus-integres</link>
		<comments>http://blog.revolunet.com/index.php/general/mettre-en-place-un-serveur-demails-virtuels-avec-anti-spam-et-anti-virus-integres#comments</comments>
		<pubDate>Fri, 18 Aug 2006 15:41:44 +0000</pubDate>
		<dc:creator>Juju</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[admin]]></category>

		<guid isPermaLink="false">http://blog.revolunet.com/index.php/general/mettre-en-place-un-serveur-demails-virtuels-avec-anti-spam-et-anti-virus-integres</guid>
		<description><![CDATA[Les Spams et Virus sont devenus les véritables fléaux de l&#8217;Internet; pour les éradiquer, il faut agir à la source, c&#8217;est à dire aux niveaux des serveurs de mails eux-mêmes (et pas au niveau du client Mail par exemple). En combinant plusieurs logiciels libres, et un peu de configuration, on peut obtenir assez facilement sur son [...]]]></description>
			<content:encoded><![CDATA[<p>Les Spams et Virus sont devenus les véritables fléaux de l&#8217;Internet; pour les éradiquer, il faut agir à la source, c&#8217;est à dire aux niveaux des serveurs de mails eux-mêmes (et pas au niveau du client Mail par exemple). En combinant plusieurs logiciels libres, et un peu de configuration, on peut obtenir assez facilement sur son serveur Linux un système complet de gestion d&#8217;emails, avec les desormais indispensables Anti-Virus et Anti-Spams.</p>
<p>Les articles suivant proposent une solution à Base de :</p>
<ul>
<li>Postfix (un &#8216;Mail Transfert Agent&#8217; qui permet l&#8217;acheminement du courrier)</li>
<li>Courier : un serveur POP/IMAP</li>
<li>Amavis + ClamAV : L&#8217;anti-virus</li>
<li>SpamAssassin : la référence en matière d&#8217;anti-spam</li>
<li>MySql ou PostgreSQL : base de données qui gère les comptes</li>
</ul>
<p>Voici deux tutoriaux qui permettent de mettre en place une telle combinaison, en utilisant des utilisateurs virtuels (qui n&#8217;ont pas d&#8217;accès shell)</p>
<ul>
<li>pour DEBIAN : <a href="http://www.howtoforge.com/virtual_postfix_mysql_quota_courier">http://www.howtoforge.com/virtual_postfix_mysql_quota_courier</a></li>
<li>pour GENTOO : <a href="http://gentoo-wiki.com/HOWTO_Email:_A_Complete_Virtual_System" target="_blank">http://gentoo-wiki.com/HOWTO_Email:_A_Complete_Virtual_System</a></li>
</ul>
<p>Tout ca nous permet d&#8217;avoir un serveur de mail efficace et adaptable, auquel on peut encore ajouter : un WebMail, un serveur de mailing liste, des statistiques&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.revolunet.com/index.php/general/mettre-en-place-un-serveur-demails-virtuels-avec-anti-spam-et-anti-virus-integres/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
