Aller au contenu

Configuration De Fetchmail


Messages recommandés

Bonjour,

j'ai un DS210j, et je tente d'installer fetchmail, grace a plusieurs topics j'ai pas mal avancer (merci a vos tutos et infos). Mais je bloque sur la configuration

donc actuellement:

j'ai installé fetchmail avec ipkg.

la mailstation etait deja installée. J'arrive a envoyer des emails entre deux comptes et un compte externe.

Pour fetchmail, je n'arrive pas a recuperer les emails des comptes (free par example) et quand je regarde le log de fetchmail je pense qu'il ya une erreur

fetchmail: reading message manu.bourse@pop.free.fr:1 of 5 (7394 octets)Trying to connect to 82.165.51.174/25... (lo$

fetchmail: terminated with signal 15

fetchmail: starting fetchmail 6.3.13 daemon

fetchmail: 6.3.13 querying pop.free.fr (protocol POP3) at Tue, 08 Dec 2009 00:07:07 +0100 (CET): poll started

fetchmail: Trying to connect to 212.27.48.3/110...connected.

fetchmail: POP3< +OK POP3 ready <2102113810.1260227228@pop1-g25.free.fr>

fetchmail: POP3> CAPA

fetchmail: POP3< +OK Capability list follows

fetchmail: POP3< TOP

fetchmail: POP3< USER

fetchmail: POP3< UIDL

fetchmail: POP3< SASL LOGIN PLAIN

fetchmail: POP3< .

fetchmail: pop.free.fr: opportunistic upgrade to TLS failed, trying to continue.

fetchmail: POP3> USER manu.bourse

fetchmail: POP3< +OK

fetchmail: POP3> PASS *

fetchmail: POP3< +OK

fetchmail: POP3> STAT

fetchmail: POP3< +OK 5 105707

fetchmail: 5 messages for manu.bourse at pop.free.fr (105707 octets).

fetchmail: POP3> LIST 1

fetchmail: POP3< +OK 1 7394

fetchmail: POP3> RETR 1

fetchmail: POP3< +OK 7394 octets

a priori si je comprends bien ce que je lis sur le net, cela signifie que la liaison avec mailstation est mauvaise ?? Mais la je seche

voici le fichier de conf de fetchmail

defaults

smtphost 'blanqui.net'

no keep

no rewrite

fetchall

set no bouncemail

set logfile '/dev/null'

set postmaster 'root'

#poll pop.laposte.net with proto POP3 and options no dns :

#user 'login_laposte' there with password 'passe_laposte' is 'login_syno' here ;

poll pop.free.fr with proto POP3 and options no dns :

user 'manu.bourse' there with password 'xxxxxx' is 'manu' here ;

merci d'avance

Lien vers le commentaire
Partager sur d’autres sites

Bonjour,

j'ai un DS210j, et je tente d'installer fetchmail, grace a plusieurs topics j'ai pas mal avancer (merci a vos tutos et infos). Mais je bloque sur la configuration

donc actuellement:

j'ai install

Lien vers le commentaire
Partager sur d’autres sites

Pour executer , pour le moment, je me connecte en root, puis je lance le script a la main

/opt/etc/init.d/S52fetchmail start

puis /opt/etc/init.d/S52fetchmail restart, ca evite de rebooter le nas a chaque changement de config

Merci !! ca va mieux avec localhost.

Par contre je ne retrouve pas non plus mes mails, ils sot bien enlev

Lien vers le commentaire
Partager sur d’autres sites

merci cricx pour ces infos.

Mais non je n'arrive pas a retrouver les mails. Ils sont bien enlever du compte distant mais impossible de les retrouver sur un compte.

voici le rapport de fetchmail, je ne comprends pas, tout a l'air ok, et l'email devrait se trouver dans le compte "demo"

fetchmail: starting fetchmail 6.3.13 daemon

fetchmail: 6.3.13 querying imap.laposte.net (protocol IMAP) at Tue, 08 Dec 2009 23:09:04 +0100 (CET): poll started

fetchmail: Trying to connect to 193.251.214.116/143...connected.

fetchmail: IMAP< * OK IMAP4 server ready

fetchmail: IMAP> A0001 CAPABILITY

fetchmail: IMAP< * CAPABILITY IMAP4 IMAP4rev1 NAMESPACE UIDPLUS CHILDREN X-NETSCAPE

fetchmail: IMAP< A0001 OK Completed

fetchmail: imap.laposte.net: opportunistic upgrade to TLS failed, trying to continue

fetchmail: IMAP> A0002 NOOP

fetchmail: IMAP< A0002 OK Completed

fetchmail: IMAP> A0003 LOGIN "email_externe@laposte.net" *

fetchmail: IMAP< A0003 OK User logged

fetchmail: IMAP> A0004 SELECT "INBOX"

fetchmail: IMAP< * FLAGS (\Answered \Flagged \Draft \Deleted \Seen)

fetchmail: IMAP< * OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen \*)]

