View previous topic :: View next topic |
Author |
Message |
halucard Tux's lil' helper
Joined: 22 Dec 2003 Posts: 133
|
Posted: Sun Feb 15, 2004 2:16 pm Post subject: [job cron & fetchmail] Erreur de lecture |
|
|
Bonjour à tous,
J'ai installé mutt grâce à la documentation du site de gentoo. J'ai créé un job cron avec webmin. Avec webminn j'ai lancé le job cron pour faire un test et ca marche. Puis, j'ai défini quand il doit lancer le job cron : toutes les 10 minutes, et tous les jours. Puis quand, il s'exécute tout seul, j'ai un mail en local me disant ce ceci :
Code: | reading message xxxxxxx@pop.free.fr:1 of 30 (976 octets)
sh: -c: line 1: unexpected EOF while looking for matching `''
sh: -c: line 2: syntax error: unexpected end of file
#**fetchmail: SIGPIPE thrown from an MDA or a stream socket error
fetchmail: socket error while fetching from pop.free.fr
fetchmail: 6.2.3 querying pop.free.fr (protocol POP3) at Sun Feb 15 15:30:04
2004: poll completed
fetchmail: Query status=2 (SOCKET)
fetchmail: normal termination, status 2 |
Pourquoi il me fait ça ? Sinon, comment fait-on pour créer un job cron sans webmin ? J'ai cherché et j'ai pas trouvé.
Merci d'avance pour votre aide
halucard |
|
Back to top |
|
|
Sleeper l33t
Joined: 12 Nov 2002 Posts: 667
|
Posted: Sun Feb 15, 2004 7:29 pm Post subject: |
|
|
Humm .. Pas vraiment d'idee, mais pourquoi ne pas faire tourner fetchmail en demon ??
Le debut de mon /etc/fetchmailrc commence par Code: | set postmaster "sleeper"
set bouncemail
set properties ""
set daemon 120
|
Ensuite j'ai ajouter fetchmail au boot : Code: | rc-update add fetchmail default |
|
|
Back to top |
|
|
halucard Tux's lil' helper
Joined: 22 Dec 2003 Posts: 133
|
Posted: Sun Feb 15, 2004 11:07 pm Post subject: |
|
|
Merci pour la reponse. Mais est-ce que tu utilises procmail ? |
|
Back to top |
|
|
|