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 [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
commence d�j� avec un /etc/fetchmailrc appartenant � root (chown root:root /etc/fetchmailrc puis chmod 600 /etc/fetchmailrc) �pur�: defaults poll pop.wanadoo.f user geo.lours pass "XXXXXXXX" is ton_login
(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... 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
est-ce que le script est bien chmod 755 ? Quand tout est bon, tu fais un /etc/init.d/fetchmail restart Il te faut aussi cr�er un dossier /home/ton_login/Mail Ensuite, avec ton mailer, vas chercher ton courrier sur localhost
#!/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
------------------------------------------------------------------------
Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur "http://www.mandrakestore.com"
--
Jean
\\\!/// -(@ @)- ----------------------------oOO--(_)--OOo----------------------------
Jean Segers Venez r�ver -----> http://www.Demoiselles.com
26, rue du Pin http://www.Sadems.com 34190 Saint Bauzille de Putois http://it.mondelinux.org
France http://www.deveze.com
Gsm 06 86 12 49 15 http://www.cyberboutic.com
Tel&Fax 04 67 73 38 30 http://www.mondelinux.org
Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft? Rendez-vous sur "http://www.mandrakestore.com"
