<?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>Tips and Tux &#187; Gnu/Linux</title>
	<atom:link href="http://www.tipsandtux.org/wordpress/category/gnulinux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.tipsandtux.org/wordpress</link>
	<description>di Linux, Piante Carnivore e non solo... il informatipapàliticarnivoro</description>
	<lastBuildDate>Fri, 03 Sep 2010 10:23:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>RAI vs Ubuntu</title>
		<link>http://www.tipsandtux.org/wordpress/rai-vs-ubuntu.html</link>
		<comments>http://www.tipsandtux.org/wordpress/rai-vs-ubuntu.html#comments</comments>
		<pubDate>Thu, 24 Jun 2010 09:26:31 +0000</pubDate>
		<dc:creator>superpaia</dc:creator>
				<category><![CDATA[Gnu/Linux]]></category>
		<category><![CDATA[Paolo san docet]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.tipsandtux.org/wordpress/?p=136</guid>
		<description><![CDATA[<p>visto che oggi devo lavorare durante la partita stavo verificando la possibilità di avere la partita o la radio in streaming&#8230; ebbene, per lo streaming video dovrei avere M$crosoft SilverLight installato, per lo streaming audio i M$crosoft Codec ! peccato che io abbia Linux/Ubuntu e di avere un Winzoz installato non ci penso nemmeno.</p>
<p>Evviva i formati <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.tipsandtux.org/wordpress/rai-vs-ubuntu.html">RAI vs Ubuntu</a></span>]]></description>
			<content:encoded><![CDATA[<p>visto che oggi devo lavorare durante la partita stavo verificando la possibilità di avere la partita o la radio in streaming&#8230; ebbene, per lo streaming video dovrei avere M$crosoft SilverLight installato, per lo streaming audio i M$crosoft Codec ! peccato che io abbia Linux/Ubuntu e di avere un Winzoz installato non ci penso nemmeno.</p>
<p>Evviva i formati aperti e la compatibilità a 360°, come se tutti dovrebbero avere solo Winzoz nei loro pc!</p>
<p>Per fortuna esiste qualche buona anima che ha creato dei plugin per farci assaporare anche a noi linuxiani i piacere riservati ad altri.</p>
<p>per il Silverlight : <a href="http://wiki.ubuntu-it.org/Silverligh" target="_blank">http://wiki.ubuntu-it.org/Silverlight</a> <a href="http://go-mono.com/moonlight" target="_blank">http://go-mono.com/moonlight</a></p>
<p>per i codec, avendo Firefox, basta installare il plugin di Mplayer per Firefox/Gecko</p>
<p><em>Now Enjoy!</em> <img src='http://www.tipsandtux.org/wordpress/wp-includes/images/smilies/icon_cool.gif' alt='8-)' class='wp-smiley' /> </p>
<!-- Begin WP-Social-Bookmarking -->
<div class="WP-Social-Bookmarking"> 
<a href="http://www.onlinerel.com/sfeed/?f=aHR0cDovL3d3dy50aXBzYW5kdHV4Lm9yZy93b3JkcHJlc3MvcmFpLXZzLXVidW50dS5odG1s&l=it-IT" target="_blank" title="Onlinerel"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/onlinerel.png" style="width:24px;height:24px;border:0px;" alt="Onlinerel" title="Onlinerel" /></a>
<a href="http://facebook.com/sharer.php?u=http://www.tipsandtux.org/wordpress/rai-vs-ubuntu.html&amp;t=RAI vs Ubuntu" target="_blank" rel="nofollow" title="Facebook"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/facebook.png" style="width:24px;height:24px;border:0px;" alt="Facebook" title="Facebook" /></a>
<a href="http://twitter.com/home?status=http://www.tipsandtux.org/wordpress/rai-vs-ubuntu.html  RAI vs Ubuntu" target="_blank" rel="nofollow" title="Twitter"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/twitter.png" style="width:24px;height:24px;border:0px;" alt="Twitter" title="Twitter" /></a>
<a href="http://www.myspace.com/Modules/PostTo/Pages/?c=http://www.tipsandtux.org/wordpress/rai-vs-ubuntu.html&t=RAI vs Ubuntu" target="_blank" rel="nofollow" title="Myspace"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/myspace.png" style="width:24px;height:24px;border:0px;" alt="Myspace" title="Myspace" /></a>
<a href="http://friendfeed.com/share?url=http://www.tipsandtux.org/wordpress/rai-vs-ubuntu.html&title=RAI vs Ubuntu" target="_blank" rel="nofollow" title="Friendfeed"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/friendfeed.png" style="width:24px;height:24px;border:0px;" alt="Friendfeed" title="Friendfeed" /></a>
<a href="http://www.technorati.com/faves?add=http://www.tipsandtux.org/wordpress/rai-vs-ubuntu.html" target="_blank" rel="nofollow" title="Technorati"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/technorati.png" style="width:24px;height:24px;border:0px;" alt="Technorati" title="Technorati" /></a>
<a href="http://del.icio.us/post?url=http://www.tipsandtux.org/wordpress/rai-vs-ubuntu.html&amp;title=RAI vs Ubuntu" target="_blank" rel="nofollow" title="del.icio.us"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/delicious.png" style="width:24px;height:24px;border:0px;" alt="del.icio.us" title="del.icio.us" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http://www.tipsandtux.org/wordpress/rai-vs-ubuntu.html&amp;title=RAI vs Ubuntu" target="_blank" rel="nofollow" title="Digg"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/digg.png" style="width:24px;height:24px;border:0px;" alt="Digg" title="Digg" /></a>
<a href="http://google.com/bookmarks/mark?op=add&amp;bkmk=http://www.tipsandtux.org/wordpress/rai-vs-ubuntu.html&amp;title=RAI vs Ubuntu" target="_blank" rel="nofollow" title="Google"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/google.png" style="width:24px;height:24px;border:0px;" alt="Google" title="Google" /></a>
<a href="http://buzz.yahoo.com/submit?submitUrl=RAI vs Ubuntu&amp;u=http://www.tipsandtux.org/wordpress/rai-vs-ubuntu.html" target="_blank" rel="nofollow" title="Yahoo Buzz"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/yahoobuzz.png" style="width:24px;height:24px;border:0px;" alt="Yahoo Buzz" title="Yahoo Buzz" /></a>
<a href="http://stumbleupon.com/submit?url=http://www.tipsandtux.org/wordpress/rai-vs-ubuntu.html&amp;title=RAI vs Ubuntu&amp;newcomment=RAI vs Ubuntu" target="_blank" rel="nofollow" title="StumbleUpon"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/stumbleupon.png" style="width:24px;height:24px;border:0px;" alt="StumbleUpon" title="StumbleUpon" /></a>
</div><br /> <!-- End WP-Social-Bookmarking -->

]]></content:encoded>
			<wfw:commentRss>http://www.tipsandtux.org/wordpress/rai-vs-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>adobe flash player on ubuntu 10.04 (beta2)</title>
		<link>http://www.tipsandtux.org/wordpress/adobe-flash-player-on-ubuntu-10-04-beta2.html</link>
		<comments>http://www.tipsandtux.org/wordpress/adobe-flash-player-on-ubuntu-10-04-beta2.html#comments</comments>
		<pubDate>Thu, 22 Apr 2010 08:21:35 +0000</pubDate>
		<dc:creator>superpaia</dc:creator>
				<category><![CDATA[Gnu/Linux]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.tipsandtux.org/wordpress/?p=105</guid>
		<description><![CDATA[<p>3 righe al &#8220;volo&#8221; per far funzionare Adobe Flash Player con ubuntu 10.04:</p>
<p>sudo apt-get purge mozilla-plugin-gnash
sudo apt-get purge swfdec-mozilla
sudo apt-get install flashplugin-nonfree</p>
<p>Enjoy  </p>

 <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.tipsandtux.org/wordpress/adobe-flash-player-on-ubuntu-10-04-beta2.html">adobe flash player on ubuntu 10.04 (beta2)</a></span>]]></description>
			<content:encoded><![CDATA[<p>3 righe al &#8220;volo&#8221; per far funzionare Adobe Flash Player con ubuntu 10.04:</p>
<p>sudo apt-get purge mozilla-plugin-gnash<br />
sudo apt-get purge swfdec-mozilla<br />
sudo apt-get install flashplugin-nonfree</p>
<p>Enjoy <img src='http://www.tipsandtux.org/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<!-- Begin WP-Social-Bookmarking -->
<div class="WP-Social-Bookmarking"> 
<a href="http://www.onlinerel.com/sfeed/?f=aHR0cDovL3d3dy50aXBzYW5kdHV4Lm9yZy93b3JkcHJlc3MvYWRvYmUtZmxhc2gtcGxheWVyLW9uLXVidW50dS0xMC0wNC1iZXRhMi5odG1s&l=it-IT" target="_blank" title="Onlinerel"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/onlinerel.png" style="width:24px;height:24px;border:0px;" alt="Onlinerel" title="Onlinerel" /></a>
<a href="http://facebook.com/sharer.php?u=http://www.tipsandtux.org/wordpress/adobe-flash-player-on-ubuntu-10-04-beta2.html&amp;t=adobe flash player on ubuntu 10.04 (beta2)" target="_blank" rel="nofollow" title="Facebook"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/facebook.png" style="width:24px;height:24px;border:0px;" alt="Facebook" title="Facebook" /></a>
<a href="http://twitter.com/home?status=http://www.tipsandtux.org/wordpress/adobe-flash-player-on-ubuntu-10-04-beta2.html  adobe flash player on ubuntu 10.04 (beta2)" target="_blank" rel="nofollow" title="Twitter"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/twitter.png" style="width:24px;height:24px;border:0px;" alt="Twitter" title="Twitter" /></a>
<a href="http://www.myspace.com/Modules/PostTo/Pages/?c=http://www.tipsandtux.org/wordpress/adobe-flash-player-on-ubuntu-10-04-beta2.html&t=adobe flash player on ubuntu 10.04 (beta2)" target="_blank" rel="nofollow" title="Myspace"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/myspace.png" style="width:24px;height:24px;border:0px;" alt="Myspace" title="Myspace" /></a>
<a href="http://friendfeed.com/share?url=http://www.tipsandtux.org/wordpress/adobe-flash-player-on-ubuntu-10-04-beta2.html&title=adobe flash player on ubuntu 10.04 (beta2)" target="_blank" rel="nofollow" title="Friendfeed"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/friendfeed.png" style="width:24px;height:24px;border:0px;" alt="Friendfeed" title="Friendfeed" /></a>
<a href="http://www.technorati.com/faves?add=http://www.tipsandtux.org/wordpress/adobe-flash-player-on-ubuntu-10-04-beta2.html" target="_blank" rel="nofollow" title="Technorati"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/technorati.png" style="width:24px;height:24px;border:0px;" alt="Technorati" title="Technorati" /></a>
<a href="http://del.icio.us/post?url=http://www.tipsandtux.org/wordpress/adobe-flash-player-on-ubuntu-10-04-beta2.html&amp;title=adobe flash player on ubuntu 10.04 (beta2)" target="_blank" rel="nofollow" title="del.icio.us"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/delicious.png" style="width:24px;height:24px;border:0px;" alt="del.icio.us" title="del.icio.us" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http://www.tipsandtux.org/wordpress/adobe-flash-player-on-ubuntu-10-04-beta2.html&amp;title=adobe flash player on ubuntu 10.04 (beta2)" target="_blank" rel="nofollow" title="Digg"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/digg.png" style="width:24px;height:24px;border:0px;" alt="Digg" title="Digg" /></a>
<a href="http://google.com/bookmarks/mark?op=add&amp;bkmk=http://www.tipsandtux.org/wordpress/adobe-flash-player-on-ubuntu-10-04-beta2.html&amp;title=adobe flash player on ubuntu 10.04 (beta2)" target="_blank" rel="nofollow" title="Google"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/google.png" style="width:24px;height:24px;border:0px;" alt="Google" title="Google" /></a>
<a href="http://buzz.yahoo.com/submit?submitUrl=adobe flash player on ubuntu 10.04 (beta2)&amp;u=http://www.tipsandtux.org/wordpress/adobe-flash-player-on-ubuntu-10-04-beta2.html" target="_blank" rel="nofollow" title="Yahoo Buzz"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/yahoobuzz.png" style="width:24px;height:24px;border:0px;" alt="Yahoo Buzz" title="Yahoo Buzz" /></a>
<a href="http://stumbleupon.com/submit?url=http://www.tipsandtux.org/wordpress/adobe-flash-player-on-ubuntu-10-04-beta2.html&amp;title=adobe flash player on ubuntu 10.04 (beta2)&amp;newcomment=adobe flash player on ubuntu 10.04 (beta2)" target="_blank" rel="nofollow" title="StumbleUpon"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/stumbleupon.png" style="width:24px;height:24px;border:0px;" alt="StumbleUpon" title="StumbleUpon" /></a>
</div><br /> <!-- End WP-Social-Bookmarking -->

]]></content:encoded>
			<wfw:commentRss>http://www.tipsandtux.org/wordpress/adobe-flash-player-on-ubuntu-10-04-beta2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title></title>
		<link>http://www.tipsandtux.org/wordpress/92.html</link>
		<comments>http://www.tipsandtux.org/wordpress/92.html#comments</comments>
		<pubDate>Sun, 11 Apr 2010 22:42:20 +0000</pubDate>
		<dc:creator>superpaia</dc:creator>
				<category><![CDATA[Gnu/Linux]]></category>
		<category><![CDATA[antispam]]></category>
		<category><![CDATA[qmail]]></category>

		<guid isPermaLink="false">http://www.tipsandtux.org/wordpress/?p=92</guid>
		<description><![CDATA[<p>Ecco un bel sistema per trovare se qualche &#8220;bravo ragazzo&#8221; ha inserito una pagina php (e soprattutto qual&#8217;è il file!) nel nostro webserver (ovviamente &#8220;bucandolo&#8221;) per poter spedire email a mezzo mondo (nel caso specifico dove ho risolto il problema c&#8217;è in coda la bellezza di mezzo milione di email!):</p>
<p>Many email messages are sent from PHP <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.tipsandtux.org/wordpress/92.html"></a></span>]]></description>
			<content:encoded><![CDATA[<p>Ecco un bel sistema per trovare se qualche &#8220;bravo ragazzo&#8221; ha inserito una pagina php (e soprattutto qual&#8217;è il file!) nel nostro webserver (ovviamente &#8220;bucandolo&#8221;) per poter spedire email a mezzo mondo (nel caso specifico dove ho risolto il problema c&#8217;è in coda la bellezza di mezzo milione di email!):</p>
<p><a href="http://kb.parallels.com/en/1711" target="_blank">Many email messages are sent from PHP scripts on the server. How can I find what domains these scripts are running on?</a></p>
<p><span id="more-92"></span>Lo cito perché ne vale la pena (è per Qmail, al di là che comunque si citi la piattaforma Plesk) :</p>
<h2><em>Resolution</em></h2>
<p><em> There is a way to find what the folder the PHP script that sends mail was run from. Note, the paths can be slightly differ from the listed below depending on your OS and Plesk version:</em></p>
<p><em><strong>1) </strong>create /var/qmail/bin/sendmail-wrapper script with the content:</em></p>
<p><em>#!/bin/sh<br />
(echo X-Additional-Header: $PWD ;cat) | tee -a /var/tmp/mail.send|/var/qmail/bin/sendmail-qmail &#8220;$@&#8221;</em></p>
<p><em>Note, it should be the two lines including &#8216;#!/bin/sh&#8217;.<br />
</em></p>
<p><em><strong>2) </strong>then create log file /var/tmp/mail.send and grant it &#8220;a+rw&#8221; rights, make the wrapper executable, rename old sendmail and link it to the new wrapper:</em></p>
<p><em>~# touch /var/tmp/mail.send<br />
~# chmod a+rw /var/tmp/mail.send<br />
~# chmod a+x /var/qmail/bin/sendmail-wrapper<br />
~# mv /var/qmail/bin/sendmail /var/qmail/bin/sendmail-qmail<br />
~# ln -s /var/qmail/bin/sendmail-wrapper /var/qmail/bin/sendmail</em></p>
<p><em><strong>3) </strong>Wait for an hour or so and revert sendmail back:</em></p>
<p><em>~# rm -f /var/qmail/bin/sendmail<br />
~# ln -s /var/qmail/bin/sendmail-qmail /var/qmail/bin/sendmail</em></p>
<p><em>Examine /var/tmp/mail.send file, there should be lines starting with &#8220;X-Additional-Header:&#8221; pointing out to domains&#8217; folders where the scripts which sent the mail are located.<br />
You can see all the folders mail PHP scripts were run from with the following command:</em></p>
<p><em>~# grep X-Additional /var/tmp/mail.send | grep `cat /etc/psa/psa.conf | grep HTTPD_VHOSTS_D | sed -e &#8217;s/HTTPD_VHOSTS_D//&#8217; `</em></p>
<p><em>f you see no output from the command above, it means that no mail was sent using PHP mail() function from the Plesk virtual hosts directory.</em></p>
<p><em> </em></p>
<!-- Begin WP-Social-Bookmarking -->
<div class="WP-Social-Bookmarking"> 
<a href="http://www.onlinerel.com/sfeed/?f=aHR0cDovL3d3dy50aXBzYW5kdHV4Lm9yZy93b3JkcHJlc3MvOTIuaHRtbA==&l=it-IT" target="_blank" title="Onlinerel"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/onlinerel.png" style="width:24px;height:24px;border:0px;" alt="Onlinerel" title="Onlinerel" /></a>
<a href="http://facebook.com/sharer.php?u=http://www.tipsandtux.org/wordpress/92.html&amp;t=" target="_blank" rel="nofollow" title="Facebook"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/facebook.png" style="width:24px;height:24px;border:0px;" alt="Facebook" title="Facebook" /></a>
<a href="http://twitter.com/home?status=http://www.tipsandtux.org/wordpress/92.html  " target="_blank" rel="nofollow" title="Twitter"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/twitter.png" style="width:24px;height:24px;border:0px;" alt="Twitter" title="Twitter" /></a>
<a href="http://www.myspace.com/Modules/PostTo/Pages/?c=http://www.tipsandtux.org/wordpress/92.html&t=" target="_blank" rel="nofollow" title="Myspace"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/myspace.png" style="width:24px;height:24px;border:0px;" alt="Myspace" title="Myspace" /></a>
<a href="http://friendfeed.com/share?url=http://www.tipsandtux.org/wordpress/92.html&title=" target="_blank" rel="nofollow" title="Friendfeed"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/friendfeed.png" style="width:24px;height:24px;border:0px;" alt="Friendfeed" title="Friendfeed" /></a>
<a href="http://www.technorati.com/faves?add=http://www.tipsandtux.org/wordpress/92.html" target="_blank" rel="nofollow" title="Technorati"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/technorati.png" style="width:24px;height:24px;border:0px;" alt="Technorati" title="Technorati" /></a>
<a href="http://del.icio.us/post?url=http://www.tipsandtux.org/wordpress/92.html&amp;title=" target="_blank" rel="nofollow" title="del.icio.us"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/delicious.png" style="width:24px;height:24px;border:0px;" alt="del.icio.us" title="del.icio.us" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http://www.tipsandtux.org/wordpress/92.html&amp;title=" target="_blank" rel="nofollow" title="Digg"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/digg.png" style="width:24px;height:24px;border:0px;" alt="Digg" title="Digg" /></a>
<a href="http://google.com/bookmarks/mark?op=add&amp;bkmk=http://www.tipsandtux.org/wordpress/92.html&amp;title=" target="_blank" rel="nofollow" title="Google"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/google.png" style="width:24px;height:24px;border:0px;" alt="Google" title="Google" /></a>
<a href="http://buzz.yahoo.com/submit?submitUrl=&amp;u=http://www.tipsandtux.org/wordpress/92.html" target="_blank" rel="nofollow" title="Yahoo Buzz"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/yahoobuzz.png" style="width:24px;height:24px;border:0px;" alt="Yahoo Buzz" title="Yahoo Buzz" /></a>
<a href="http://stumbleupon.com/submit?url=http://www.tipsandtux.org/wordpress/92.html&amp;title=&amp;newcomment=" target="_blank" rel="nofollow" title="StumbleUpon"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/stumbleupon.png" style="width:24px;height:24px;border:0px;" alt="StumbleUpon" title="StumbleUpon" /></a>
</div><br /> <!-- End WP-Social-Bookmarking -->

]]></content:encoded>
			<wfw:commentRss>http://www.tipsandtux.org/wordpress/92.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installazione di MailScanner su SLES 11 a 64 bit &#8211; Parte 2</title>
		<link>http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-2.html</link>
		<comments>http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-2.html#comments</comments>
		<pubDate>Wed, 17 Feb 2010 15:42:06 +0000</pubDate>
		<dc:creator>superpaia</dc:creator>
				<category><![CDATA[Gnu/Linux]]></category>
		<category><![CDATA[antispam]]></category>
		<category><![CDATA[mailscanner]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.tipsandtux.org/wordpress/?p=73</guid>
		<description><![CDATA[<p>Una volta fatte le opportune verifiche che la &#8220;configurazione base&#8221; funzioni, dal sito www.mailscanner.info scarico la versione più recente del file tar.gz per SuSE.
Lo decomprimo (io di solito creo una cartella /software dove mettere il software vario) e poi eseguo, dall&#8217;interno della cartella e come utente root, il comando ./install.sh
A questo punto l&#8217;installazione di MailScanner inizia, <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-2.html">Installazione di MailScanner su SLES 11 a 64 bit &#8211; Parte 2</a></span>]]></description>
			<content:encoded><![CDATA[<p>Una volta fatte le opportune verifiche che la &#8220;configurazione base&#8221; funzioni, dal sito www.mailscanner.info scarico la versione più recente del file tar.gz per SuSE.<br />
Lo decomprimo (io di solito creo una cartella /software dove mettere il software vario) e poi eseguo, dall&#8217;interno della cartella e come utente root, il comando ./install.sh<br />
A questo punto l&#8217;installazione di MailScanner inizia, con relativa compilazione dei file necessari. Tutto in automatico!</p>
<p><span id="more-73"></span><br />
Alla fine dell&#8217;installazione per i sistemi SuSe è necessario effettuare la seguente configurazione nel file /etc/MailScanner/MailScanner.conf :<br />
Run As User = postfix<br />
Run As Group = postfix<br />
Incoming Queue Dir = /var/spool/postfix/hold<br />
Outgoing Queue Dir = /var/spool/postfix/incoming<br />
MTA = postfix<br />
Monitors for ClamAV Updates = [...]  /var/lib/clamav/*.cvd</p>
<p>Successivamente cambio i diritti sulle directory di servizio di MailScanner:<br />
chown -R postfix:postfix /var/spool/MailScanner/incoming<br />
chown -R postfix:postfix /var/spool/MailScanner/quarantine</p>
<p>Inserire nel file /etc/postfix/header_checks<br />
la seguente riga: /^Received:/ HOLD</p>
<p>Poi, visto che sarà MailScanner ad occuparsi della gestione della posta agendo come MTA, spengo amavis e postfix e lo avvio.<br />
(Naturalmente anche al runlevel di boot disabiliterò postfix/amavis e abiliterò MailScanner)</p>
<p>A questo punto verifico l&#8217;invio della posta con una connessione SMTP, solito telnet sulla porta 25 del server e verifica dei risultati con &#8220;tail -f /var/log/mail&#8221;.</p>
<p>Riferimenti:</p>
<p>http://www.mailscanner.info/postfix.html</p>
<!-- Begin WP-Social-Bookmarking -->
<div class="WP-Social-Bookmarking"> 
<a href="http://www.onlinerel.com/sfeed/?f=aHR0cDovL3d3dy50aXBzYW5kdHV4Lm9yZy93b3JkcHJlc3MvaW5zdGFsbGF6aW9uZS1kaS1tYWlsc2Nhbm5lci1zdS1zbGVzLTExLWEtNjQtYml0LXBhcnRlLTIuaHRtbA==&l=it-IT" target="_blank" title="Onlinerel"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/onlinerel.png" style="width:24px;height:24px;border:0px;" alt="Onlinerel" title="Onlinerel" /></a>
<a href="http://facebook.com/sharer.php?u=http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-2.html&amp;t=Installazione di MailScanner su SLES 11 a 64 bit &#8211; Parte 2" target="_blank" rel="nofollow" title="Facebook"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/facebook.png" style="width:24px;height:24px;border:0px;" alt="Facebook" title="Facebook" /></a>
<a href="http://twitter.com/home?status=http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-2.html  Installazione di MailScanner su SLES 11 a 64 bit &#8211; Parte 2" target="_blank" rel="nofollow" title="Twitter"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/twitter.png" style="width:24px;height:24px;border:0px;" alt="Twitter" title="Twitter" /></a>
<a href="http://www.myspace.com/Modules/PostTo/Pages/?c=http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-2.html&t=Installazione di MailScanner su SLES 11 a 64 bit &#8211; Parte 2" target="_blank" rel="nofollow" title="Myspace"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/myspace.png" style="width:24px;height:24px;border:0px;" alt="Myspace" title="Myspace" /></a>
<a href="http://friendfeed.com/share?url=http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-2.html&title=Installazione di MailScanner su SLES 11 a 64 bit &#8211; Parte 2" target="_blank" rel="nofollow" title="Friendfeed"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/friendfeed.png" style="width:24px;height:24px;border:0px;" alt="Friendfeed" title="Friendfeed" /></a>
<a href="http://www.technorati.com/faves?add=http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-2.html" target="_blank" rel="nofollow" title="Technorati"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/technorati.png" style="width:24px;height:24px;border:0px;" alt="Technorati" title="Technorati" /></a>
<a href="http://del.icio.us/post?url=http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-2.html&amp;title=Installazione di MailScanner su SLES 11 a 64 bit &#8211; Parte 2" target="_blank" rel="nofollow" title="del.icio.us"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/delicious.png" style="width:24px;height:24px;border:0px;" alt="del.icio.us" title="del.icio.us" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-2.html&amp;title=Installazione di MailScanner su SLES 11 a 64 bit &#8211; Parte 2" target="_blank" rel="nofollow" title="Digg"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/digg.png" style="width:24px;height:24px;border:0px;" alt="Digg" title="Digg" /></a>
<a href="http://google.com/bookmarks/mark?op=add&amp;bkmk=http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-2.html&amp;title=Installazione di MailScanner su SLES 11 a 64 bit &#8211; Parte 2" target="_blank" rel="nofollow" title="Google"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/google.png" style="width:24px;height:24px;border:0px;" alt="Google" title="Google" /></a>
<a href="http://buzz.yahoo.com/submit?submitUrl=Installazione di MailScanner su SLES 11 a 64 bit &#8211; Parte 2&amp;u=http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-2.html" target="_blank" rel="nofollow" title="Yahoo Buzz"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/yahoobuzz.png" style="width:24px;height:24px;border:0px;" alt="Yahoo Buzz" title="Yahoo Buzz" /></a>
<a href="http://stumbleupon.com/submit?url=http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-2.html&amp;title=Installazione di MailScanner su SLES 11 a 64 bit &#8211; Parte 2&amp;newcomment=Installazione di MailScanner su SLES 11 a 64 bit &#8211; Parte 2" target="_blank" rel="nofollow" title="StumbleUpon"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/stumbleupon.png" style="width:24px;height:24px;border:0px;" alt="StumbleUpon" title="StumbleUpon" /></a>
</div><br /> <!-- End WP-Social-Bookmarking -->

]]></content:encoded>
			<wfw:commentRss>http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installazione di MailScanner su SLES 11 a 64 bit &#8211; Parte 1</title>
		<link>http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-1.html</link>
		<comments>http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-1.html#comments</comments>
		<pubDate>Mon, 15 Feb 2010 14:25:27 +0000</pubDate>
		<dc:creator>superpaia</dc:creator>
				<category><![CDATA[Gnu/Linux]]></category>
		<category><![CDATA[antispam]]></category>
		<category><![CDATA[mailscanner]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.tipsandtux.org/wordpress/?p=67</guid>
		<description><![CDATA[<p>Installiamo MailScanner per la gestione attraverso interfaccia grafica (MailWatch) della posta su un server perimetrale</p>
<p>Prerequisito è l&#8217;installazione del sistema SuSE Linux Enterprise, a cui vanno aggiunti i pacchetti postfix, apache2, mysql e relativi tool (essendo un server posizionato in DMZ ho aggiunto anche bind, server dns).</p>
<p></p>
<p>Dopo l&#8217;installazione, se in possesso di codici, si procede agli aggiornamenti <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-1.html">Installazione di MailScanner su SLES 11 a 64 bit &#8211; Parte 1</a></span>]]></description>
			<content:encoded><![CDATA[<p>Installiamo MailScanner per la gestione attraverso interfaccia grafica (MailWatch) della posta su un server perimetrale</p>
<p>Prerequisito è l&#8217;installazione del sistema SuSE Linux Enterprise, a cui vanno aggiunti i pacchetti postfix, apache2, mysql e relativi tool (essendo un server posizionato in DMZ ho aggiunto anche bind, server dns).</p>
<p><span id="more-67"></span></p>
<p>Dopo l&#8217;installazione, se in possesso di codici, si procede agli aggiornamenti delle patch. Per questo utilizziamo YaST. Fatte le patch e dopo un bel riavvio installiamo gli applicativi.<br />
Disabilitiamo i servizi in avvio automatico non necessari.</p>
<p>Procediamo per &#8220;step&#8221;, dapprima configuriamo il sistema postfix, integrandolo con amavis, clamav e spamassassin.</p>
<p>Si configurano paramentri base nel file <em>/etc/postfix/main.cf</em> sono:<br />
<em>myhostname = mail.dominiopubblico.it<br />
inet_interfaces = all<br />
relay_domains = dominiopubblico.it<br />
mynetworks_style = host<br />
mynetworks = 127.0.0.1, IP.DEL.SERVER.LINUX, IP.DEL.SERVER.diPostaAziendale</em></p>
<p>poi aggiungo il minimo indispensabile (che a volte è molto di più che trovo da qualche cliente già impostato&#8230;) per evitare &#8220;quintalate&#8221; di spam:<br />
<em>smtpd_helo_required = yes<br />
disable_vrfy_commands = yes<br />
smtpd_etrn_restrictions = reject<br />
smtpd_recipient_restrictions =<br />
reject_invalid_hostname,<br />
reject_non_fqdn_sender,<br />
reject_non_fqdn_recipient,<br />
reject_unknown_sender_domain,<br />
reject_unknown_recipient_domain,<br />
permit_mynetworks,<br />
reject_unauth_destination,<br />
reject_rhsbl_sender dsn.rfc-ignorant.org,<br />
reject_rhsbl_sender block.rhs.mailpolice.com,<br />
reject_rhsbl_client block.rhs.mailpolice.com,<br />
reject_rhsbl_client dynamic.rhs.mailpolice.com,<br />
reject_rhsbl_sender dynamic.rhs.mailpolice.com,<br />
reject_rhsbl_client blackhole.securitysage.com,<br />
reject_rhsbl_sender blackhole.securitysage.com,<br />
reject_rbl_client list.dsbl.org,<br />
reject_rbl_client bl.spamcop.net,<br />
reject_rbl_client zen.spamhaus.org,<br />
reject_rbl_client dnsbl.njabl.org,<br />
permit<br />
smtpd_data_restrictions =<br />
reject_unauth_pipelining,<br />
permit</em></p>
<p>abilito l&#8217;interazione tra postfix e amavis:<br />
<em>content_filter = vscan:[127.0.0.1]:10024</em><br />
e nel file <em>/etc/postfix/master.cf </em>configuro le righe:<br />
<em>localhost:10025 inet    n       -       n       -       -       smtpd -o content_filter=<br />
vscan  unix    -    -    y    -    2    smtp  -o smtp_data_done_timeout=1200  -o smtp_send_xforward_command=yes -o disable_dns_lookups=yes</em> <em></em></p>
<p>a questo punto nel file <em>/etc/postfix/transport</em> imposto l&#8217;indirizzo ip del server di posta finale:<br />
dominiopubblico.it smtp:[IP.DEL.SERVER.diPostaAziendale]<br />
salvo il file e poi &#8220;compilo&#8221; il file per postfix:<br />
<em>postmap /etc/postfix/transport</em></p>
<p>nel file di configurazione di Amavis è necessario (<em>/etc/amavis.conf</em>), almeno solo per ora, configurare la variable myhostname:<br />
<em>$myhostname = &#8216;mail-as.dominiopubblico.it&#8217;;</em></p>
<p>a questo posso riavviare il servizio postfix ed amavis ed il sistema è già pronto per i primi test di invio e ricezione della posta.<br />
Su questa &#8220;base&#8221; andremo ad installare MailScanner e MailWatch successivamente.</p>
<p>Riferimenti:<br />
<a href="http://www.postfix.org" target="_blank">www.postfix.org</a><br />
<a href="http://www.novell.org" target="_blank">www.novell.org</a></p>
<p>Consiglio:<br />
Gnu/Linux ha il vantaggio di avere dei file di configurazione per i vari applicativi installati, prima della modifica io ho la buona abitudine di salvare il file di configurazione di base:<br />
srvmail:/etc/postfix # cp main.cf main.cf.orig<br />
Inoltre è opportuno avere la stessa buona abitudine per quando si agisce in maniera &#8220;pesante&#8221; su configurazioni già esistenti.</p>
<!-- Begin WP-Social-Bookmarking -->
<div class="WP-Social-Bookmarking"> 
<a href="http://www.onlinerel.com/sfeed/?f=aHR0cDovL3d3dy50aXBzYW5kdHV4Lm9yZy93b3JkcHJlc3MvaW5zdGFsbGF6aW9uZS1kaS1tYWlsc2Nhbm5lci1zdS1zbGVzLTExLWEtNjQtYml0LXBhcnRlLTEuaHRtbA==&l=it-IT" target="_blank" title="Onlinerel"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/onlinerel.png" style="width:24px;height:24px;border:0px;" alt="Onlinerel" title="Onlinerel" /></a>
<a href="http://facebook.com/sharer.php?u=http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-1.html&amp;t=Installazione di MailScanner su SLES 11 a 64 bit &#8211; Parte 1" target="_blank" rel="nofollow" title="Facebook"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/facebook.png" style="width:24px;height:24px;border:0px;" alt="Facebook" title="Facebook" /></a>
<a href="http://twitter.com/home?status=http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-1.html  Installazione di MailScanner su SLES 11 a 64 bit &#8211; Parte 1" target="_blank" rel="nofollow" title="Twitter"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/twitter.png" style="width:24px;height:24px;border:0px;" alt="Twitter" title="Twitter" /></a>
<a href="http://www.myspace.com/Modules/PostTo/Pages/?c=http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-1.html&t=Installazione di MailScanner su SLES 11 a 64 bit &#8211; Parte 1" target="_blank" rel="nofollow" title="Myspace"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/myspace.png" style="width:24px;height:24px;border:0px;" alt="Myspace" title="Myspace" /></a>
<a href="http://friendfeed.com/share?url=http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-1.html&title=Installazione di MailScanner su SLES 11 a 64 bit &#8211; Parte 1" target="_blank" rel="nofollow" title="Friendfeed"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/friendfeed.png" style="width:24px;height:24px;border:0px;" alt="Friendfeed" title="Friendfeed" /></a>
<a href="http://www.technorati.com/faves?add=http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-1.html" target="_blank" rel="nofollow" title="Technorati"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/technorati.png" style="width:24px;height:24px;border:0px;" alt="Technorati" title="Technorati" /></a>
<a href="http://del.icio.us/post?url=http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-1.html&amp;title=Installazione di MailScanner su SLES 11 a 64 bit &#8211; Parte 1" target="_blank" rel="nofollow" title="del.icio.us"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/delicious.png" style="width:24px;height:24px;border:0px;" alt="del.icio.us" title="del.icio.us" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-1.html&amp;title=Installazione di MailScanner su SLES 11 a 64 bit &#8211; Parte 1" target="_blank" rel="nofollow" title="Digg"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/digg.png" style="width:24px;height:24px;border:0px;" alt="Digg" title="Digg" /></a>
<a href="http://google.com/bookmarks/mark?op=add&amp;bkmk=http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-1.html&amp;title=Installazione di MailScanner su SLES 11 a 64 bit &#8211; Parte 1" target="_blank" rel="nofollow" title="Google"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/google.png" style="width:24px;height:24px;border:0px;" alt="Google" title="Google" /></a>
<a href="http://buzz.yahoo.com/submit?submitUrl=Installazione di MailScanner su SLES 11 a 64 bit &#8211; Parte 1&amp;u=http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-1.html" target="_blank" rel="nofollow" title="Yahoo Buzz"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/yahoobuzz.png" style="width:24px;height:24px;border:0px;" alt="Yahoo Buzz" title="Yahoo Buzz" /></a>
<a href="http://stumbleupon.com/submit?url=http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-1.html&amp;title=Installazione di MailScanner su SLES 11 a 64 bit &#8211; Parte 1&amp;newcomment=Installazione di MailScanner su SLES 11 a 64 bit &#8211; Parte 1" target="_blank" rel="nofollow" title="StumbleUpon"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/stumbleupon.png" style="width:24px;height:24px;border:0px;" alt="StumbleUpon" title="StumbleUpon" /></a>
</div><br /> <!-- End WP-Social-Bookmarking -->

]]></content:encoded>
			<wfw:commentRss>http://www.tipsandtux.org/wordpress/installazione-di-mailscanner-su-sles-11-a-64-bit-parte-1.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blackberry and Linux = Barry</title>
		<link>http://www.tipsandtux.org/wordpress/blackberry-and-linux-barry.html</link>
		<comments>http://www.tipsandtux.org/wordpress/blackberry-and-linux-barry.html#comments</comments>
		<pubDate>Thu, 11 Feb 2010 13:22:45 +0000</pubDate>
		<dc:creator>superpaia</dc:creator>
				<category><![CDATA[Gnu/Linux]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://www.tipsandtux.org/wordpress/?p=63</guid>
		<description><![CDATA[<p>Oggi mi è venuta l&#8217;ispirazione di poter trovare un modo per gestire, soprattutto il backup/restore, il mio blackberry aziendale.</p>
<p>Dopo una breve ricerca ho trovato il software giusto : Barry. Già il nome la dice lunga sulla fantasia e creatività dei &#8220;linuxiani&#8221;.</p>
<p>Ad ogni modo, avendo sul mio portatile Ubuntu 9.10 ho visto che, evitando di compilare il <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.tipsandtux.org/wordpress/blackberry-and-linux-barry.html">Blackberry and Linux = Barry</a></span>]]></description>
			<content:encoded><![CDATA[<p>Oggi mi è venuta l&#8217;ispirazione di poter trovare un modo per gestire, soprattutto il backup/restore, il mio blackberry aziendale.</p>
<p>Dopo una breve ricerca ho trovato il software giusto : <strong><a href="http://www.netdirect.ca/software/packages/barry" target="_blank">Barr</a>y</strong>. Già il nome la dice lunga sulla fantasia e creatività dei &#8220;linuxiani&#8221;.</p>
<p><span id="more-63"></span>Ad ogni modo, avendo sul mio portatile Ubuntu 9.10 ho visto che, evitando di compilare il pacchetto, è possibile usare un pacchetto già precompilato aggiunngedo una nuova sorgente PPA (personal packages archives):</p>
<p>1- inserire in /etc/apt/sources.list le seguenti righe</p>
<p><em>deb <a href="http://ppa.launchpad.net/doctormo/barry-snapshot/ubuntu">http://ppa.launchpad.net/doctormo/barry-snapshot/ubuntu</a> <span id="series-deb">karmic</span> main </em></p>
<p><em>deb-src <a href="http://ppa.launchpad.net/doctormo/barry-snapshot/ubuntu">http://ppa.launchpad.net/doctormo/barry-snapshot/ubuntu</a> <span id="series-deb-src">karmic</span> main </em></p>
<p><em>2</em>- &#8220;solito&#8221; <em>apt-get update</em></p>
<p>3- e poi si procede all&#8217;installazione dei vari pacchetti <em>barryXXX</em></p>
<p>sul mio pc non si sono create icone di collegamento al programma, ad ogni modo da riga di comando ho lanciato l&#8217;applicazione <em>barrybackup </em>(con un bel sudo), ed i meno di 2 minuti ho fatto il backup dei miei dati.</p>
<p>ecco l&#8217;immagine (dal sito del produttore dei sw):</p>
<p><img title="berrybackup" src="http://www.netdirect.ca/sites/www.netdirect.ca/files/images/barry/backup.png" alt="berrybackup" width="300" /></p>
<p>Ora non mi rimane che scoprire la altre funzionalità di questo software! Enjoy!</p>
<p>Rif:</p>
<p><a href="http://www.netdirect.ca/software/packages/barry" target="_blank">http://www.netdirect.ca/software/packages/barry</a></p>
<p><a href="https://launchpad.net/~doctormo/+archive/barry-snapshot" target="_blank">https://launchpad.net/~doctormo/+archive/barry-snapshot</a></p>
<!-- Begin WP-Social-Bookmarking -->
<div class="WP-Social-Bookmarking"> 
<a href="http://www.onlinerel.com/sfeed/?f=aHR0cDovL3d3dy50aXBzYW5kdHV4Lm9yZy93b3JkcHJlc3MvYmxhY2tiZXJyeS1hbmQtbGludXgtYmFycnkuaHRtbA==&l=it-IT" target="_blank" title="Onlinerel"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/onlinerel.png" style="width:24px;height:24px;border:0px;" alt="Onlinerel" title="Onlinerel" /></a>
<a href="http://facebook.com/sharer.php?u=http://www.tipsandtux.org/wordpress/blackberry-and-linux-barry.html&amp;t=Blackberry and Linux = Barry" target="_blank" rel="nofollow" title="Facebook"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/facebook.png" style="width:24px;height:24px;border:0px;" alt="Facebook" title="Facebook" /></a>
<a href="http://twitter.com/home?status=http://www.tipsandtux.org/wordpress/blackberry-and-linux-barry.html  Blackberry and Linux = Barry" target="_blank" rel="nofollow" title="Twitter"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/twitter.png" style="width:24px;height:24px;border:0px;" alt="Twitter" title="Twitter" /></a>
<a href="http://www.myspace.com/Modules/PostTo/Pages/?c=http://www.tipsandtux.org/wordpress/blackberry-and-linux-barry.html&t=Blackberry and Linux = Barry" target="_blank" rel="nofollow" title="Myspace"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/myspace.png" style="width:24px;height:24px;border:0px;" alt="Myspace" title="Myspace" /></a>
<a href="http://friendfeed.com/share?url=http://www.tipsandtux.org/wordpress/blackberry-and-linux-barry.html&title=Blackberry and Linux = Barry" target="_blank" rel="nofollow" title="Friendfeed"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/friendfeed.png" style="width:24px;height:24px;border:0px;" alt="Friendfeed" title="Friendfeed" /></a>
<a href="http://www.technorati.com/faves?add=http://www.tipsandtux.org/wordpress/blackberry-and-linux-barry.html" target="_blank" rel="nofollow" title="Technorati"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/technorati.png" style="width:24px;height:24px;border:0px;" alt="Technorati" title="Technorati" /></a>
<a href="http://del.icio.us/post?url=http://www.tipsandtux.org/wordpress/blackberry-and-linux-barry.html&amp;title=Blackberry and Linux = Barry" target="_blank" rel="nofollow" title="del.icio.us"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/delicious.png" style="width:24px;height:24px;border:0px;" alt="del.icio.us" title="del.icio.us" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http://www.tipsandtux.org/wordpress/blackberry-and-linux-barry.html&amp;title=Blackberry and Linux = Barry" target="_blank" rel="nofollow" title="Digg"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/digg.png" style="width:24px;height:24px;border:0px;" alt="Digg" title="Digg" /></a>
<a href="http://google.com/bookmarks/mark?op=add&amp;bkmk=http://www.tipsandtux.org/wordpress/blackberry-and-linux-barry.html&amp;title=Blackberry and Linux = Barry" target="_blank" rel="nofollow" title="Google"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/google.png" style="width:24px;height:24px;border:0px;" alt="Google" title="Google" /></a>
<a href="http://buzz.yahoo.com/submit?submitUrl=Blackberry and Linux = Barry&amp;u=http://www.tipsandtux.org/wordpress/blackberry-and-linux-barry.html" target="_blank" rel="nofollow" title="Yahoo Buzz"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/yahoobuzz.png" style="width:24px;height:24px;border:0px;" alt="Yahoo Buzz" title="Yahoo Buzz" /></a>
<a href="http://stumbleupon.com/submit?url=http://www.tipsandtux.org/wordpress/blackberry-and-linux-barry.html&amp;title=Blackberry and Linux = Barry&amp;newcomment=Blackberry and Linux = Barry" target="_blank" rel="nofollow" title="StumbleUpon"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/stumbleupon.png" style="width:24px;height:24px;border:0px;" alt="StumbleUpon" title="StumbleUpon" /></a>
</div><br /> <!-- End WP-Social-Bookmarking -->

]]></content:encoded>
			<wfw:commentRss>http://www.tipsandtux.org/wordpress/blackberry-and-linux-barry.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Postfix: Verifica LDAP in real-time</title>
		<link>http://www.tipsandtux.org/wordpress/postfix-verifica-ldap-in-real-time.html</link>
		<comments>http://www.tipsandtux.org/wordpress/postfix-verifica-ldap-in-real-time.html#comments</comments>
		<pubDate>Mon, 01 Feb 2010 23:22:29 +0000</pubDate>
		<dc:creator>superpaia</dc:creator>
				<category><![CDATA[Gnu/Linux]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[antispam]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://www.tipsandtux.org/wordpress/?p=23</guid>
		<description><![CDATA[<p></p>
<p style="margin-bottom: 0cm;">Nella ricezione della posta è opportuno che sia verificata prima di essere inoltrata al server di posta, ovvero che il destinatario esista. Già con questo &#8220;piccolo&#8221; controllo parte dello spam non viene consegnato e non va ad usare risorse utili sul nostro server.</p>
<p style="margin-bottom: 0cm;">Quindi è fondamentale, assieme ad altri controlli, aggiungere questo tipo <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.tipsandtux.org/wordpress/postfix-verifica-ldap-in-real-time.html">Postfix: Verifica LDAP in real-time</a></span>]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } 		H4 { margin-bottom: 0.21cm } 		H4.western { font-family: "Helvetica"; font-size: 11pt; font-style: italic } 		H4.cjk { font-size: 11pt; font-style: italic } 		H4.ctl { font-size: 11pt; font-style: italic } --></p>
<p style="margin-bottom: 0cm;">Nella ricezione della posta è opportuno che sia verificata prima di essere inoltrata al server di posta, ovvero che il destinatario esista. Già con questo &#8220;piccolo&#8221; controllo parte dello spam non viene consegnato e non va ad usare risorse utili sul nostro server.</p>
<p style="margin-bottom: 0cm;">Quindi è fondamentale, assieme ad altri controlli, aggiungere questo tipo di verifica, per ottenere un servizio di posta migliore!</p>
<p style="margin-bottom: 0cm;"><span style="font-size: small;">Questa piccola guida è riferita all&#8217;uso di Postfix, con supporto ldap, in ambiente Gnu/Linux con server Exchange o Lotus Domino</span></p>
<p style="margin-bottom: 0cm;"><span id="more-23"></span></p>
<p><span style="text-decoration: underline;">Query LDAP verso Lotus Domino:</span></p>
<p style="margin-bottom: 0cm;">la sintassi per postfix da aggiungere in<em> /etc/postfix/main.c</em>f è :</p>
<p style="margin-bottom: 0cm;">
<p style="margin-bottom: 0cm;"><em>[...]</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_timeout = 10</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_search_base =</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_server_host = ip_del_server_di_posta_Domino</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_server_port = 389</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_query_filter = (mail=%s)</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_result_filter = %s</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_result_attribute = mail</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_scope = sub</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_bind = no</em></p>
<p style="margin-bottom: 0cm;"><em>relay_recipient_maps = ldap:ldap</em></p>
<p style="margin-bottom: 0cm;"><em>[...]</em></p>
<p style="margin-bottom: 0cm;">
<p style="margin-bottom: 0cm;"><span style="text-decoration: underline;">Query Ldap verso M$crosoft Exchange:</span></p>
<p style="margin-bottom: 0cm;">mentre nel caso di server M$crosoft Exchange la sintassi da aggiungere in<em> /etc/postfix/main.cf </em>è:</p>
<p style="margin-bottom: 0cm;">
<p style="margin-bottom: 0cm;"><em>[...]</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_server_host = ip_del_server_di_posta_Exchange</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_search_base = dc=dominio,dc=it</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_version = 3</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_bind_dn = CN=postfix,CN=Users,DC=dominio,DC=it </em><span style="font-style: normal;">&lt;&#8211; utente, &#8220;base&#8221;, inserito in Active Directory per poter fare la query LDAP</span></p>
<p style="margin-bottom: 0cm;"><em>ldap_bind_pw = utente_postfix_password</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_query_filter = (proxyAddresses=smtp:%s)</em></p>
<p style="margin-bottom: 0cm;"><em>ldap_result_attribute = mail</em></p>
<p style="margin-bottom: 0cm;"><em>relay_recipient_maps = ldap:ldap</em></p>
<p style="margin-bottom: 0cm;"><em>smtpd_recipient_limit = 240</em></p>
<p style="margin-bottom: 0cm;"><em>[...]</em></p>
<p style="margin-bottom: 0cm;">
<p style="margin-bottom: 0cm;">In entrambi i casi occorre salvare il file e riavviare il servizio Postfix.<em><br />
</em></p>
<p style="margin-bottom: 0cm;">
<!-- Begin WP-Social-Bookmarking -->
<div class="WP-Social-Bookmarking"> 
<a href="http://www.onlinerel.com/sfeed/?f=aHR0cDovL3d3dy50aXBzYW5kdHV4Lm9yZy93b3JkcHJlc3MvcG9zdGZpeC12ZXJpZmljYS1sZGFwLWluLXJlYWwtdGltZS5odG1s&l=it-IT" target="_blank" title="Onlinerel"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/onlinerel.png" style="width:24px;height:24px;border:0px;" alt="Onlinerel" title="Onlinerel" /></a>
<a href="http://facebook.com/sharer.php?u=http://www.tipsandtux.org/wordpress/postfix-verifica-ldap-in-real-time.html&amp;t=Postfix: Verifica LDAP in real-time" target="_blank" rel="nofollow" title="Facebook"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/facebook.png" style="width:24px;height:24px;border:0px;" alt="Facebook" title="Facebook" /></a>
<a href="http://twitter.com/home?status=http://www.tipsandtux.org/wordpress/postfix-verifica-ldap-in-real-time.html  Postfix: Verifica LDAP in real-time" target="_blank" rel="nofollow" title="Twitter"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/twitter.png" style="width:24px;height:24px;border:0px;" alt="Twitter" title="Twitter" /></a>
<a href="http://www.myspace.com/Modules/PostTo/Pages/?c=http://www.tipsandtux.org/wordpress/postfix-verifica-ldap-in-real-time.html&t=Postfix: Verifica LDAP in real-time" target="_blank" rel="nofollow" title="Myspace"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/myspace.png" style="width:24px;height:24px;border:0px;" alt="Myspace" title="Myspace" /></a>
<a href="http://friendfeed.com/share?url=http://www.tipsandtux.org/wordpress/postfix-verifica-ldap-in-real-time.html&title=Postfix: Verifica LDAP in real-time" target="_blank" rel="nofollow" title="Friendfeed"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/friendfeed.png" style="width:24px;height:24px;border:0px;" alt="Friendfeed" title="Friendfeed" /></a>
<a href="http://www.technorati.com/faves?add=http://www.tipsandtux.org/wordpress/postfix-verifica-ldap-in-real-time.html" target="_blank" rel="nofollow" title="Technorati"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/technorati.png" style="width:24px;height:24px;border:0px;" alt="Technorati" title="Technorati" /></a>
<a href="http://del.icio.us/post?url=http://www.tipsandtux.org/wordpress/postfix-verifica-ldap-in-real-time.html&amp;title=Postfix: Verifica LDAP in real-time" target="_blank" rel="nofollow" title="del.icio.us"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/delicious.png" style="width:24px;height:24px;border:0px;" alt="del.icio.us" title="del.icio.us" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http://www.tipsandtux.org/wordpress/postfix-verifica-ldap-in-real-time.html&amp;title=Postfix: Verifica LDAP in real-time" target="_blank" rel="nofollow" title="Digg"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/digg.png" style="width:24px;height:24px;border:0px;" alt="Digg" title="Digg" /></a>
<a href="http://google.com/bookmarks/mark?op=add&amp;bkmk=http://www.tipsandtux.org/wordpress/postfix-verifica-ldap-in-real-time.html&amp;title=Postfix: Verifica LDAP in real-time" target="_blank" rel="nofollow" title="Google"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/google.png" style="width:24px;height:24px;border:0px;" alt="Google" title="Google" /></a>
<a href="http://buzz.yahoo.com/submit?submitUrl=Postfix: Verifica LDAP in real-time&amp;u=http://www.tipsandtux.org/wordpress/postfix-verifica-ldap-in-real-time.html" target="_blank" rel="nofollow" title="Yahoo Buzz"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/yahoobuzz.png" style="width:24px;height:24px;border:0px;" alt="Yahoo Buzz" title="Yahoo Buzz" /></a>
<a href="http://stumbleupon.com/submit?url=http://www.tipsandtux.org/wordpress/postfix-verifica-ldap-in-real-time.html&amp;title=Postfix: Verifica LDAP in real-time&amp;newcomment=Postfix: Verifica LDAP in real-time" target="_blank" rel="nofollow" title="StumbleUpon"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/stumbleupon.png" style="width:24px;height:24px;border:0px;" alt="StumbleUpon" title="StumbleUpon" /></a>
</div><br /> <!-- End WP-Social-Bookmarking -->

]]></content:encoded>
			<wfw:commentRss>http://www.tipsandtux.org/wordpress/postfix-verifica-ldap-in-real-time.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IMSS Linux database GRANDE! (IMSS Big disk Size )</title>
		<link>http://www.tipsandtux.org/wordpress/imss-linux-database-grande-imss-big-disk-size.html</link>
		<comments>http://www.tipsandtux.org/wordpress/imss-linux-database-grande-imss-big-disk-size.html#comments</comments>
		<pubDate>Thu, 21 Jan 2010 10:39:34 +0000</pubDate>
		<dc:creator>superpaia</dc:creator>
				<category><![CDATA[Gnu/Linux]]></category>
		<category><![CDATA[IMSS]]></category>
		<category><![CDATA[Paolo san docet]]></category>
		<category><![CDATA[Trend Micro]]></category>

		<guid isPermaLink="false">http://www.tipsandtux.org/wordpress/?p=32</guid>
		<description><![CDATA[<p>Nei server linux usati come gateway di posta elettronica, se c’è IMSS installato si può incombere in problemi di saturazione del disco.</p>
<p>Quanto si riceve una notifica tipo questa:
 The free disk space under /opt/trend/imss on server SMTP is 1227 MB, which is below the threshold.</p>
<p>significa che il database di IMSS ha quasi saturato il disco, e <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.tipsandtux.org/wordpress/imss-linux-database-grande-imss-big-disk-size.html">IMSS Linux database GRANDE! (IMSS Big disk Size )</a></span>]]></description>
			<content:encoded><![CDATA[<p>Nei server linux usati come gateway di posta elettronica, se c’è IMSS installato si può incombere in problemi di saturazione del disco.</p>
<p>Quanto si riceve una notifica tipo questa:<br />
<em> The free disk space under /opt/trend/imss on server SMTP is 1227 MB, which is below the threshold.</em></p>
<p>significa che il database di IMSS ha quasi saturato il disco, e bisogna procedere all’allegerimento.</p>
<p>Per far ciò:</p>
<p>-      Bypassare IMSS commentando la riga “content_filter = imss:localhost:10025“ in /etc/postfix/main.cf<br />
-      Riavviare postfix (rcpostfix restart)<br />
-      Stoppare i servizi di IMSS<br />
-      Lanciare il comando<br />
/opt/trend/imss/PostgreSQL/bin/vacuumdb -f -a -U imss<br />
e attendere che la procedura termini<br />
-      Avviare i servizi di IMSS<br />
-      Togliere il commento inserito nel file /etc/postfix/main.cf<br />
-      Riavviare postfix<br />
Si può verificare che lo spazio si sia effettivamente liberato con il comando df -h</p>
<p>(procedura testata con successo su Sles 10 e Imss 7.0)</p>
<p><em>[Paolo san docet!]</em></p>
<!-- Begin WP-Social-Bookmarking -->
<div class="WP-Social-Bookmarking"> 
<a href="http://www.onlinerel.com/sfeed/?f=aHR0cDovL3d3dy50aXBzYW5kdHV4Lm9yZy93b3JkcHJlc3MvaW1zcy1saW51eC1kYXRhYmFzZS1ncmFuZGUtaW1zcy1iaWctZGlzay1zaXplLmh0bWw=&l=it-IT" target="_blank" title="Onlinerel"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/onlinerel.png" style="width:24px;height:24px;border:0px;" alt="Onlinerel" title="Onlinerel" /></a>
<a href="http://facebook.com/sharer.php?u=http://www.tipsandtux.org/wordpress/imss-linux-database-grande-imss-big-disk-size.html&amp;t=IMSS Linux database GRANDE! (IMSS Big disk Size )" target="_blank" rel="nofollow" title="Facebook"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/facebook.png" style="width:24px;height:24px;border:0px;" alt="Facebook" title="Facebook" /></a>
<a href="http://twitter.com/home?status=http://www.tipsandtux.org/wordpress/imss-linux-database-grande-imss-big-disk-size.html  IMSS Linux database GRANDE! (IMSS Big disk Size )" target="_blank" rel="nofollow" title="Twitter"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/twitter.png" style="width:24px;height:24px;border:0px;" alt="Twitter" title="Twitter" /></a>
<a href="http://www.myspace.com/Modules/PostTo/Pages/?c=http://www.tipsandtux.org/wordpress/imss-linux-database-grande-imss-big-disk-size.html&t=IMSS Linux database GRANDE! (IMSS Big disk Size )" target="_blank" rel="nofollow" title="Myspace"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/myspace.png" style="width:24px;height:24px;border:0px;" alt="Myspace" title="Myspace" /></a>
<a href="http://friendfeed.com/share?url=http://www.tipsandtux.org/wordpress/imss-linux-database-grande-imss-big-disk-size.html&title=IMSS Linux database GRANDE! (IMSS Big disk Size )" target="_blank" rel="nofollow" title="Friendfeed"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/friendfeed.png" style="width:24px;height:24px;border:0px;" alt="Friendfeed" title="Friendfeed" /></a>
<a href="http://www.technorati.com/faves?add=http://www.tipsandtux.org/wordpress/imss-linux-database-grande-imss-big-disk-size.html" target="_blank" rel="nofollow" title="Technorati"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/technorati.png" style="width:24px;height:24px;border:0px;" alt="Technorati" title="Technorati" /></a>
<a href="http://del.icio.us/post?url=http://www.tipsandtux.org/wordpress/imss-linux-database-grande-imss-big-disk-size.html&amp;title=IMSS Linux database GRANDE! (IMSS Big disk Size )" target="_blank" rel="nofollow" title="del.icio.us"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/delicious.png" style="width:24px;height:24px;border:0px;" alt="del.icio.us" title="del.icio.us" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http://www.tipsandtux.org/wordpress/imss-linux-database-grande-imss-big-disk-size.html&amp;title=IMSS Linux database GRANDE! (IMSS Big disk Size )" target="_blank" rel="nofollow" title="Digg"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/digg.png" style="width:24px;height:24px;border:0px;" alt="Digg" title="Digg" /></a>
<a href="http://google.com/bookmarks/mark?op=add&amp;bkmk=http://www.tipsandtux.org/wordpress/imss-linux-database-grande-imss-big-disk-size.html&amp;title=IMSS Linux database GRANDE! (IMSS Big disk Size )" target="_blank" rel="nofollow" title="Google"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/google.png" style="width:24px;height:24px;border:0px;" alt="Google" title="Google" /></a>
<a href="http://buzz.yahoo.com/submit?submitUrl=IMSS Linux database GRANDE! (IMSS Big disk Size )&amp;u=http://www.tipsandtux.org/wordpress/imss-linux-database-grande-imss-big-disk-size.html" target="_blank" rel="nofollow" title="Yahoo Buzz"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/yahoobuzz.png" style="width:24px;height:24px;border:0px;" alt="Yahoo Buzz" title="Yahoo Buzz" /></a>
<a href="http://stumbleupon.com/submit?url=http://www.tipsandtux.org/wordpress/imss-linux-database-grande-imss-big-disk-size.html&amp;title=IMSS Linux database GRANDE! (IMSS Big disk Size )&amp;newcomment=IMSS Linux database GRANDE! (IMSS Big disk Size )" target="_blank" rel="nofollow" title="StumbleUpon"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/stumbleupon.png" style="width:24px;height:24px;border:0px;" alt="StumbleUpon" title="StumbleUpon" /></a>
</div><br /> <!-- End WP-Social-Bookmarking -->

]]></content:encoded>
			<wfw:commentRss>http://www.tipsandtux.org/wordpress/imss-linux-database-grande-imss-big-disk-size.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Autenticazione Squid against LDAP Active Directory</title>
		<link>http://www.tipsandtux.org/wordpress/autenticazione-squid-against-ldap-active-directory.html</link>
		<comments>http://www.tipsandtux.org/wordpress/autenticazione-squid-against-ldap-active-directory.html#comments</comments>
		<pubDate>Tue, 15 Dec 2009 19:02:39 +0000</pubDate>
		<dc:creator>superpaia</dc:creator>
				<category><![CDATA[Gnu/Linux]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[squid]]></category>

		<guid isPermaLink="false">http://www.tipsandtux.org/wordpress/?p=16</guid>
		<description><![CDATA[&#8212;&#8211; con squid fino 2.5.x e Active directory 2003 &#8212;&#8211;
** Autentificazione utenti: **
$/usr/sbin/squid_ldap_auth -p -R -b &#8220;cn=users,dc=infonetsolutions,dc=loc&#8221; -D &#8220;cn=Administrator,cn=users,dc=infonetsolutions,dc=loc&#8221; -w &#8220;PASSWORD&#8221; -f &#8220;(&#38;(userPrincipalName=%s)(objectClass=person))&#8221; 10.13.17.204
TEST:
alessandro password
OK
* quindi in squid.conf:
auth_param basic program /usr/sbin/squid_ldap_auth -p -R -b &#8220;cn=users,dc=infonetsolutions,dc=loc&#8221; -D &#8220;cn=Administrator,cn=users,dc=infonetsolutions,dc=loc&#8221; -w &#8220;PASSWORD&#8221; -f &#8220;(&#38;(userPrincipalName=%s)(objectClass=person))&#8221; 10.13.17.204
+
acl password proxy_auth REQUIRED
+
http_access allow password
&#8212;&#8211; con squid &#62;2.6 e Active directory 2003 (testato con <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.tipsandtux.org/wordpress/autenticazione-squid-against-ldap-active-directory.html">Autenticazione Squid against LDAP Active Directory</a></span>]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8212;&#8211; con squid fino 2.5.x e Active directory 2003 &#8212;&#8211;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">** Autentificazione utenti: **</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">$/usr/sbin/squid_ldap_auth -p -R -b &#8220;cn=users,dc=infonetsolutions,dc=loc&#8221; -D &#8220;cn=Administrator,cn=users,dc=infonetsolutions,dc=loc&#8221; -w &#8220;PASSWORD&#8221; -f &#8220;(&amp;(userPrincipalName=%s)(objectClass=person))&#8221; 10.13.17.204</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">TEST:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">alessandro password</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">OK</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">* quindi in squid.conf:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">auth_param basic program /usr/sbin/squid_ldap_auth -p -R -b &#8220;cn=users,dc=infonetsolutions,dc=loc&#8221; -D &#8220;cn=Administrator,cn=users,dc=infonetsolutions,dc=loc&#8221; -w &#8220;PASSWORD&#8221; -f &#8220;(&amp;(userPrincipalName=%s)(objectClass=person))&#8221; 10.13.17.204</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">+</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">acl password proxy_auth REQUIRED</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">+</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">http_access allow password</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8212;&#8211; con squid &gt;2.6 e Active directory 2003 (testato con squid di ubuntu 7.04 e AD 2003 infonet) &#8212;&#8211;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">** Autentificazione utenti: **</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">$/usr/lib/squid/ldap_auth -p -R -b &#8220;cn=users,dc=infonetsolutions,dc=loc&#8221; -D &#8220;cn=Administrator,cn=users,dc=infonetsolutions,dc=loc&#8221; -w &#8220;PASSWORD&#8221; -f sAMAccountName=%s -h 10.13.17.204</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">TEST:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">alessandro password</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">OK</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">*quindi in squid.conf:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">auth_param basic program /usr/lib/squid/ldap_auth -p -R -b &#8220;cn=users,dc=infonetsolutions,dc=loc&#8221; -D &#8220;cn=Administrator,cn=users,dc=infonetsolutions,dc=loc&#8221; -w &#8220;PASSWORD&#8221; -f sAMAccountName=%s -h 10.13.17.204</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">+</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">acl password proxy_auth REQUIRED</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">+</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">http_access allow password</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">** Autentificazione gruppi di Active directory: ***</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">prerequisito è che l&#8217;autentificazione utenti standard funzioni</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">(auth_param basic program /usr/lib/squid/ldap_auth -p -R -b &#8220;cn=users,dc=infonetsolutions,dc=loc&#8221; -D &#8220;cn=Administrator,cn=users,dc=infonetsolutions,dc=loc&#8221; -w &#8220;PASSWORD&#8221; -f sAMAccountName=%s -h 10.13.17.204)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">+</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">external_acl_type GruppoDiRete %LOGIN /usr/lib/squid/squid_ldap_group -R -b &#8220;dc=infonetsolutions,dc=loc&#8221; -D &#8220;cn=Administrator,cn=Users,dc=infonetsolutions,dc=loc&#8221; -w &#8220;PASSWORD&#8221; -f &#8220;(&amp;(objectclass=person)(sAMAccountName=%v)(memberof=cn=%a,ou=Citrix,dc=infonetsolutions,dc=loc))&#8221; -h 10.13.17.204</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">+</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">acl password-gruppi proxy_auth REQUIRED</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">+</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">acl AccessoInternet external GruppoDiRete Ctx_Internet  # QUEST&#8217;ULTIMO È IL GRUPPO IN AD</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">+</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">http_access allow AccessoInternet</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">&#8212; Riferimenti: &#8212;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">http://www.squid-cache.org</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">http://www.papercut.biz/kb/Main/ConfiguringSquidProxyToAuthenticateWithActiveDirectory</div>
<p>Ecco le informazioni per impostare l&#8217;autenticazione esplicita di un proxy Squid su GNU/Linux verso un server LDAP Active Directory.</p>
<p><span id="more-16"></span></p>
<p><strong>&#8212;&#8211; con squid fino 2.5.x e Active directory 2003 (testato con Sles verso Ad 2003) &#8212;&#8211;</strong></p>
<p><em><span style="text-decoration: underline;">** Autenticazione utenti: **</span></em></p>
<p>inserire in squid.conf:</p>
<p><em>auth_param basic program /usr/sbin/squid_ldap_auth -p -R -b &#8220;cn=users,dc=dominio,dc=loc&#8221; -D &#8220;cn=squid,cn=users,dc=dominio,dc=loc&#8221; -w &#8220;PASSWORD&#8221; -f &#8220;(&amp;(userPrincipalName=%s)(objectClass=person))&#8221; IpAddressLdapServer</em></p>
<p>&amp;</p>
<p><em>acl password proxy_auth REQUIRED</em></p>
<p>&amp;</p>
<p><em>http_access allow password</em></p>
<p><strong>&#8212;&#8211; con squid &gt;2.6 e Active directory 2003 (testato con squid di ubuntu 7.04 e SLES verso AD 2003) &#8212;-</strong></p>
<p><em><span style="text-decoration: underline;">** Autenticazione utenti: **</span></em></p>
<p>inserire in in squid.conf:</p>
<p><em>auth_param basic program /usr/lib/squid/ldap_auth -p -R -b &#8220;cn=users,dc=dominio,dc=loc&#8221; -D &#8220;cn=squid,cn=users,dc=dominio,dc=loc&#8221; -w &#8220;PASSWORD&#8221; -f sAMAccountName=%s -h IpAddressLdapServer</em></p>
<p>&amp;</p>
<p><em>acl password proxy_auth REQUIRED</em></p>
<p>&amp;</p>
<p><em>http_access allow password</em></p>
<p><em><span style="text-decoration: underline;">** Autenticazione degli utenti e gruppi di Active directory: ***</span></em></p>
<p>con questa configurazione gli utenti oltre ad autenticare sè stessi devono anche appartenere ad un determinato gruppo di Active Directory per poter accedere ad internet tramite il proxy</p>
<p>(prerequisito è che l&#8217;autentificazione utenti standard funzioni)</p>
<p><em>auth_param basic program /usr/lib/squid/ldap_auth -p -R -b &#8220;cn=users,dc=dominio,dc=loc&#8221; -D &#8220;cn=squidr,cn=users,dc=dominio,dc=loc&#8221; -w &#8220;PASSWORD&#8221; -f sAMAccountName=%s -h IpAddressLdapServer</em></p>
<p>&amp;</p>
<p><em>external_acl_type GruppoDiRete %LOGIN /usr/lib/squid/squid_ldap_group -R -b &#8220;dc=dominio,dc=loc&#8221; -D &#8220;cn=squid,cn=Users,dc=dominio,dc=loc&#8221; -w &#8220;PASSWORD&#8221; -f &#8220;(&amp;(objectclass=person)(sAMAccountName=%v)(memberof=cn=%a,ou=SquidGroup,dc=dominio,dc=loc))&#8221; -h IpAddressLdapServer</em></p>
<p>&amp;</p>
<p><em>acl password-gruppi proxy_auth REQUIRED</em></p>
<p>&amp;</p>
<p><em>acl AccessoInternet external GruppoDiRete SquidGroup  # QUEST&#8217;ULTIMO È IL GRUPPO IN AD</em></p>
<p>&amp;</p>
<p><em>http_access allow AccessoInternet</em></p>
<p>&#8212; Riferimenti: &#8212;</p>
<p>http://www.squid-cache.org</p>
<p>http://www.papercut.biz/kb/Main/ConfiguringSquidProxyToAuthenticateWithActiveDirectory</p>
<p><strong>ENJOY <img src='http://www.tipsandtux.org/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </strong></p>
<!-- Begin WP-Social-Bookmarking -->
<div class="WP-Social-Bookmarking"> 
<a href="http://www.onlinerel.com/sfeed/?f=aHR0cDovL3d3dy50aXBzYW5kdHV4Lm9yZy93b3JkcHJlc3MvYXV0ZW50aWNhemlvbmUtc3F1aWQtYWdhaW5zdC1sZGFwLWFjdGl2ZS1kaXJlY3RvcnkuaHRtbA==&l=it-IT" target="_blank" title="Onlinerel"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/onlinerel.png" style="width:24px;height:24px;border:0px;" alt="Onlinerel" title="Onlinerel" /></a>
<a href="http://facebook.com/sharer.php?u=http://www.tipsandtux.org/wordpress/autenticazione-squid-against-ldap-active-directory.html&amp;t=Autenticazione Squid against LDAP Active Directory" target="_blank" rel="nofollow" title="Facebook"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/facebook.png" style="width:24px;height:24px;border:0px;" alt="Facebook" title="Facebook" /></a>
<a href="http://twitter.com/home?status=http://www.tipsandtux.org/wordpress/autenticazione-squid-against-ldap-active-directory.html  Autenticazione Squid against LDAP Active Directory" target="_blank" rel="nofollow" title="Twitter"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/twitter.png" style="width:24px;height:24px;border:0px;" alt="Twitter" title="Twitter" /></a>
<a href="http://www.myspace.com/Modules/PostTo/Pages/?c=http://www.tipsandtux.org/wordpress/autenticazione-squid-against-ldap-active-directory.html&t=Autenticazione Squid against LDAP Active Directory" target="_blank" rel="nofollow" title="Myspace"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/myspace.png" style="width:24px;height:24px;border:0px;" alt="Myspace" title="Myspace" /></a>
<a href="http://friendfeed.com/share?url=http://www.tipsandtux.org/wordpress/autenticazione-squid-against-ldap-active-directory.html&title=Autenticazione Squid against LDAP Active Directory" target="_blank" rel="nofollow" title="Friendfeed"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/friendfeed.png" style="width:24px;height:24px;border:0px;" alt="Friendfeed" title="Friendfeed" /></a>
<a href="http://www.technorati.com/faves?add=http://www.tipsandtux.org/wordpress/autenticazione-squid-against-ldap-active-directory.html" target="_blank" rel="nofollow" title="Technorati"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/technorati.png" style="width:24px;height:24px;border:0px;" alt="Technorati" title="Technorati" /></a>
<a href="http://del.icio.us/post?url=http://www.tipsandtux.org/wordpress/autenticazione-squid-against-ldap-active-directory.html&amp;title=Autenticazione Squid against LDAP Active Directory" target="_blank" rel="nofollow" title="del.icio.us"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/delicious.png" style="width:24px;height:24px;border:0px;" alt="del.icio.us" title="del.icio.us" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http://www.tipsandtux.org/wordpress/autenticazione-squid-against-ldap-active-directory.html&amp;title=Autenticazione Squid against LDAP Active Directory" target="_blank" rel="nofollow" title="Digg"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/digg.png" style="width:24px;height:24px;border:0px;" alt="Digg" title="Digg" /></a>
<a href="http://google.com/bookmarks/mark?op=add&amp;bkmk=http://www.tipsandtux.org/wordpress/autenticazione-squid-against-ldap-active-directory.html&amp;title=Autenticazione Squid against LDAP Active Directory" target="_blank" rel="nofollow" title="Google"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/google.png" style="width:24px;height:24px;border:0px;" alt="Google" title="Google" /></a>
<a href="http://buzz.yahoo.com/submit?submitUrl=Autenticazione Squid against LDAP Active Directory&amp;u=http://www.tipsandtux.org/wordpress/autenticazione-squid-against-ldap-active-directory.html" target="_blank" rel="nofollow" title="Yahoo Buzz"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/yahoobuzz.png" style="width:24px;height:24px;border:0px;" alt="Yahoo Buzz" title="Yahoo Buzz" /></a>
<a href="http://stumbleupon.com/submit?url=http://www.tipsandtux.org/wordpress/autenticazione-squid-against-ldap-active-directory.html&amp;title=Autenticazione Squid against LDAP Active Directory&amp;newcomment=Autenticazione Squid against LDAP Active Directory" target="_blank" rel="nofollow" title="StumbleUpon"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/stumbleupon.png" style="width:24px;height:24px;border:0px;" alt="StumbleUpon" title="StumbleUpon" /></a>
</div><br /> <!-- End WP-Social-Bookmarking -->

]]></content:encoded>
			<wfw:commentRss>http://www.tipsandtux.org/wordpress/autenticazione-squid-against-ldap-active-directory.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mailgraph.cgi</title>
		<link>http://www.tipsandtux.org/wordpress/mailgraph-cgi.html</link>
		<comments>http://www.tipsandtux.org/wordpress/mailgraph-cgi.html#comments</comments>
		<pubDate>Sun, 13 Dec 2009 22:03:46 +0000</pubDate>
		<dc:creator>superpaia</dc:creator>
				<category><![CDATA[Gnu/Linux]]></category>
		<category><![CDATA[mailgraph.cgi]]></category>
		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://www.tipsandtux.org/wordpress/?p=5</guid>
		<description><![CDATA[mailgraph.cgi <span style="color:#777"> . . . &#8594; Read More: <a href="http://www.tipsandtux.org/wordpress/mailgraph-cgi.html">mailgraph.cgi</a></span>]]></description>
			<content:encoded><![CDATA[<p><!-- 		@page { margin: 2cm } 		P { margin-bottom: 0.21cm } 		A:link { so-language: zxx } --></p>
<p align="JUSTIFY">Mailgraph è uno strumento per la realizzazione di grafici (con RRDTool) dei messaggi di posta ricevuti, inviati, spam e virus, con statistiche giornaliere, settimanali, mensili e annuali. Oltre al calcolo del picco massimo dei messaggi e la media sul tempo. Può essere un valido aiuto capire quanto efficaci siano le soluzioni da noi adottate ed il traffico posta del nostro server.</p>
<p align="JUSTIFY">Il sito di riferimento del progetto è : <a href="http://freshmeat.net/projects/mailgraph/">http://freshmeat.net/projects/mailgraph/</a></p>
<p align="JUSTIFY"><span id="more-5"></span></p>
<p align="JUSTIFY">In ambiente <strong>Debian/Ubuntu</strong><span style="font-weight: normal;">, la procedura è la seguente:</span></p>
<p align="JUSTIFY"><span style="font-style: normal;">installiamo il pacchetto precompilato </span><em>$ sudo apt-get install rrdtool mailgraph </em></p>
<p style="font-style: normal;" align="JUSTIFY">poi nel file di configurazione del servizio <em>/etc/default/mailgraph</em> impostiamo i parametri in maniera opportuna:</p>
<p align="JUSTIFY"><em>BOOT_START=yes </em><span style="font-style: normal;">&lt;&#8211; abilita il servizio all&#8217;avvio</span></p>
<p align="JUSTIFY"><em>MAIL_LOG=/var/log/mail.log </em><span style="font-style: normal;">&lt;&#8211; il nome del file di log della posta</span></p>
<p align="JUSTIFY"><em>IGNORE_LOCALHOST=true </em><span style="font-style: normal;"><span style="font-weight: normal;">&lt;&#8211; vengono ignorate, nel conteggio dei messaggi inviati e ricevuti, i messaggi provenienti dall&#8217;indirizzo 127.0.0.1 (cioè localhost), in quanto questi messaggi sono quelli di “ritorno” dal sistema di scansione antivirus e antispam.</span></span></p>
<p align="JUSTIFY">
<p align="JUSTIFY">Il file <em>/etc/init.d/mailgraph</em> è il file di avvio del servizio alla partenza del sistema, deve essere presente nel runlevel di default del sistema.</p>
<p align="JUSTIFY">Successivamente, dopo pochi minuti ed un po&#8217; di traffico di posta, basterà collegarsi all&#8217;indirizzo <a href="http://ip-server/cgi-bin/mailgraph.cgi">http://ip-server/cgi-bin/mailgraph.cgi</a> per verificare il funzionamento del prodotto (naturalmente anche il servizio Apache2 dovrà essere installato, con configurazione di base, e avviato al runlevel corretto).</p>
<p align="JUSTIFY">
<p align="JUSTIFY"><span style="font-weight: normal;">In ambiente </span><strong>SuSE</strong><span style="font-weight: normal;"> la procedura è diversa poiché non esiste un pacchetto precompilato come in ambiente Debian (la stessa procedura la possiamo usare anche in Debian/Ubuntu se vogliamo utilizzare una versione più recente del pacchetto)</span><strong>:</strong></p>
<p align="JUSTIFY">facciamo il download del prodotto da sito</p>
<p align="JUSTIFY"><em>$ wget http://mailgraph.schweikert.ch/pub/mailgraph-1.14.tar.gz</em></p>
<p align="JUSTIFY">lo decomprimiamo</p>
<p align="JUSTIFY"><em>$ tar xvzf mailgraph-1.14.tar.gz</em></p>
<p align="JUSTIFY"><em>$ cd mailgraph-1.14</em></p>
<p align="JUSTIFY">Come da istruzioni di installazione (vedi README all&#8217;interno della directory del pacchetto tar.gz appena decompresso) bisogna siano installati gli RRDTool e File::Tail. Tramite <em>yast</em> provvediamo all&#8217;installazione dei pacchetti necessari.</p>
<p align="JUSTIFY">A questo punto, prima della modifica, copio i file di configurazione originali:</p>
<p align="JUSTIFY"><em>$ cp mailgraph-init mailgraph-init.orig</em></p>
<p align="JUSTIFY">Configuro i corretti percorsi dei file di log, eseguibili e librerie nel file di configurazione di mailgraph, modificando il file di avvio del servizio ed il file perl usato per la generazione dei grafici:</p>
<p align="JUSTIFY"><em>$ mailgraph.pl</em></p>
<p align="JUSTIFY"><span style="font-style: normal;">e gli assegno i corretti diritti di esecuzione</span><em> $ chmod 755 mailgraph-init</em></p>
<p style="font-style: normal;" align="JUSTIFY">e</p>
<p align="JUSTIFY"><em>$ vi  mailgraph-init</em></p>
<p style="font-style: normal;" align="JUSTIFY">in particolare le opzioni</p>
<p align="JUSTIFY"><em>MAIL_LOG=/var/log/mail </em></p>
<p align="JUSTIFY"><em>RRD_DIR=/var/lib/apache2</em></p>
<p align="JUSTIFY">
<p style="font-style: normal;" align="JUSTIFY">Successivamente copio entrambi i file nelle posizioni corrette:</p>
<p align="JUSTIFY"><em># cp /software/mailgraph/mailgraph-1.14/mailgraph-init /etc/init.d/</em></p>
<p align="JUSTIFY"><em># cp /software/mailgraph/mailgraph-1.14/mailgraph.pl /usr/local/bin/</em></p>
<p align="JUSTIFY">
<p align="JUSTIFY">Ed anche il file mailgraph.cgi deve avere impostati i percorsi corretti con i file dei grafici</p>
<p align="JUSTIFY"><em>my $rrd = &#8216;/var/lib/apache2/mailgraph.rrd&#8217;; </em></p>
<p align="JUSTIFY"><em>my $rrd_virus = &#8216;/var/lib/apache2/mailgraph_virus.rrd&#8217;;</em></p>
<p style="font-style: normal;" align="JUSTIFY">Poi lo copiamo nella directory cgi-bin del nostro server web:</p>
<p align="JUSTIFY"><em># cp /software/mailgraph/mailgraph-1.14/mailgraph.c* /srv/www/cgi-bin/</em></p>
<p align="JUSTIFY">
<p align="JUSTIFY"><span style="font-style: normal;">A questo punto dovrebbe essere a posto. </span>Il file <em>/var/log/apache2/error_access.log</em> è fondamentale per il debug dei problemi, soprattutto se dopo un quarto d&#8217;ora non vedi nessun grafico!</p>
<p align="JUSTIFY">Eventualmente modifichiamo alcune descrizioni nel file <em>mailgraph.cgi</em>, come :</p>
<p align="JUSTIFY"><em>&lt;title&gt;Mail statistics for $host&lt;/title&gt;</em></p>
<p align="JUSTIFY">Avviamo il web server ed il servizio mailgraph, poi ci colleghiamo alla pagina <a href="http://ip-web-server/cgi-bin/mailgraph.cgi"><em>http://ip-web-server/cgi-bin/mailgraph.cgi</em></a></p>
<!-- Begin WP-Social-Bookmarking -->
<div class="WP-Social-Bookmarking"> 
<a href="http://www.onlinerel.com/sfeed/?f=aHR0cDovL3d3dy50aXBzYW5kdHV4Lm9yZy93b3JkcHJlc3MvbWFpbGdyYXBoLWNnaS5odG1s&l=it-IT" target="_blank" title="Onlinerel"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/onlinerel.png" style="width:24px;height:24px;border:0px;" alt="Onlinerel" title="Onlinerel" /></a>
<a href="http://facebook.com/sharer.php?u=http://www.tipsandtux.org/wordpress/mailgraph-cgi.html&amp;t=mailgraph.cgi" target="_blank" rel="nofollow" title="Facebook"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/facebook.png" style="width:24px;height:24px;border:0px;" alt="Facebook" title="Facebook" /></a>
<a href="http://twitter.com/home?status=http://www.tipsandtux.org/wordpress/mailgraph-cgi.html  mailgraph.cgi" target="_blank" rel="nofollow" title="Twitter"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/twitter.png" style="width:24px;height:24px;border:0px;" alt="Twitter" title="Twitter" /></a>
<a href="http://www.myspace.com/Modules/PostTo/Pages/?c=http://www.tipsandtux.org/wordpress/mailgraph-cgi.html&t=mailgraph.cgi" target="_blank" rel="nofollow" title="Myspace"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/myspace.png" style="width:24px;height:24px;border:0px;" alt="Myspace" title="Myspace" /></a>
<a href="http://friendfeed.com/share?url=http://www.tipsandtux.org/wordpress/mailgraph-cgi.html&title=mailgraph.cgi" target="_blank" rel="nofollow" title="Friendfeed"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/friendfeed.png" style="width:24px;height:24px;border:0px;" alt="Friendfeed" title="Friendfeed" /></a>
<a href="http://www.technorati.com/faves?add=http://www.tipsandtux.org/wordpress/mailgraph-cgi.html" target="_blank" rel="nofollow" title="Technorati"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/technorati.png" style="width:24px;height:24px;border:0px;" alt="Technorati" title="Technorati" /></a>
<a href="http://del.icio.us/post?url=http://www.tipsandtux.org/wordpress/mailgraph-cgi.html&amp;title=mailgraph.cgi" target="_blank" rel="nofollow" title="del.icio.us"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/delicious.png" style="width:24px;height:24px;border:0px;" alt="del.icio.us" title="del.icio.us" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http://www.tipsandtux.org/wordpress/mailgraph-cgi.html&amp;title=mailgraph.cgi" target="_blank" rel="nofollow" title="Digg"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/digg.png" style="width:24px;height:24px;border:0px;" alt="Digg" title="Digg" /></a>
<a href="http://google.com/bookmarks/mark?op=add&amp;bkmk=http://www.tipsandtux.org/wordpress/mailgraph-cgi.html&amp;title=mailgraph.cgi" target="_blank" rel="nofollow" title="Google"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/google.png" style="width:24px;height:24px;border:0px;" alt="Google" title="Google" /></a>
<a href="http://buzz.yahoo.com/submit?submitUrl=mailgraph.cgi&amp;u=http://www.tipsandtux.org/wordpress/mailgraph-cgi.html" target="_blank" rel="nofollow" title="Yahoo Buzz"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/yahoobuzz.png" style="width:24px;height:24px;border:0px;" alt="Yahoo Buzz" title="Yahoo Buzz" /></a>
<a href="http://stumbleupon.com/submit?url=http://www.tipsandtux.org/wordpress/mailgraph-cgi.html&amp;title=mailgraph.cgi&amp;newcomment=mailgraph.cgi" target="_blank" rel="nofollow" title="StumbleUpon"><img src="http://www.tipsandtux.org/wordpress/wp-content/plugins/wp-social-bookmarking/images/stumbleupon.png" style="width:24px;height:24px;border:0px;" alt="StumbleUpon" title="StumbleUpon" /></a>
</div><br /> <!-- End WP-Social-Bookmarking -->

]]></content:encoded>
			<wfw:commentRss>http://www.tipsandtux.org/wordpress/mailgraph-cgi.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