fetchmail: IMAP< * 1 EXISTS

fetchmail: IMAP< * 0 RECENT

fetchmail: IMAP< * OK [uNSEEN 1]

fetchmail: IMAP< * OK [uIDVALIDITY 1186174947]

fetchmail: IMAP< * OK [uIDNEXT 113]

fetchmail: IMAP< A0004 OK [READ-WRITE] Completed

fetchmail: IMAP> A0005 EXPUNGE

fetchmail: IMAP< * 1 EXISTS

fetchmail: IMAP< * 0 RECENT

fetchmail: IMAP< A0005 OK Completed

fetchmail: 1 message for email_externe@laposte.net at imap.laposte.net.

fetchmail: IMAP> A0006 FETCH 1 RFC822.SIZE

fetchmail: IMAP< * 1 FETCH (RFC822.SIZE 3809)

fetchmail: IMAP< A0006 OK Completed

fetchmail: IMAP> A0007 FETCH 1 RFC822.HEADER

fetchmail: IMAP< * 1 FETCH (RFC822.HEADER {1750}

fetchmail: reading message email_externe@laposte.net@imap.laposte.net:1 of 1 (1750 header octets)Trying to connect to 127.0.0.1/25...connected.

fetchmail: SMTP< 220 tototititata.net ESMTP Postfix

fetchmail: SMTP> EHLO DiskStation

fetchmail: SMTP< 250-tototititata.net

fetchmail: SMTP< 250-PIPELINING

fetchmail: SMTP< 250-SIZE 10485760

fetchmail: SMTP< 250-VRFY

fetchmail: SMTP< 250-ETRN

fetchmail: SMTP< 250-STARTTLS

fetchmail: SMTP< 250-AUTH LOGIN PLAIN

fetchmail: SMTP< 250-AUTH=LOGIN PLAIN

fetchmail: SMTP< 250-ENHANCEDSTATUSCODES

fetchmail: SMTP< 250-8BITMIME

fetchmail: SMTP< 250 DSN

fetchmail: SMTP> MAIL FROM:<email_externe@googlemail.com> SIZE=3809

fetchmail: SMTP< 250 2.1.0 Ok

fetchmail: SMTP> RCPT TO:<demo@localhost>

fetchmail: SMTP< 250 2.1.5 Ok

fetchmail: SMTP> DATA

fetchmail: SMTP< 354 End data with <CR><LF>.<CR><LF>

fetchmail: IMAP< )

fetchmail: IMAP< A0007 OK Completed

fetchmail: IMAP> A0008 FETCH 1 BODY.PEEK[TEXT]

fetchmail: IMAP< * 1 FETCH (BODY[TEXT] {2059}

fetchmail: (2059 body octets) (log message incomplete)

fetchmail: IMAP< )

fetchmail: IMAP< A0008 OK Completed

fetchmail: SMTP>. (EOM)

