Le jeu, 15 mar 2001, vous avez �crit :
Salut,
> J'ai r�ussi � trouver un truc qui a l'air de marcher... mais ... il faut que je
> lance "sendmail -q" � la main pour r�cup�rer les mails...
Lance le apr�s ta connection. Perso, j'utilise cron qui lance une
connexion, ensuite qui lancer le sendmail -q et qui coupe la connexion.
En utilisant les script ifup et ifdown pour la connexion et deconexion.
Cela fait bient�t 3 ans que cela fonctionne comme �a chez moi ;-)
Donc on fait un crontab -e
Ensuite on entre par exemple
# R�cuperation du courrier tout les jours � 10h
00 10 * * * /sbin/ifup ppp0
01 10 * * * /usr/sbin/sendmail -q;/usr/bin/fetchmail;/sbin/ifdown ppp0
Voily voi�a,
A bient�t,
Raphy,
--
"Overhead the albatross hangs motionless upon the air
And deep beneath the rolling waves in labyrinths of coral caves
The echo of a distant tide
Comes willowing across the sand"
-- Pink Floyd in "Echoes" from "Meddle" --