<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.slacky.eu/wikislack/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="it">
		<id>http://www.slacky.eu/wikislack/index.php?title=Postfix%2BDovecot_sasl_authentication&amp;feed=atom&amp;action=history</id>
		<title>Postfix+Dovecot sasl authentication - Cronologia</title>
		<link rel="self" type="application/atom+xml" href="http://www.slacky.eu/wikislack/index.php?title=Postfix%2BDovecot_sasl_authentication&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://www.slacky.eu/wikislack/index.php?title=Postfix%2BDovecot_sasl_authentication&amp;action=history"/>
		<updated>2013-05-22T21:33:45Z</updated>
		<subtitle>Cronologia della pagina su questo sito</subtitle>
		<generator>MediaWiki 1.20.3</generator>

	<entry>
		<id>http://www.slacky.eu/wikislack/index.php?title=Postfix%2BDovecot_sasl_authentication&amp;diff=5221&amp;oldid=prev</id>
		<title>Antonio67: /* Unificare l'autenticazione per l'IMAP e l'SMTP */</title>
		<link rel="alternate" type="text/html" href="http://www.slacky.eu/wikislack/index.php?title=Postfix%2BDovecot_sasl_authentication&amp;diff=5221&amp;oldid=prev"/>
				<updated>2008-05-16T16:05:43Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Unificare l&amp;#039;autenticazione per l&amp;#039;IMAP e l&amp;#039;SMTP&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Versione meno recente&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Versione delle 16:05, 16 mag 2008&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 112:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 112:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;−&lt;/td&gt;
  &lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;E in ''main.cf'' aggiungeremo le righe per abilitare l'autenticazione SASL, indicando il percorso relativo del socket di autenticazione &lt;span class=&quot;diffchange diffchange-inline&quot;&gt;&quot;apero&quot; &lt;/span&gt;da Dovecot:&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;E in ''main.cf'' aggiungeremo le righe per abilitare l'autenticazione SASL, indicando il percorso relativo del socket di autenticazione &lt;span class=&quot;diffchange diffchange-inline&quot;&gt;&quot;aperto&quot; &lt;/span&gt;da Dovecot:&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;smtpd_sasl_auth_enable = yes&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;smtpd_sasl_auth_enable = yes&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Antonio67</name></author>	</entry>

	<entry>
		<id>http://www.slacky.eu/wikislack/index.php?title=Postfix%2BDovecot_sasl_authentication&amp;diff=5218&amp;oldid=prev</id>
		<title>Slacky il 19:40, 14 mag 2008</title>
		<link rel="alternate" type="text/html" href="http://www.slacky.eu/wikislack/index.php?title=Postfix%2BDovecot_sasl_authentication&amp;diff=5218&amp;oldid=prev"/>
				<updated>2008-05-14T19:40:39Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Versione meno recente&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Versione delle 19:40, 14 mag 2008&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 1:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 1:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Networking]]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= Introduzione =&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= Introduzione =&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;In questo breve documento vorrei spiegare brevemente come utilizzare '''Postfix''', '''Dovecot''' e '''Postgresql''' per gestire gli utenti di un server SMTP+IMAP.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;In questo breve documento vorrei spiegare brevemente come utilizzare '''Postfix''', '''Dovecot''' e '''Postgresql''' per gestire gli utenti di un server SMTP+IMAP.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Slacky</name></author>	</entry>

	<entry>
		<id>http://www.slacky.eu/wikislack/index.php?title=Postfix%2BDovecot_sasl_authentication&amp;diff=5216&amp;oldid=prev</id>
		<title>Antonio67: /* Links */</title>
		<link rel="alternate" type="text/html" href="http://www.slacky.eu/wikislack/index.php?title=Postfix%2BDovecot_sasl_authentication&amp;diff=5216&amp;oldid=prev"/>
				<updated>2008-05-14T08:51:20Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Links&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Versione meno recente&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Versione delle 08:51, 14 mag 2008&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 143:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 143:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Spero solo di essere stato esauriente !&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Spero solo di essere stato esauriente !&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= Links =&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= Links =&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;http://www.slacky.eu/wikislack/index.php?title=Dovecot%2C_il_server_Imap_e_Pop3&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;http://www.dovecot.org/&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;http://www.dovecot.org/&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Antonio67</name></author>	</entry>

	<entry>
		<id>http://www.slacky.eu/wikislack/index.php?title=Postfix%2BDovecot_sasl_authentication&amp;diff=5215&amp;oldid=prev</id>
		<title>Antonio67: /* Unificare l'autenticazione per l'IMAP e l'SMTP */</title>
		<link rel="alternate" type="text/html" href="http://www.slacky.eu/wikislack/index.php?title=Postfix%2BDovecot_sasl_authentication&amp;diff=5215&amp;oldid=prev"/>
				<updated>2008-05-14T08:49:47Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Unificare l&amp;#039;autenticazione per l&amp;#039;IMAP e l&amp;#039;SMTP&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Versione meno recente&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Versione delle 08:49, 14 mag 2008&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 136:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 136:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;''P.S.''&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;''P.S.''&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;−&lt;/td&gt;
  &lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Sulla porta TCP 2525 ho '''gld''' per &lt;span class=&quot;diffchange diffchange-inline&quot;&gt;le whitelist.&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Sulla porta TCP 2525 ho '''gld''' per &lt;span class=&quot;diffchange diffchange-inline&quot;&gt;il greylisting.&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= Conclusioni =&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= Conclusioni =&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Antonio67</name></author>	</entry>

	<entry>
		<id>http://www.slacky.eu/wikislack/index.php?title=Postfix%2BDovecot_sasl_authentication&amp;diff=5214&amp;oldid=prev</id>
		<title>Antonio67: /* Links */</title>
		<link rel="alternate" type="text/html" href="http://www.slacky.eu/wikislack/index.php?title=Postfix%2BDovecot_sasl_authentication&amp;diff=5214&amp;oldid=prev"/>
				<updated>2008-05-14T08:49:10Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Links&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Versione meno recente&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Versione delle 08:49, 14 mag 2008&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 144:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Riga 144:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= Links =&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= Links =&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;http://www.dovecot.org/&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;http://www.dovecot.org/&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;http://www.postgresql.org/&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;http://www.postgresql.org/&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;+&lt;/td&gt;
  &lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;http://www.postfix.org/&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;http://www.postfix.org/&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt; &lt;/td&gt;
  &lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Antonio67</name></author>	</entry>

	<entry>
		<id>http://www.slacky.eu/wikislack/index.php?title=Postfix%2BDovecot_sasl_authentication&amp;diff=5213&amp;oldid=prev</id>
		<title>Antonio67: Nuova pagina: = Introduzione = In questo breve documento vorrei spiegare brevemente come utilizzare '''Postfix''', '''Dovecot''' e '''Postgresql''' per gestire gli utenti di un server SMTP+IMAP.  Il...</title>
		<link rel="alternate" type="text/html" href="http://www.slacky.eu/wikislack/index.php?title=Postfix%2BDovecot_sasl_authentication&amp;diff=5213&amp;oldid=prev"/>
				<updated>2008-05-14T08:48:47Z</updated>
		
		<summary type="html">&lt;p&gt;Nuova pagina: = Introduzione = In questo breve documento vorrei spiegare brevemente come utilizzare &amp;#039;&amp;#039;&amp;#039;Postfix&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;Dovecot&amp;#039;&amp;#039;&amp;#039; e &amp;#039;&amp;#039;&amp;#039;Postgresql&amp;#039;&amp;#039;&amp;#039; per gestire gli utenti di un server SMTP+IMAP.  Il...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nuova pagina&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Introduzione =&lt;br /&gt;
