<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.yobi.be/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=213.219.152.156</id>
	<title>YobiWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.yobi.be/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=213.219.152.156"/>
	<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=Special:Contributions/213.219.152.156"/>
	<updated>2026-05-06T03:05:48Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=Fetchmail&amp;diff=2402</id>
		<title>Fetchmail</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=Fetchmail&amp;diff=2402"/>
		<updated>2007-10-23T08:25:20Z</updated>

		<summary type="html">&lt;p&gt;213.219.152.156: /* fetchmailrc */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Installation de Fetchmail==&lt;br /&gt;
 apt-get install fetchmail&lt;br /&gt;
installer un fichier /etc/fetchmailrc comme celui-ci:&lt;br /&gt;
&lt;br /&gt;
==fetchmailrc==&lt;br /&gt;
Exemple de /etc/fetchmailrc:&lt;br /&gt;
&lt;br /&gt;
 set postmaster &amp;quot;fetchmail&amp;quot;&lt;br /&gt;
 set nobouncemail&lt;br /&gt;
 set no spambounce&lt;br /&gt;
 set properties &amp;quot;&amp;quot;&lt;br /&gt;
 set daemon 120&lt;br /&gt;
 &lt;br /&gt;
 # IMAP without SSL/TLS&lt;br /&gt;
 poll courriel.latribu.com with proto IMAP&lt;br /&gt;
        user &#039;xxxx.xxxx@latribu.com&#039; there with password &#039;xxxx&#039; is &#039;phil&#039; here fetchall&lt;br /&gt;
 # IMAP with SSL port 993&lt;br /&gt;
 poll mail.hellea.be with proto IMAP and with interval 5&lt;br /&gt;
        user &#039;xxxx&#039; there with password &#039;xxxx&#039; is &#039;phil&#039; here fetchall ssl sslfingerprint  &amp;quot;24:96:59:5C:A2:D0:60:14:FA:CD:66:32:40:CC:CA:1D&amp;quot;&lt;br /&gt;
 # IMAP with TLS port 143&lt;br /&gt;
 poll mail.hellea.be with proto IMAP and with interval 5&lt;br /&gt;
        user &#039;xxxx&#039; there with password &#039;xxxx&#039; is &#039;phil&#039; here fetchall sslfingerprint  &amp;quot;24:96:59:5C:A2:D0:60:14:FA:CD:66:32:40:CC:CA:1D&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Pour avoir les sslfingerprints:&lt;br /&gt;
 su fetchmail -c &amp;quot;fetchmail -f /etc/fetchmailrc -v -v -N&amp;quot;&lt;br /&gt;
&lt;br /&gt;
C&#039;est important de spécifier les fingerprints sinon on se retrouve avec des erreurs dans les logs system: &lt;br /&gt;
 fetchmail[1234]: Server certificate verification error: self signed certificate&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
Lorsqu&#039;on rencontre une erreur du style:&lt;br /&gt;
 9 messages pour acount_name dans mail.teledisnet.be (47569 octets).&lt;br /&gt;
 fetchmail: erreur protocole client/serveur durant la réception de mail.teledisnet.be&lt;br /&gt;
 fetchmail: État de la requête=4 (PROTOCOLE)&lt;br /&gt;
&lt;br /&gt;
Un fetchmail -v donne :&lt;br /&gt;
 fetchmail: POP3&amp;gt; TOP 1 99999999&lt;br /&gt;
 fetchmail: POP3&amp;lt; -ERR No more than 0 lines can be retrieved with TOP command&lt;br /&gt;
 fetchmail: No more than 0 lines can be retrieved with TOP command&lt;br /&gt;
&lt;br /&gt;
l&#039;histoire c&#039;est que le provider en question ici teledisnet n&#039;accepte plus la commande TOP 1 999999 et il faut donc forcer fetchmail à utiliser la commande RETR&lt;br /&gt;
&lt;br /&gt;
Il suffit simplement d&#039;ajouter dans le fichier ~/.fetchmailrc le mot fetchall en fin de la dernière  ligne&lt;br /&gt;
&lt;br /&gt;
Exemple :&lt;br /&gt;
&lt;br /&gt;
 poll mail.teledisnet.be with proto POP3&lt;br /&gt;
 user &#039;acount_name&#039; there with password &#039;XXXXXXXX&#039; is &#039;dorian&#039; here fetchall&lt;br /&gt;
&lt;br /&gt;
==Installation de Fetchyahoo==&lt;br /&gt;
 apt-get install fetchyahoo&lt;br /&gt;
 andrea@olympe:~$ cp /usr/share/doc/fetchyahoo/examples/fetchyahoorc ~/.fetchyahoorc&lt;br /&gt;
 andrea@olympe:~$ echo &amp;quot;0,15,30,45 6-23 * * * /usr/bin/fetchyahoo&amp;quot;|crontab -u andrea -&lt;br /&gt;
&lt;br /&gt;
Édition d&#039;une copie de /usr/share/doc/fetchyahoo/examples/fetchyahoorc dans ~/.fetchyahoorc&lt;br /&gt;
&lt;br /&gt;
==fetchyahoorc==&lt;br /&gt;
Username et password évidemment&lt;br /&gt;
 username = &#039;&#039;yahoo_user_name&#039;&#039;&lt;br /&gt;
 password = &#039;&#039;XXXXXXXX&#039;&#039;&lt;br /&gt;
On choisit de délivrer dans un Maildir (veiller à finir la ligne par le &amp;quot;/&amp;quot; !!)&lt;br /&gt;
 use-spool = 1&lt;br /&gt;
 spool = /home/andrea/Maildir/.Yahoo/&lt;br /&gt;
 spool-mode = append&lt;br /&gt;
Ou alors on délivre via procmail:&lt;br /&gt;
 use-spool = 1&lt;br /&gt;
 spool = procmail&lt;br /&gt;
 spool-mode = pipe&lt;br /&gt;
Théoriquement on peut reprendre jusquà 100 messages mais on a déjà eu une erreur à 97 alors autant rester &#039;&#039;safe&#039;&#039;&lt;br /&gt;
 max-messages = 80&lt;br /&gt;
On le lancera depuis un cron donc on évite d&#039;avoir un output en temps normal&lt;br /&gt;
 quiet = 1&lt;br /&gt;
On vide le répertoire Bulk qui ne contient jamais rien d&#039;intéressant...&lt;br /&gt;
 empty-bulk = 1&lt;br /&gt;
Il semble plus sûr de se déconnecter après coup.&lt;br /&gt;
 logout = 1&lt;/div&gt;</summary>
		<author><name>213.219.152.156</name></author>
	</entry>
</feed>