fetchmail: SMTP< 250 2.0.0 Ok: queued as 4B8207B200B

fetchmail: flushed

fetchmail: IMAP> A0009 STORE 1 +FLAGS (\Seen \Deleted)

fetchmail: IMAP< * 1 FETCH (FLAGS (\Deleted \Seen))

fetchmail: IMAP< A0009 OK Completed

fetchmail: IMAP> A0010 EXPUNGE

fetchmail: IMAP< * 1 EXPUNGE

fetchmail: IMAP< * 0 EXISTS

fetchmail: IMAP< * 0 RECENT

fetchmail: IMAP< A0010 OK Completed

fetchmail: IMAP> A0011 LOGOUT

fetchmail: IMAP< * BYE LOGOUT received

fetchmail: IMAP< A0011 OK Completed

fetchmail: SMTP> QUIT

fetchmail: SMTP< 221 2.0.0 Bye

fetchmail: 6.3.13 querying imap.laposte.net (protocol IMAP) at Tue, 08 Dec 2009 23:09:05 +0100 (CET): poll completed

fetchmail: sleeping at Tue, 08 Dec 2009 23:09:05 +0100 (CET) for 300 seconds

Par contre, le nom de domaine de mailstation est complement bidon 'tototititata.net'. Cela peut il poser probleme ??

Si vous avez une piste , ca serait gentil

a+

le log est OK, mais le mail est envoy

Lien vers le commentaire
Partager sur d’autres sites

Formidable !!!!

un grand merci a toi cricx, ca y est ca marche !

alors ce que j'ai fait :

dans mail station :

Nom de domaine = tototititata.net

dans fetchmailrc :

smtphost 'tototititata.net'

dans le fichier /etc/hosts , rajouter la ligne suivante

127.0.0.1 tototititata.net

je n'ai plus qu'a configurer tous les comptes!

Merci pour l'aide

a+

Lien vers le commentaire
Partager sur d’autres sites

  • 6 mois après...

Bonjour,

Lorsque je lance la commande sh /opt/etc/init.d/S52fetchmail start, j'obtiens le message d'erreur ci-dessous :

starting service fetchmail

fetchmail: WARNING: Running as root is discouraged.

fetchmail:/opt/etc/fetchmailrc:5: syntax error at qui

J'ai pourtant fait un copier/coller du script de fredlime.

Pouvez-vous m'aider svp ?

J'ai corrigé le pb, pardon pour ce post.

Lien vers le commentaire
Partager sur d’autres sites

Bonjour,

Lorsque je lance la commande sh /opt/etc/init.d/S52fetchmail start, j'obtiens le message d'erreur ci-dessous :

starting service fetchmail

fetchmail: WARNING: Running as root is discouraged.

fetchmail:/opt/etc/fetchmailrc:5: syntax error at qui

J'ai pourtant fait un copier/coller du script de fredlime.

Pouvez-vous m'aider svp ?

J'ai corrig

Lien vers le commentaire
Partager sur d’autres sites

  • 2 mois après...

Ca y est, cela fonctionne bien maintenant : En fait pour qu'il se lance correctement, j'ai du rajouter "/opt/bin" devant fetchmail dans le fichier S52fetchmail :

PROG="/opt/bin/fetchmail"

Pourtant j'avais repris le fichier qui se trouve quelques posts plus haut, enfin, le principal, c'est que cela fonctionne.

Merci

Lien vers le commentaire
Partager sur d’autres sites

Rejoindre la conversation

Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.

Invité
Répondre à ce sujet…

×   Collé en tant que texte enrichi.   Coller en tant que texte brut à la place

  Seulement 75 émoticônes maximum sont autorisées.

×   Votre lien a été automatiquement intégré.   Afficher plutôt comme un lien

×   Votre contenu précédent a été rétabli.   Vider l’éditeur

×   Vous ne pouvez pas directement coller des images. Envoyez-les depuis votre ordinateur ou insérez-les depuis une URL.

×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.