In questo breve documento vorrei spiegare brevemente come utilizzare '''Postfix''', '''Dovecot''' e '''Postgresql''' per gestire gli utenti di un server SMTP+IMAP.&lt;br /&gt;
&lt;br /&gt;
Il documento non parte da zero, e per l'installazione e configurazione di base dei suddetti programmi vi rimando alla documentazione gia' presente sulle relative home pages e sullo stesso sito slacky.&lt;br /&gt;
&lt;br /&gt;
Le uniche cosa che mostrero' sono la struttura della ''table'' di PostgreSQL e le parti del file di configurazione di Postfix e Dovecot riguardanti l'argomento specifico.&lt;br /&gt;
&lt;br /&gt;
= Postfix =&lt;br /&gt;
Per gestire le mailbox in postfix, conviene utilizzare i '''virtual_domains''', che permettono di servire piu' domini di posta con lo stesso server, semplificando notevolmente la configurazione e permettendo di centralizzare il controllo (antivirus e antispam) ed i backup.&lt;br /&gt;
&lt;br /&gt;
== configurazione ==&lt;br /&gt;
In '''main.cf''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
virtual_mailbox_domains = nonesisto.it enemmenoio.it&lt;br /&gt;
&lt;br /&gt;
# 2 G&lt;br /&gt;
# &lt;br /&gt;
virtual_mailbox_limit =  2048000000&lt;br /&gt;
virtual_mailbox_base = /var/spool/virtual&lt;br /&gt;
virtual_mailbox_maps = hash:/usr/local/etc/postfix/virtual_mailbox&lt;br /&gt;
virtual_minimum_uid = 100&lt;br /&gt;
virtual_uid_maps = static:65534&lt;br /&gt;
virtual_gid_maps = static:65533&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
In '''virtual_mailbox''':&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
giovanni@nonesisto.it       nonesisto/giovanni/&lt;br /&gt;
samantha@nonesisto.it      nonesisto/samantha/&lt;br /&gt;
alberto@enemmenoio.it      enemmenoio/alberto/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Le mail quindi verranno salvate nella directory base ''/var/spool/virtual'', nelle sottodirectory indicate in virtual_mailbox, e saranno in formato '''Maildir''', grazie allo slash finale. Dovrete creare solo le sottodirectory della directory base (in questo caso ''nonesisto'' e ''nemmenoio''), lasciando che postfix crei le maildir alla prima mail ricevuta. Ovviamente dovrete settare i permessi delle directory in modo che l'utente ''postfix'' possa creare le sotto directory.&lt;br /&gt;
&lt;br /&gt;
'''N.B.'''&lt;br /&gt;
Ricordarsi di ridare sempre il comando '''postmap'' seguito da un reload di postfix quando si fanno variazioni nei files hash di configurazione !&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# postmap /usr/local/etc/postfix/virtual_mailbox&lt;br /&gt;
# postfix reload&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Testate che la ricezione delle mail vada a buon fine, controllando che siano state create le relative maildir degli utenti.&lt;br /&gt;
&lt;br /&gt;
= PostgreSQL = &lt;br /&gt;
In un database (ad es. ''imapusers'') create una ''table'' (leggibile da un utente tipo ''loginimap'') formata dai seguenti campi: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 imapusers=# \d user_tbl&lt;br /&gt;
                                  Table &amp;quot;public.user_tbl&amp;quot;&lt;br /&gt;
  Column  |          Type          |                       Modifiers                       &lt;br /&gt;
