<?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>Offroad &#187; mail</title>
	<atom:link href="http://offroad.gonzofamily.com/category/it/mail/feed/" rel="self" type="application/rss+xml" />
	<link>http://offroad.gonzofamily.com</link>
	<description>Chris&#039; blog</description>
	<lastBuildDate>Sat, 04 Feb 2012 13:44:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>effacer les vieux fichiers d&#039;amavis sur Debian</title>
		<link>http://offroad.gonzofamily.com/2009/05/24/effacer-les-vieux-fichiers-damavis-sur-debian/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=effacer-les-vieux-fichiers-damavis-sur-debian</link>
		<comments>http://offroad.gonzofamily.com/2009/05/24/effacer-les-vieux-fichiers-damavis-sur-debian/#comments</comments>
		<pubDate>Sun, 24 May 2009 07:26:05 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[fr]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://offroad.gonzofamily.com/?p=726</guid>
		<description><![CDATA[Amavis avait tendance à remplir un peu trop vite ma partition contenant /var. Il s&#8217;avère qu&#8217;il garde les anciens emails contaminés et que chez moi les fichiers temporaires semblent ne pas s&#8217;effacer correctement. j&#8217;ai trouvé le script de cette page qui efface tous les fichiers d&#8217;amavis qui ont plus de 2 jours : #!/bin/sh #efface [...]]]></description>
			<content:encoded><![CDATA[<p>Amavis avait tendance à remplir un peu trop vite ma partition contenant /var. Il s&#8217;avère qu&#8217;il garde les anciens emails contaminés et que chez moi les fichiers temporaires semblent ne pas s&#8217;effacer correctement.</p>
<p>j&#8217;ai trouvé le script de <a href="http://flakshack.com/anti-spam/wiki/index.php?page=Daily+delete+old+files" target="_blank">cette page</a> qui efface tous les fichiers d&#8217;amavis qui ont plus de 2 jours :</p>
<blockquote><p>#!/bin/sh<br />
#efface les fichiers temporaires d&#8217;amavis qui ont plus de 2 jours<br />
find /var/lib/amavis/tmp -type d -name &#8216;amavis-*&#8217; -prune -mtime +2 -exec rm -rf {} \;<br />
find /var/lib/amavis/tmp -name &#8216;sa*&#8217; -mtime +2 -exec rm {} \;<br />
find /var/lib/amavis/virusmails -name &#8216;virus-*&#8217; -mtime +2 -exec rm {} \;</p></blockquote>
<p>Vérifiez les permissions sur le fichier que vous avez créé contenant le script précédent :</p>
<blockquote><p>chmod 500 /root/bin/rm-tmp-amavis.sh</p></blockquote>
<p>Puis grâce à la commande crontab -e , je l&#8217;ai programmé pour s&#8217;exécuter tous les jours à 5h30 :</p>
<p>30 5 * * * /root/bin/rm-tmp-amavis.sh</p>
]]></content:encoded>
			<wfw:commentRss>http://offroad.gonzofamily.com/2009/05/24/effacer-les-vieux-fichiers-damavis-sur-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sauvegarde des boites Exchange 2007 vers des fichiers PST</title>
		<link>http://offroad.gonzofamily.com/2009/02/21/sauvegarde-des-boites-exchange-2007-vers-des-fichiers-pst/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=sauvegarde-des-boites-exchange-2007-vers-des-fichiers-pst</link>
		<comments>http://offroad.gonzofamily.com/2009/02/21/sauvegarde-des-boites-exchange-2007-vers-des-fichiers-pst/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 21:24:21 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[fr]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://offroad.gonzofamily.com/?p=667</guid>
		<description><![CDATA[Grâce à cette article : How to Backup Exchange 2007 Mailboxes to PST Files , j&#8217;ai pu lancer en une seule ligne la sauvegarde de la totalité des boites de mon serveur vers des fichiers PST. Voici la ligne en question : get-mailbox -database “SERVER_NAME\DATABSE_NAME” &#124; export-mailbox -PSTFolderPath C:\PSTFiles Malheureusement c&#8217;était trop beau pour pouvoir [...]]]></description>
			<content:encoded><![CDATA[<p>Grâce à cette article :<a href="http://www.msserveradmin.com/how-to-backup-exchange-2007-mailboxes-to-pst-files/" target="_blank"> How to Backup Exchange 2007 Mailboxes to PST Files</a> , j&#8217;ai pu lancer en une seule ligne la sauvegarde de la totalité des boites de mon serveur vers des fichiers PST.</p>
<p>Voici la ligne en question :</p>
<blockquote><p>get-mailbox -database “SERVER_NAME\DATABSE_NAME” | export-mailbox -PSTFolderPath C:\PSTFiles</p></blockquote>
<p>Malheureusement c&#8217;était trop beau pour pouvoir être lancé directeur à partir du serveur Exchange :</p>
<blockquote><p>Vous utilisez un ordinateur 64 bits. Pour exporter vers ou importer à partir d&#8217;un fichier .pst, vous devez utiliser un ordinateur 32 bits sur lequel Outlook 2003 SP2 ou une version ultérieure est installé.</p></blockquote>
<p>Microsoft est toujours aussi fidèle à lui-même&#8230; C&#8217;est donc à partir de mon ordinateur 32bits que j&#8217;ai lancé cette commande après avoir installé Exchange Management Tools grace à <a href="http://www.microsoft.com/technet/prodtechnol/eval/exchange/default.mspx" target="_blank">la version d&#8217;essai d&#8217;exchange 2007 32bits disponible sur le site internet de Microsoft</a>.</p>
<p>Mais alors j&#8217;avais l&#8217;erreur :</p>
<blockquote><p>MAPI ou fournisseur de services non spécifié</p></blockquote>
<p>J&#8217;ai donc donné tous les droits à l&#8217;administrateur sur toutes les boîtes puisque ça ne semble pas fonctionner autrement (je dois manquer une étape quelque part)</p>
<blockquote><p>get-mailbox -database “SERVER_NAME\DATABSE_NAME” |Add-MailboxPermission -User &#8220;administrateur&#8221; -AccessRights FullAccess</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://offroad.gonzofamily.com/2009/02/21/sauvegarde-des-boites-exchange-2007-vers-des-fichiers-pst/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Droits propriétaires sur les dossiers publics</title>
		<link>http://offroad.gonzofamily.com/2009/01/26/droits-proprietaires-sur-les-dossiers-publics/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=droits-proprietaires-sur-les-dossiers-publics</link>
		<comments>http://offroad.gonzofamily.com/2009/01/26/droits-proprietaires-sur-les-dossiers-publics/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 13:11:44 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://offroad.gonzofamily.com/?p=648</guid>
		<description><![CDATA[Afin de récupérer les droits de propriétaire sur un dossier public et tous ses sous-dossiers sur exchange 2007 AddUsersToPFRecursive.ps1 -TopPublicFolder &#8220;\NOM_DOSSIER&#8221; -User &#8220;e.dufour@domaine.net&#8221; -Permission Owner]]></description>
			<content:encoded><![CDATA[<p>Afin de récupérer les droits de propriétaire sur un dossier public et tous ses sous-dossiers sur exchange 2007</p>
<blockquote><p>AddUsersToPFRecursive.ps1 -TopPublicFolder &#8220;\NOM_DOSSIER&#8221; -User &#8220;e.dufour@domaine.net&#8221; -Permission Owner</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://offroad.gonzofamily.com/2009/01/26/droits-proprietaires-sur-les-dossiers-publics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Besoin d&#039;une email temporaire ?</title>
		<link>http://offroad.gonzofamily.com/2009/01/21/besoin-dune-email-temporaire/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=besoin-dune-email-temporaire</link>
		<comments>http://offroad.gonzofamily.com/2009/01/21/besoin-dune-email-temporaire/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 20:22:00 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[fr]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[mail]]></category>

		<guid isPermaLink="false">http://offroad.gonzofamily.com/?p=615</guid>
		<description><![CDATA[Bien que ce soit un service proposé par l&#8217;APINC (Association Pour l&#8217;Internet Non Commercial) depuis Juin 2003, je viens de découvrir http://www.jetable.org , d&#8217;une simplicité exemplaire il permet de se créer une adresse email temporaire et de choisir combien de temps on souhaite qu&#8217;elle fonctionne. Pour éviter les spams, jetable vous fournit une adresse e-mail [...]]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-616" href="http://offroad.gonzofamily.com/files/2009/01/logo.gif" title="Besoin d&#039;une email temporaire ?"><img class="aligncenter size-full wp-image-616" src="http://offroad.gonzofamily.com/files/2009/01/logo.gif" alt="" width="245" height="86" /></a></p>
<p>Bien que ce soit <strong>un service proposé par l&#8217;<a href="http://www.apinc.org/" target="_blank">APINC</a> (Association Pour l&#8217;Internet     Non Commercial) depuis Juin 2003, </strong>je viens de découvrir <a href="http://www.jetable.org" target="_blank">http://www.jetable.org</a> , d&#8217;une simplicité exemplaire il permet de se créer une adresse email temporaire et de choisir combien de temps on souhaite qu&#8217;elle fonctionne.</p>
<p>Pour éviter les spams, jetable vous fournit une adresse e-mail temporaire.             Cette adresse, dès sa création, transfère vers votre adresse  e-mail habituelle tous             les mails qu&#8217;elle reçoit.</p>
<p>Votre adresse anti-spam se désactivera après la durée sélectionnée             lors de sa création.</p>
<p><strong></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://offroad.gonzofamily.com/2009/01/21/besoin-dune-email-temporaire/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>apt-get &quot;les paquets suivants ont été conservés&quot;</title>
		<link>http://offroad.gonzofamily.com/2009/01/04/apt-get-les-paquets-suivants-ont-ete-conserves/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=apt-get-les-paquets-suivants-ont-ete-conserves</link>
		<comments>http://offroad.gonzofamily.com/2009/01/04/apt-get-les-paquets-suivants-ont-ete-conserves/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 16:07:13 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[fr]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://offroad.gonzofamily.com/?p=593</guid>
		<description><![CDATA[Lors de mon habituelle mise à jour de Debian j&#8217;avais un message auquel je n&#8217;étais pas habitué : &#8220;Les paquets suivants ont été conservés&#8221;. C&#8217;est embêtant parce que justement l&#8217;antivirus est le plus important à mettre à jour. Voici l&#8217;affichage que j&#8217;obtenais : # apt-get upgrade Lecture des listes de paquets&#8230; Fait Construction de l&#8217;arbre [...]]]></description>
			<content:encoded><![CDATA[<p>Lors de mon habituelle mise à jour de Debian j&#8217;avais un message auquel je n&#8217;étais pas habitué : &#8220;Les paquets suivants ont été conservés&#8221;. C&#8217;est embêtant parce que justement l&#8217;antivirus est le plus important à mettre à jour. Voici l&#8217;affichage que j&#8217;obtenais :</p>
<blockquote><p># apt-get upgrade<br />
Lecture des listes de paquets&#8230; Fait<br />
Construction de l&#8217;arbre des dépendances&#8230; Fait<br />
Les paquets suivants ont été conservés :<br />
clamav clamav-daemon clamav-freshclam linux-image-2.6-486 openssh-client<br />
openssh-server<br />
0 mis à jour, 0 nouvellement installés, 0 à enlever et 6 non mis à jour.</p></blockquote>
<p>Grâce à Christophe que je cite : &#8220;il faut faire un <strong>apt-get dist-upgrade, </strong>c&#8217;est parce que la mise a jour de ces paquets nécessite la mise a jour d&#8217;autres paquets plus importants&#8221;.</p>
<p>J&#8217;ai donc lancé sans soucis :</p>
<blockquote><p>apt-get dist-upgrade</p>
<p>Les paquets suivants seront ENLEVÉS :<br />
libclamav2<br />
Les NOUVEAUX paquets suivants seront installés :<br />
libclamav5 linux-image-2.6.18-6-486 openssh-blacklist</p></blockquote>
<p>En effet on constate la mise à jour d&#8217;une librairie : libclamav2 est abandonnée pour libclamav5&#8230; ce n&#8217;est pas négligeable mais ils auraient pu afficher un avertissement&#8230;</p>
<p>Voila, tout est rentré dans l&#8217;ordre.</p>
]]></content:encoded>
			<wfw:commentRss>http://offroad.gonzofamily.com/2009/01/04/apt-get-les-paquets-suivants-ont-ete-conserves/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spamassassin can learn from Exchange before 2007</title>
		<link>http://offroad.gonzofamily.com/2008/12/08/spamassassin-can-learn-from-exchange-before-2007/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=spamassassin-can-learn-from-exchange-before-2007</link>
		<comments>http://offroad.gonzofamily.com/2008/12/08/spamassassin-can-learn-from-exchange-before-2007/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 17:16:26 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[en]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://offroad.gonzofamily.com/?p=564</guid>
		<description><![CDATA[I found a better way of teaching Spamassassin from Exchange. But it works trough IMAP. And Exchange 2007 doesn&#8217;t allow imap to access to public folders any more http://sstern.ccim.com/2006/07/14/training-sitewide-spam-filters/ here is a copy-paste : How does one enable end-user training of a site-wide Bayesian spam filter for SpamAssassin when the users are reading mail through [...]]]></description>
			<content:encoded><![CDATA[<p>I found a better way of teaching Spamassassin from Exchange. But it works trough IMAP. And Exchange 2007 doesn&#8217;t allow imap to access to public folders any more <img src='http://offroad.gonzofamily.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p><a href="http://sstern.ccim.com/2006/07/14/training-sitewide-spam-filters/" target="_blank">http://sstern.ccim.com/2006/07/14/training-sitewide-spam-filters/</a></p>
<p>here is a copy-paste :</p>
<p>How does one enable end-user training of a site-wide <a href="http://en.wikipedia.org/wiki/Bayesian_filtering">Bayesian spam filter</a> for <a href="http://spamassassin.apache.org/">SpamAssassin</a> when the users are reading mail through Microsoft Exchange and the filtering takes place on several <a href="http://www.redhat.com/">Linux</a> MX servers?</p>
<p>We have created two public folders, should-be-spam and should-be-ham. We created an exchange user, spamiam, that has full rights to these folders. End-users move misclassified mail from their inbox or junk-mail folder into the appropriate <em>should-be</em> public folder.</p>
<p>At the top of every hour, this script is run on the one MX server:</p>
<p>/usr/local/scripts/get_ham_spam<br />
<code>#! /bin/sh<br />
rm -f /var/spool/mail/spamiam<br />
touch /var/spool/mail/spamiam<br />
chown spamiam:mail /var/spool/mail/spamiam<br />
su  spamiam -c 'fetchmail -a -K -f<br />
/usr/local/scripts/spamiam.fetchmailrc -r "Public Folders/should-<br />
be-spam"'<br />
cat /var/spool/mail/spamiam &gt;&gt; /var/www/html/spamstuff/should-be-spam<br />
sa-learn --spam --mbox /var/www/html/spamstuff/should-be-spam<br />
rm -f /var/spool/mail/spamiam<br />
touch /var/spool/mail/spamiam<br />
chown spamiam:mail /var/spool/mail/spamiam<br />
su  spamiam -c 'fetchmail -a -K -f<br />
/usr/local/scripts/spamiam.fetchmailrc -r "Public Folders/should-<br />
be-ham"'<br />
cat /var/spool/mail/spamiam &gt;&gt; /var/www/html/spamstuff/should-be-ham<br />
sa-learn --ham --mbox /var/www/html/spamstuff/should-be-ham<br />
</code></p>
<p>/usr/local/scripts/spamiam.fetchmailrc<br />
<code>poll    exchange.xxxx.com<br />
proto imap<br />
user spamiam<br />
password xxxxxxxxx<br />
is spamiam here</code></p>
<p>At 15 past each hour, the two other mail servers use wget to grab the<br />
should-be files to their local /tmp and run sa-learn.</p>
<p>get-ham-spam<br />
<code>#! /bin/sh<br />
cd /tmp<br />
rm -f should-be-spam should-be-ham<br />
wget -q http://xxx.xxx.com/spamstuff/should-be-spam<br />
wget -q  http://xxx.xxx.com/spamstuff/should-be-ham<br />
sa-learn --spam --mbox should-be-spam<br />
sa-learn --ham --mbox should-be-ham</code></p>
<p>The files are included in logrotate on the source server, so they get zero’d every Sunday<br />
morning.</p>
]]></content:encoded>
			<wfw:commentRss>http://offroad.gonzofamily.com/2008/12/08/spamassassin-can-learn-from-exchange-before-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2007 et la réservation de Salles</title>
		<link>http://offroad.gonzofamily.com/2008/12/02/exchange-2007-et-la-reservation-de-salles/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=exchange-2007-et-la-reservation-de-salles</link>
		<comments>http://offroad.gonzofamily.com/2008/12/02/exchange-2007-et-la-reservation-de-salles/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 15:25:56 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[fr]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://offroad.gonzofamily.com/?p=562</guid>
		<description><![CDATA[Décidément rien n&#8217;est évident avec Exchange 2007&#8230; après l&#8217;installation nous constatons que les salles n&#8217;acceptent pas automatiquement les réservations. Donc 2 ou 3 réunions ont lieu au même endroit. Il fallait lancer la commande suivante : Set-MailboxCalendarSettings &#60;Identity&#62; -AutomateProcessing:AutoAccept L’inverse : Set-MailboxCalendarSettings &#60;Identity&#62; -AutomateProcessing:None Toutes les salles sont donc actives désormais. C&#8217;est à faire à [...]]]></description>
			<content:encoded><![CDATA[<p>Décidément rien n&#8217;est évident avec Exchange 2007&#8230; après l&#8217;installation nous constatons que les salles n&#8217;acceptent pas automatiquement les réservations. Donc 2 ou 3 réunions ont lieu au même endroit.</p>
<p>Il fallait lancer la commande suivante :</p>
<blockquote><p>Set-MailboxCalendarSettings &lt;Identity&gt; -AutomateProcessing:AutoAccept</p></blockquote>
<p>L’inverse :</p>
<blockquote><p>Set-MailboxCalendarSettings &lt;Identity&gt; -AutomateProcessing:None</p></blockquote>
<p>Toutes les salles sont donc actives désormais. C&#8217;est à faire à chaque nouvelle création de ressources.</p>
]]></content:encoded>
			<wfw:commentRss>http://offroad.gonzofamily.com/2008/12/02/exchange-2007-et-la-reservation-de-salles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changer une boîte exchange 2007 en boîte de salle</title>
		<link>http://offroad.gonzofamily.com/2008/11/24/changer-une-boite-exchange-2007-en-boite-de-salle/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=changer-une-boite-exchange-2007-en-boite-de-salle</link>
		<comments>http://offroad.gonzofamily.com/2008/11/24/changer-une-boite-exchange-2007-en-boite-de-salle/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 19:58:24 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[fr]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://offroad.gonzofamily.com/?p=560</guid>
		<description><![CDATA[En migrant à partir d&#8217;exchange 2003, nos salles de réunions sont identiques aux boîtes utilisateurs alors qu&#8217;exchange 2007 identifie à présent ce genre de compte salle. 2 intérêts à ce changement : elles ne correspondent plus à des comptes utilisateurs actifs avec un mot de passe elles sont correctement reconnues comme salles par Outlook Voici [...]]]></description>
			<content:encoded><![CDATA[<p>En migrant à partir d&#8217;exchange 2003, nos salles de réunions sont identiques aux boîtes utilisateurs alors qu&#8217;exchange 2007 identifie à présent ce genre de compte salle.</p>
<p>2 intérêts à ce changement :</p>
<ul>
<li>elles ne correspondent plus à des comptes utilisateurs actifs avec un mot de passe</li>
<li>elles sont correctement reconnues comme salles par Outlook</li>
</ul>
<p>Voici la commande à lancer dans le shell d&#8217;Exchange 2007</p>
<blockquote><p>Set-Mailbox -Identity Nom_de_la_salle -Type Room</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://offroad.gonzofamily.com/2008/11/24/changer-une-boite-exchange-2007-en-boite-de-salle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Relay SMTP avec Exchange 2007</title>
		<link>http://offroad.gonzofamily.com/2008/11/16/relay-smtp-avec-exchange-2007/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=relay-smtp-avec-exchange-2007</link>
		<comments>http://offroad.gonzofamily.com/2008/11/16/relay-smtp-avec-exchange-2007/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 19:55:09 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[fr]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://offroad.gonzofamily.com/?p=521</guid>
		<description><![CDATA[Pour obtenir un relay SMTP autorisant le relais à la mode exchange 2003 mais sur exchange 2007 ce n&#8217;est pas si évident. On pense que l&#8217;option est si évidente qu&#8217;on va trouver une fenêtre avec une case à cocher, eh ben non ! Comme nous l&#8217;indique le blog de la team exchange, il faut créer [...]]]></description>
			<content:encoded><![CDATA[<p>Pour obtenir un relay SMTP autorisant le relais à la mode exchange 2003 mais sur exchange 2007 ce n&#8217;est pas si évident.</p>
<p>On pense que l&#8217;option est si évidente qu&#8217;on va trouver une fenêtre avec une case à cocher, eh ben non !</p>
<p>Comme nous l&#8217;indique le <a href="http://msexchangeteam.com/archive/2006/12/28/432013.aspx" target="_blank">blog de la team exchange</a>, il faut créer un nouveau connecteur d&#8217;envoie personalisé ;</p>
<p><a rel="attachment wp-att-523" href="http://offroad.gonzofamily.com/files/2008/11/apprelay2.jpg" title="Relay SMTP avec Exchange 2007"><img class="aligncenter size-full wp-image-523" src="http://offroad.gonzofamily.com/files/2008/11/apprelay2.jpg" alt="" width="500" height="436" /></a></p>
<p><a rel="attachment wp-att-522" href="http://offroad.gonzofamily.com/files/2008/11/apprelay3.jpg" title="Relay SMTP avec Exchange 2007"><img class="aligncenter size-full wp-image-522" src="http://offroad.gonzofamily.com/files/2008/11/apprelay3.jpg" alt="" width="500" height="434" /></a></p>
<p>y autoriser les connexions anonymes comme dans les images ci-dessous :</p>
<p><a rel="attachment wp-att-524" href="http://offroad.gonzofamily.com/files/2008/11/apprelay6.jpg" title="Relay SMTP avec Exchange 2007"><img class="aligncenter size-full wp-image-524" src="http://offroad.gonzofamily.com/files/2008/11/apprelay6.jpg" alt="" width="443" height="488" /></a></p>
<p>Cela autorise les connexions mais pas encore le relay, pour le relay il va falloir lancer une commande :</p>
<blockquote><p><span style="font-family: Courier New">Get-ReceiveConnector &#8220;NOM_DU_CONNECTEUR&#8221; | Add-ADPermission -User &#8220;ANONYMOUS LOGON&#8221; -ExtendedRights &#8220;ms-Exch-SMTP-Accept-Any-Recipient&#8221;</span></p></blockquote>
<p>Comme j&#8217;avais déjà un connecteur sur le port 25, j&#8217;ai du attribuer une 2e adresse ip à ma carte réseau. Une ip par connecteur.</p>
]]></content:encoded>
			<wfw:commentRss>http://offroad.gonzofamily.com/2008/11/16/relay-smtp-avec-exchange-2007/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Exchange 2007 et les domaines en .local</title>
		<link>http://offroad.gonzofamily.com/2008/11/14/exchange-2007-et-les-domaines-en-local/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=exchange-2007-et-les-domaines-en-local</link>
		<comments>http://offroad.gonzofamily.com/2008/11/14/exchange-2007-et-les-domaines-en-local/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 00:03:34 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[fr]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://offroad.gonzofamily.com/?p=532</guid>
		<description><![CDATA[J&#8217;ai constaté que comme moi de nombreuses personnes avaient des soucis avec les domaines du genre domaine.local et exchange. &#8220;le nom sur le certificat de sécurité n&#8217;est pas valide ou ne correspond pas au nom de ce site&#8221;. On comprend pourquoi en lançant la commande &#8220;get-clientaccessserver &#124; fl&#8221; dans le shell d&#8217;exchange 2007 ou en [...]]]></description>
			<content:encoded><![CDATA[<p>J&#8217;ai constaté que comme moi de nombreuses personnes avaient des soucis avec les domaines du genre domaine.local et exchange.</p>
<p><a rel="attachment wp-att-533" href="http://offroad.gonzofamily.com/files/2008/11/image-61.png" title="Exchange 2007 et les domaines en .local"><img class="aligncenter size-full wp-image-533" src="http://offroad.gonzofamily.com/files/2008/11/image-61.png" alt="" width="499" height="356" /></a></p>
<p>&#8220;le nom sur le certificat de sécurité n&#8217;est pas valide ou ne correspond pas au nom de ce site&#8221;.</p>
<p>On comprend pourquoi en lançant la commande &#8220;get-clientaccessserver | fl&#8221; dans le shell d&#8217;exchange 2007 ou en faisant un ctrl+click droit sur l&#8217;icone d&#8217;outlook 2007 et en lançant alors &#8220;tester la configuration automatique de la messagerie&#8221;.</p>
<p>En effet on voit alors des horreurs du genre https://serveur.domaine.local/&#8230;&#8230; , forcément on a installé un certificat pour https://mail.domaine.com alors les arlertes s&#8217;enchaînent.</p>
<p>Heureusement le site : <a href="http://www.exchangeninjas.com/set-allvdirs" target="_blank">http://www.exchangeninjas.com/set-allvdirs</a> nous founi un script tout prêt qui change toutes les entrées concernées automatiquement.</p>
<p>Créez un fichier rename_vhost.ps1 contenant :</p>
<blockquote><p><span style="color: #0099cc"># Script to allow you to set all virtual directories to a common name like mail.company.com</p>
<p>Start-Transcript</p>
<p># Variables</p>
<p>[string]$UMExtend = &#8220;/UnifiedMessaging/Service.asmx&#8221;<br />
[string]$OABExtend = &#8220;/OAB&#8221;<br />
[string]$SCPExtend = &#8220;/Autodiscover/Autodiscover.xml&#8221;<br />
[string]$EWSExtend = &#8220;/EWS/Exchange.asmx&#8221;<br />
[string]$ConfirmPrompt = &#8220;Set this Value? (Y/N)&#8221;<br />
[string]$NoChangeForeground = &#8220;white&#8221;<br />
[string]$NoChangeBackground = &#8220;red&#8221;</p>
<p>Write-host &#8220;This will allow you to set the virtual directories associated with Autodiscover provided services to the name you provide.&#8221;<br />
Write-host &#8220;&#8221;<br />
[string]$base = Read-host &#8220;Base name of virtual directory (e.g. mail.company.com)&#8221;<br />
write-host &#8220;&#8221;<br />
# =======================================================<br />
# Validate if a third party trusted certificate is being used<br />
# because BITS won&#8217;t use untrusted certificates<br />
[string]$set = Read-host &#8220;Is the certificate being used an internally generated certificate? (Y/N)&#8221;<br />
Write-host &#8220;&#8221;</p>
<p>if ($set -eq &#8220;Y&#8221;)    {<br />
[string]$OABprefix = &#8220;http://&#8221;<br />
}    else    {<br />
[string]$OABprefix = &#8220;https://&#8221;<br />
}</p>
<p># =======================================================<br />
# Build the Autodiscover URL and set the SCP Value</p>
<p>Write-host &#8220;Setting Autodiscover Service Connection Point&#8221; -foregroundcolor Yellow<br />
write-host &#8220;&#8221;</p>
<p>$SCPURL = &#8220;https://&#8221; + $base + $SCPExtend</p>
<p>[array]$SCPCurrent = Get-ClientAccessServer</p>
<p>Foreach ($value in $SCPCurrent) {<br />
Write-host &#8220;Looking at Server: &#8221; $value.name<br />
Write-host &#8220;Current SCP value: &#8221; $value.AutoDiscoverServiceInternalUri.absoluteuri<br />
Write-host &#8220;New SCP Value:     &#8221; $SCPURL<br />
[string]$set = Read-host $ConfirmPrompt<br />
write-host &#8220;&#8221;</p>
<p>if ($set -eq &#8220;Y&#8221;)    {<br />
Set-ClientAccessServer -id $value.identity -AutoDiscoverServiceInternalUri $SCPURL<br />
}    else {<br />
write-host &#8220;Autodiscover Service Connection Point internal value NOT changed&#8221; -foregroundcolor $NoChangeForeground -backgroundcolor $NoChangeBackground<br />
}<br />
}</p>
<p># =======================================================<br />
# Build the EWS URL and set the internal Value</p>
<p>Write-host &#8220;Setting Exchange Web Services Virtual Directories&#8221; -foregroundcolor Yellow<br />
write-host &#8220;&#8221;</p>
<p>$EWSURL = &#8220;https://&#8221; + $base + $EWSExtend</p>
<p>[array]$EWSCurrent = Get-WebServicesVirtualDirectory</p>
<p>Foreach ($value in $EWSCurrent) {<br />
Write-host &#8220;Looking at Server: &#8221; $value.server<br />
Write-host &#8220;Current Internal Value: &#8221; $value.internalURL<br />
Write-host &#8220;New Internal Value:     &#8221; $EWSUrl<br />
[string]$set = Read-host $ConfirmPrompt<br />
write-host &#8220;&#8221;</p>
<p>if ($set -eq &#8220;Y&#8221;)    {<br />
Set-WebServicesVirtualDirectory -id $value.identity -InternalURL $EWSURL<br />
} else {<br />
write-host &#8220;Exchange Web Services Virtual Directory internal value NOT changed&#8221; -foregroundcolor $NoChangeForeground -backgroundcolor $NoChangeBackground<br />
}</p>
<p>Write-host &#8220;Looking at Server: &#8221; $value.server<br />
Write-host &#8220;Current External Value: &#8221; $value.externalURL<br />
Write-host &#8220;New External Value:     &#8221; $EWSUrl<br />
[string]$set = Read-host $ConfirmPrompt<br />
write-host &#8220;&#8221;</p>
<p>if ($set -eq &#8220;Y&#8221;)    {<br />
Set-WebServicesVirtualDirectory -id $value.identity -ExternalURL $EWSURL<br />
} else {<br />
write-host &#8220;Exchange Web Services Virtual Directory external value NOT changed&#8221; -foregroundcolor $NoChangeForeground -backgroundcolor $NoChangeBackground<br />
}<br />
}</p>
<p># ======================================================<br />
# Build the OAB URL and set the internal Value</p>
<p>Write-host &#8220;Setting OAB Virtual Directories&#8221; -foregroundcolor Yellow<br />
write-host &#8220;&#8221;</p>
<p>$OABURL = $OABprefix + $base + $OABExtend</p>
<p>[array]$OABCurrent = Get-OABVirtualDirectory</p>
<p>Foreach ($value in $OABcurrent) {<br />
Write-host &#8220;Looking at Server: &#8221; $value.server<br />
Write-host &#8220;Current Internal Value: &#8221; $value.internalURL<br />
Write-host &#8220;New Internal Value:     &#8221; $OABUrl<br />
[string]$set = Read-host $ConfirmPrompt<br />
write-host &#8220;&#8221;</p>
<p>if ($set -eq &#8220;Y&#8221;)    {<br />
Set-OABVirtualDirectory -id $value.identity -InternalURL $OABURL<br />
} else {<br />
write-host &#8220;OAB Virtual Directory internal value NOT changed&#8221; -foregroundcolor $NoChangeForeground -backgroundcolor $NoChangeBackground<br />
}</p>
<p>Write-host &#8220;Looking at Server: &#8221; $value.server<br />
Write-host &#8220;Current External Value: &#8221; $value.externalURL<br />
Write-host &#8220;New External Value:     &#8221; $OABUrl<br />
[string]$set = Read-host $ConfirmPrompt<br />
write-host &#8220;&#8221;</p>
<p>if ($set -eq &#8220;Y&#8221;) {<br />
Set-OABVirtualDirectory -id $value.identity -ExternalURL $OABURL<br />
} else {<br />
write-host &#8220;OAB Virtual Directory external value NOT changed&#8221; -foregroundcolor $NoChangeForeground -backgroundcolor $NoChangeBackground<br />
}<br />
}</p>
<p># =======================================================<br />
# Build the UM URL and set the internal Value</p>
<p>Write-host &#8220;Setting UM Virtual Directories&#8221; -foregroundcolor Yellow<br />
write-host &#8220;&#8221;</p>
<p>$UMURL = &#8220;https://&#8221; + $base + $UMExtend</p>
<p>[array]$UMCurrent = Get-UMVirtualDirectory</p>
<p>foreach ($value in $UMCurrent) {<br />
Write-host &#8220;Looking at Server: &#8221; $value.server<br />
Write-host &#8220;Current Internal Value: &#8221; $value.internalURL<br />
Write-host &#8220;New Internal Value:     &#8221; $UMUrl<br />
[string]$set = Read-host $ConfirmPrompt<br />
write-host &#8220;&#8221;</p>
<p>if ($set -eq &#8220;Y&#8221;) {<br />
Set-UMVirtualDirectory -id $value.identity -InternalURL $UMURL<br />
} else {<br />
write-host &#8220;UM Virtual Directory internal value NOT changed&#8221; -foregroundcolor $NoChangeForeground -backgroundcolor $NoChangeBackground<br />
}</p>
<p>Write-host &#8220;Looking at Server: &#8221; $value.server<br />
Write-host &#8220;Current External Value: &#8221; $value.externalURL<br />
Write-host &#8220;New External Value:     &#8221; $UMUrl<br />
[string]$set = Read-host $ConfirmPrompt<br />
write-host &#8220;&#8221;</p>
<p>if ($set -eq &#8220;Y&#8221;) {<br />
Set-UMVirtualDirectory -id $value.identity -ExternalURL $UMURL<br />
} else {<br />
write-host &#8220;UM Virtual Directory external value NOT changed&#8221; -foregroundcolor $NoChangeForeground -backgroundcolor $NoChangeBackground<br />
}<br />
}<br />
Stop-Transcript</span></p></blockquote>
<p>Si vous le lancez dans l&#8217;Exchange Management Shell, il vous demander quel nom vous voulez attribuer, puis vous demandera de confirmer chaque changement sur chaque serveur. Il est rassurant de pouvoir choisir N.</p>
]]></content:encoded>
			<wfw:commentRss>http://offroad.gonzofamily.com/2008/11/14/exchange-2007-et-les-domaines-en-local/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

