On Mon, Jan 06, 2003 at 03:11:18PM +0100, Georges Lours wrote:
> Le Mon, 6 Jan 2003 14:20:27 +0100
> napo978 <[EMAIL PROTECTED]> �crivait :
> 
> > On Mon, Jan 06, 2003 at 11:36:51AM +0100, Georges Lours wrote:
> > > 
> > > [georges@portable georges]$ fetchmailconf &
> > > [1] 20192
> > > [georges@portable georges]$ Can't read configuration output of
> > > fetchmail--configdump.
> > > 
> 
> > 
> > en root essai de faire mailq (si un serveur comme postfix ou exim est
> > installe) tu retrouveras tes messages en theorie
> > je pense que c est qu il ne sait pas a qui les donner 
> > j avais ce probleme et en rajoutant options smtpname... dans le
> > .fetchmailrc ca marchait apres
> > (de toute facon j en joins un que j ai essaye d expliquer)
> > pour fetchmailconf je sais ps du tout comment ca marche 
> > fetchmaildaemon sert a relever les mails automatiquement
> > a la fin du man il y a quelques exemples tout a fait comprehensible si
> > on connait un tout petit peu l anglais :-)
> > B- 
> > > 
> 
> Je ne dois pas avoir compris.
> Voil� ce que donne maiq en root
> 
> georges@portable georges]$ su
> Password:
> [root@portable georges]# mailq
> bash: mailq: command not found
> [root@portable georges]# locate mailq
> /usr/bin/mailq
> /usr/bin/mailq.postfix
> /usr/bin/mailq.faces
> /usr/share/doc/postfix-1.1.11/html/mailq.1.html
> /usr/share/doc/fetchmail-6.1.0/contrib/mailqueue.pl
> /usr/share/man/man1/mailq.1.bz2
> /usr/share/man/man1/mailq.postfix.1.bz2
> /home/georges/Programmes/mozilla/htmlparser/tests/outsinks/mailquote.out
> /home/georges/Programmes/mozilla/htmlparser/tests/outsinks/mailquote.ht
> ml[root@portable georges]# /usr/bin/mailq
> bash: /usr/bin/mailq: No such file or directory
postfix n est pas etre configure :-)

> [root@portable georges]#
> 
> voila un extrait de mon fetchmailrc
> 
> # Put here each user config
> set postmaster "georges"
> set bouncemail
> set no spambounce
> set properties ""
> poll pop.wanadoo.fr with proto POP3
> user 'geo.lours' there with password 'XXXXXX' is 'XXXXXX' here options
> fetchall
> 
> (NB le fetchall est sur la m�me ligne que la pr�c�dente)
> j'ai rajout� (apr�s fetchall) smtpname [EMAIL PROTECTED]
> le r�sultat n'est pas meilleur, le post test que j'avais envoy�
> (j'esp�re que c'est celui l�) a �t� "�limin�" comme indiqu� ci-dessus...
si tu mets ca t as pas besoin du is '  '  here en plus ca me parait pas
tres correct c est is "ton loginlocal" here
d ailleurs dans le man ils mettent " " et pas ' ' (je sais pas si c est
grave ou pas ???? )

> Enfin, mon /etc/init.d/fetchmail est ainsi, ci qui, d'apr�s ce que j'ai
> compris dans le message de Jean Segers,  implique une v�rification des
> bo�tes aux lettres toutes les 180 secondes
le /etc/init.d/fetchmail sert si tu mets le service fetchmail au
demarage c est alors par defaut la configuration de fetchmail de root
qui est utilisee ce qui n arrange pas forcement un utilisatuer autre...
B-

> 
> #!/bin/sh#
> # chkconfig: 345 91 35
> # description:        Starts and stops the fetchmail daemon used to retrive mail \
> #             via various protocols (such as POP3 and IMAP4).
> #
> # config:     /etc/fetchmailrc
> 
> # Source function library.
> . /etc/rc.d/init.d/functions
> 
> # Source networking configuration.
> . /etc/sysconfig/network
> 
> # Check that networking is up.
> [ ${NETWORKING} = "no" ] && exit 0
> 
> # Check that fetchmailrc exists.
> [ -s /etc/fetchmailrc ] || exit 0
> 
> 
> RETVAL=0
> 
> # See how we were called.
> case "$1" in
>   start)
>       if [ ! -f /var/lock/subsys/fetchmail ]; then
>               gprintf "Starting Fetchmail services: "
>               daemon fetchmail -d 180 -f /etc/fetchmailrc
>               RETVAL=$?
>               echo
>               [ $RETVAL -eq 0 ] && touch /var/lock/subsys/fetchmail
>       else
>               RETVAL=1
>       fi
>         ;;
>   stop)
>       if [ -f /var/lock/subsys/fetchmail ]; then
> #             killproc fetchmail
>               action "Shutting Fetchmail services: " /usr/bin/fetchmail --quit
>               rm -f /var/lock/subsys/fetchmail >/dev/null 2>&1
>               RETVAL=$?
>       else
>               RETVAL=1
>       fi      
>         ;;
>   restart)
>       $0 stop
>       $0 start
>       RETVAL=$?
>       ;;
>   reload)
>       if [ -f /var/lock/subsys/fetchmail ]; then
>               gprintf "Reloading fetchmailrc file: "
>               killproc fetchmail -HUP
>               RETVAL=$?
>               echo
>       else
>               RETVAL=1
>       fi
>       ;;
>   status)
>       status fetchmail
>       RETVAL=$?
>       ;;
>   *)
>       gprintf "Usage: %s {start|stop|restart|reload|status}\n" "$0"
>       exit 1
> esac
> 
> exit $RETVAL
> 
> 
> Suis-je clair ?
> Merci de ton aide
> -- 
> Georges Lours
> [EMAIL PROTECTED]
> 

> Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
> Rendez-vous sur "http://www.mandrakestore.com";


-- 
"Le droit au travail ? vous l'avez ! si seulement ce n'etait pas un devoir."
                                                          B. Vian

Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur "http://www.mandrakestore.com";

Répondre à