----------+------------------------+-------------------------------------------------------&lt;br /&gt;
 id       | integer                | not null default nextval('user_tbl_id_seq'::regclass)&lt;br /&gt;
 userid   | character varying(50)  | not null&lt;br /&gt;
 domain   | character varying(50)  | not null&lt;br /&gt;
 password | character varying(50)  | not null&lt;br /&gt;
 mail     | character varying(256) | not null&lt;br /&gt;
 uid      | integer                | not null default 65534&lt;br /&gt;
 gid      | integer                | not null default 65534&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Nella ''table'' ci saranno i campi di autenticazione userid e password (da inserire con la funzione SQL md5()), il domain usato dalle virtual_mailbox di postfix e il uid/gid dell'utente. &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
1 | samantha | nonesisto.it | 4r9bdaw83674aq11ba6094caq3z | /var/spool/virtual/nonesisto.it/samantha/ | 65534 | 65534&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Dovecot =&lt;br /&gt;
Nel file di configurazione di dovecot, indicate come meccanismo di autenticazione di default l'sql passando negli ''args'' il percorso completo del file di configurazione delle query.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
auth default {&lt;br /&gt;
  passdb sql {&lt;br /&gt;
    args = /usr/local/etc/dovecot-sql.conf&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  userdb sql {&lt;br /&gt;
    args = /usr/local/etc/dovecot-sql.conf&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Previa compilazione di dovecot con i driver per PostgreSQL, creiamo il file che permette a dovecot di stabilire i parametri della connessione e le query da eseguire:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Database driver: mysql, pgsql, sqlite&lt;br /&gt;
driver = pgsql&lt;br /&gt;
&lt;br /&gt;
connect = host=127.0.0.1 dbname=imapusers user=loginimap password=sicretverimach&lt;br /&gt;
default_pass_scheme = PLAIN-MD5&lt;br /&gt;
&lt;br /&gt;
password_query = SELECT userid as user, password FROM user_tbl WHERE userid = '%u'&lt;br /&gt;
user_query = SELECT mail,uid,gid FROM user_tbl WHERE userid = '%u'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Riavviate dovecot e provate l'autenticazione.&lt;br /&gt;
&lt;br /&gt;
= Unificare l'autenticazione per l'IMAP e l'SMTP =&lt;br /&gt;
Arrivati a questo punto, vorremmo che i nostri utenti inviassero le mail da qualsiasi indirizzo IP, non necessariamente appartenente alla LAN su cui risiede il server Postfix. Per evitare di diventare un famigerato '''open relay''', aggiungiamo al file di configurazione di Dovecot una riga, che &amp;quot;aggiungera'&amp;quot; un socket in ascolto per permettere a Postfix di autenticarsi attraverso il database degli utenti IMAP.&lt;br /&gt;
&lt;br /&gt;
Le righe che abbiamo aggiunto prima in dovecot.conf per l'autenticazione sql, diventeranno:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
auth default {&lt;br /&gt;
  passdb sql {&lt;br /&gt;
    args = /usr/local/etc/dovecot-sql.conf&lt;br /&gt;
  }&lt;br /&gt;
  userdb sql {&lt;br /&gt;
    args = /usr/local/etc/dovecot-sql.conf&lt;br /&gt;
  }&lt;br /&gt;
  &lt;br /&gt;
  socket listen {&lt;br /&gt;
      client {&lt;br /&gt;
        # percorso assoluto&lt;br /&gt;
        #&lt;br /&gt;
        path = /var/spool/postfix/private/auth&lt;br /&gt;
          mode = 0660&lt;br /&gt;
          user = postfix&lt;br /&gt;
          group = postfix&lt;br /&gt;
      }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
E in ''main.cf'' aggiungeremo le righe per abilitare l'autenticazione SASL, indicando il percorso relativo del socket di autenticazione &amp;quot;apero&amp;quot; da Dovecot:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smtpd_sasl_auth_enable = yes&lt;br /&gt;
smtpd_sasl_authenticated_header = yes&lt;br /&gt;
broken_sasl_auth_clients = yes&lt;br /&gt;
smtpd_sasl_path = private/auth&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
E ricordiamoci di abilitare l'autenticazione SASL in ''smtpd_recipient_restrictions'', se non l'abbiamo gia' fatto:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
smtpd_recipient_restrictions = reject_unauth_pipelining,&lt;br /&gt;
 reject_unknown_recipient_domain,&lt;br /&gt;
 permit_mynetworks, permit_sasl_authenticated,&lt;br /&gt;
 reject_unknown_sender_domain,&lt;br /&gt;
 reject_non_fqdn_sender,&lt;br /&gt;
 reject_non_fqdn_recipient,&lt;br /&gt;
 reject_invalid_hostname,&lt;br /&gt;
 reject_non_fqdn_hostname,&lt;br /&gt;
 reject_unauth_destination,&lt;br /&gt;
 check_helo_access hash:/usr/local/etc/postfix/smtp_helo_blacklist,&lt;br /&gt;
 reject_unlisted_recipient,&lt;br /&gt;
 check_policy_service inet:127.0.0.1:2525,&lt;br /&gt;
 reject_rbl_client list.dsbl.org,&lt;br /&gt;
 reject_rbl_client sbl-xbl.spamhaus.org, permit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
''P.S.''&lt;br /&gt;
Sulla porta TCP 2525 ho '''gld''' per le whitelist.&lt;br /&gt;
&lt;br /&gt;
= Conclusioni =&lt;br /&gt;
Il concetto di centralizzare l'autenticazione SMTP e IMAP vi permette di aggiungere e abilitare un utente semplicemente aggiungendo una riga nella table del database e una riga in ''virtual_mailboxes'', e permette di tenere sotto controllo l'accesso nell'invio della posta.&lt;br /&gt;
&lt;br /&gt;
Spero solo di essere stato esauriente !&lt;br /&gt;
= Links =&lt;br /&gt;
http://www.dovecot.org/&lt;br /&gt;
http://www.postgresql.org/&lt;br /&gt;
http://www.postfix.org/&lt;br /&gt;
----&lt;br /&gt;
Autore: Antonio67&lt;br /&gt;
Data: Wed May 14 2008&lt;/div&gt;</summary>
		<author><name>Antonio67</name></author>	</entry>

	</feed>