Outils personnels

Fetchmail - installation : Différence entre versions

De wikiGite

Ligne 10 : Ligne 10 :
 
  # Fetchmail config
 
  # Fetchmail config
 
  poll mail.systea.net with proto POP3
 
  poll mail.systea.net with proto POP3
         user "user1@systea.net" with password "mot_de_passe" is user1 here
+
         user "user1@example.net" with password "mot_de_passe" is user1 here
 
  poll mail.systea.net with proto POP3
 
  poll mail.systea.net with proto POP3
         user "user2@systea.net" with password "mot_de_passe" is user1 here
+
         user "user2@example.net" with password "mot_de_passe" is user1 here
 
  poll pop.free.fr with proto POP3
 
  poll pop.free.fr with proto POP3
 
       user "userFree@free.fr" there with password "mot_de_passe" is user1 here
 
       user "userFree@free.fr" there with password "mot_de_passe" is user1 here

Version du 18 mars 2009 à 18:42

Activer fetchmail

Le fichier de config doit obligatoirement être /etc/fetchmailrc

Mettre START_DAEMON à yes dans /etc/default/fetchmail

Démarrer le démon, si Debian il est déjà dans /etc/rc2.d

Exemple de config :

# Fetchmail config
poll mail.systea.net with proto POP3
        user "user1@example.net" with password "mot_de_passe" is user1 here
poll mail.systea.net with proto POP3
        user "user2@example.net" with password "mot_de_passe" is user1 here
poll pop.free.fr with proto POP3
      user "userFree@free.fr" there with password "mot_de_passe" is user1 here