Changes

Jump to navigation Jump to search
2,450 bytes added ,  23:09, 15 July 2017
Line 1: Line 1:  
{{Languages|Fetchmail}}
 
{{Languages|Fetchmail}}
 
== Fetchmail pour SME Server ==
 
== Fetchmail pour SME Server ==
 +
 +
==== Version ====
 +
{{ #smeversion: smeserver-fetchmail}}
    
=== Mainteneur ===
 
=== Mainteneur ===
Line 8: Line 11:  
=== Description ===
 
=== Description ===
   −
*Fetchmail récupère les mails des boites aux lettres externes avec plusieurs options.  
+
*Fetchmail récupère les courriels des boites aux lettres externes avec plusieurs options.  
   −
Guide d'installation pas à pas de Fetchmail sur SMEserver pour les nuls.
+
Guide d'installation pas à pas de Fetchmail sur le Serveur SME pour les nuls.
   −
Avant d'installer, [http://www.schirrms.net/files/ vérifiez la dernière version ici]
+
=== Installation ===
et remplacez les noms de fichiers dans les étapes 2 & 3 si nécessaire.
     −
=== Installation ===
+
1. Se connecter (avec l'utilisateur root) sur un terminal du Serveur SME.
   −
1. Se logguer (avec l'utilisateur root) à la console de SMEserver.
+
2. Installer Fetchmail :
   −
2. Téléchargez Fetchmail depuis le site web de Pascal Schirrmann :
+
yum --enablerepo=smecontribs install smeserver-fetchmail
 +
signal-event console-save
   −
wget http://www.schirrms.net/files/smeserver-fetchmail-1.3.5-01.noarch.rpm
+
Vous aurez une question à répondre par «oui» ou «non» ; répondez «oui» si c'est correct.
   −
3. Installez Fetchmail:
     −
yum localinstall smeserver-fetchmail-1.3.5-01.noarch.rpm
+
3. Des instructions à la fin de l'installation recommandent d'exécuter les commandes suivantes :
 +
<br><code>"signal-event post-upgrade" and "signal-event reboot"</code>
 +
<br>Mais la reconfiguration du serveur n'est pas nécessaire après l'installation du RPM.
   −
4. Le reconfiguration du serveur n'est pas nécessaire après l'installation du RPM
     −
5. Dans le server-manager, vous devriez trouver dans la catégorie 'Collaboration' un panneau 'Récupération des mails'.
+
4. Dans le gestionnaire du serveur, vous devriez trouver dans la catégorie 'Collaboration' un panneau 'Récupération des mails'.
    
Ceci vous donne accès à la page de configuration principale de Fetchmail.
 
Ceci vous donne accès à la page de configuration principale de Fetchmail.
Line 42: Line 45:     
Pour plus d'infos lisez le [http://schirrms.net/sme/SMEFetchMail.php howto de l'auteur ici].
 
Pour plus d'infos lisez le [http://schirrms.net/sme/SMEFetchMail.php howto de l'auteur ici].
 +
 +
To enable detailed logging on a per account basis for troubleshooting purposes do the following:
 +
 +
From the Fetchmail management interface, select mail retrevial, select the required account, set the option for: Do you want to debug this account  - YES
 +
 +
Look at the maillog log file a few hours later for possible clues.
 +
 +
To enable detailed logging in Fetchmail (and be able to monitor it after typing /etc/startmail), manually edit /etc/fetchmail and put fetchmail in verbose mode.
 +
Then start it with /etc/startmail and check the log with tail -f
 +
 +
Taken from [http://forums.contribs.org/index.php/topic,44653.0.html this forum post].
 +
 +
===Configuration ===
 +
 +
if Fetchmail start to load multiple time the same emails, this might be a timeout problem, you should increase the default value (30 second):
 +
/sbin/e-smith/db configuration setprop FetchMails timeout 30
 +
/sbin/e-smith/expand-template /etc/fetchmail
 +
 +
If Fetchmail is unable to find te destination host, you can set it here:
 +
/sbin/e-smith/db configuration getprop FetchMails fetchhost
 +
/sbin/e-smith/expand-template /etc/fetchmail
 +
 +
=== FAQ ===
 +
'''Q: What do these strange mails with '#********' from cron mean?'''<br>
 +
A: If you enabled the debug option for an account in the Mail Retrieval panel in the server-manager you will possibly receive mail from Cron Daemon with the subject "Cron <root@YOURSERVER> /etc/startmail". The mail contains patterns like this: #********.
 +
You will stop receiving this mails if you disable debugging for all configured users in the Mail Retrieval panel in the server-manager.
 +
 +
 +
===E-mail Retrieval Error===
 +
If your ISP does not provide a custom sort field and you experience the following errors occuring when Multidrop is enabled and the "Select Sort Method (for multi-drop)" is set to Default:
 +
 +
fetchmail: warning: multidrop for pop3.mypopserver.com requires envelope option!
 +
fetchmail: warning: Do not ask for support if all mail goes to postmaster!
 +
 +
and/or
 +
 +
fetchmail: warning: multidrop for my.isp.domain requires envelope option!
 +
fetchmail: warning: Do not ask for support if all mail goes to postmaster!
 +
 +
 +
Set "Select Sort Method (for multi-drop) to 'Received' or 'for'
 +
As described at [[bugzilla:5602]] [[bugzilla:6483]]
    
=== Bugs ===
 
=== Bugs ===
Merci de remonter les bugs dans la section SME-Contribs du {{BugzillaFileBug|product=|component=|title=bugzilla}}et choisir le composant smeserver-fetchmail ou utilisez {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-fetchmail|title=ce lien}}.
+
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}and select the smeserver-fetchmail component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-fetchmail|title=this link}}.
 +
 
   −
=== Compatibilité ===
+
{{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc |component=smeserver-fetchmail |noresultsmessage="No open bugs found."}}
   −
Testé sur : SMEserver v7.1.3 et SMEserver v7.2
     −
smeserver-fetchmail-1.3.5-01.noarch.rpm
+
=== Changelog ===
 +
Only versions released in smecontrib are listed here:
 +
{{ #smechangelog: smeserver-fetchmail }}
    
----
 
----
3,054

edits

Navigation menu