[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fetchmail fonctionne mal en mode démon



Le lun 12 mai 2003, à 10 h 04 min 27 s  (UTC +0200),
james a écrit :

> Bonjour,
> 
> Je n'arrive pas à configurer correctement fetchmail sur mon serveur debian
> woody pour qu'il rappatrie les messages toutes les 5 minutes et je suis
> obligé de le relancer à la main pour qu'il fasse le rappatriement alors
> qu'il apparait bien lorsque je fais un ps -A.
> 
> En effet, il ne s'éxécute tout simplement pas tous les 5 minutes comme je
> voudrais, càd que même le fichier de log ne se remplit pas.
> 
> J'ai regarder dans /etc/default/fetchmail pour voir si je voyais qqch de
> bizarre mais je n'ai pas vu ce qui pourrait expliquer mon problème.
> 
> Alors je me permets de soumettre à votre sagacité mes fichiers de
> configuration pour avoir votre avis
> 
> fichier fetchmailrc dans /etc/:
> # Configuration created Mon Nov 18 16:07:52 2002 by fetchmailconf
> set logfile "/etc/fetchmaillog"
> set postmaster "postmaster"
> set no bouncemail
> set no spambounce
> #set properties ""
> set daemon 300
> poll pop.wanadoo.fr with proto POP3 timeout 300 interval 600
>        user 'sabinus.informatique.support1' there with password 'motdepasse'
> is 'joss' here
>     user 'sabinus.informatique' there with password 'motdepasse' is 'sch'
> here
>     user 'diderot.christophe' there with password 'motdepasse' is 'cdiderot'
> here

Moi j'ai ça en plus
,----
| set idfile "/var/mail/.fetchmail-UIDL-cache"
`----

et ça en moins
,----
| set daemon 300
`----

> fichier fetchmail dans /etc/default/fetchmail/ :
> 
> # Defaults for fetchmail initscript
> # sourced by /etc/init.d/fetchmail
> # installed at /etc/default/fetchmail by the maintainer scripts
> # $Id: init.defaults,v 1.8 2001/06/18 04:33:42 hmh Exp $
> 
> #
> # This is a POSIX shell fragment
> #
> 
> # Master system-wide fetchmail switch. The initscript will not run if it is
> not
> # set to true. STOP THE SERVICE BEFORE DISABLING IT!
> #
> # Unless you have the fetchmail user properly setup on your system or will
> set
> # RUNASROOT below to true, you'd better use dpkg-reconfigure to change this.
> #
> # [automatically edited by postinst, do not change line format or set it to
> # anything but false or true ]
> SERVICE=true
> 
> # System-wide fetchmail conffile. The initscripts are triggered by the
> presence
> # of this file.
> CONFFILE=/etc/fetchmailrc
> 
> # Default options. These take precedence over anything configured by
> CONFFILE
> # above, so if you like to have any of them specified in CONFFILE, remove
> them
> # from the line below.
> 
> 
> # Whether to run the systemwide fetchmail daemon as root (can deliver to a
> MDA
> # and create BSMTP files as root); or as user fetchmail (much safer, and
> works
> # just as well as long as you deliver to SMTP or to a non-cretin
> /sbin/sendmail
> # MTA, such as postfix).
> #
> # RUN /etc/init.d/fetchmail stop BEFORE YOU CHANGE "RUNASROOT"
> #
> # set to "true" if you want to run fetchmail as root (and risk remote root
> # exploits), or to "false" otherwise.
> #
> # [automatically edited by postinst, do not change line format or set it to
> # anything but false or true ]
> RUNASROOT=true

Moi j'ai dans /etc/default/fetchmail

,----
| SERVICE=true
| CONFFILE=/etc/fetchmailrc
| OPTIONS="--daemon 300 --syslog"
| RUNASROOT=false
`----

avec ça cela devrait marcher

-- 
Philippe Monroux
Île de la Reunion 
E 55.3° S 21.5°



Reply to: