[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Config de fetchmail



Le (On)  Sun, Jan 16, 2000 at 06:14:09PM +0100, Gilles Filippini écrivait (wrote) :
> Bonjour,

> Voici un extrait des messages de fetchmail lorsque je l'invoque via
>     fetchmail -d0 -v
> ...
> fetchmail: reading message 1 of 1 (6568 octets)
> fetchmail: SMTP connect to localhost failed: Connection refused
> fetchmail: POP3> QUIT
> fetchmail: POP3< Jeroen van der Zijp wrote:
> fetchmail: SMTP transaction error while fetching from pop.accesinter.com
> 
> Une idée ? Là je suis sec...

Si on ne lui pas de ne pas le faire, fetchmail passe les courriers au
MTA qui écute sur le port 25 local. Tu n'en as, d'où l'échec de la
connexion à localhost.

Le passage correspondant de la page de man de fetchmail est : 

       As each message is retrieved fetchmail  normally  delivers
       it  via  SMTP  to  port 25 on the machine it is running on
       (localhost), just as though it were being passed in over a
       normal  TCP/IP  link.   The  mail  will  then be delivered
       locally via your system's MDA (Mail Delivery  Agent,  usu-
       ally  sendmail(8)  but your system may use a different one
       such as smail, mmdf, or qmail).  All the  delivery-control
       mechanisms  (such  as  .forward  files) normally available
       through your system MDA and  local  delivery  agents  will
       therefore work.

La solution est de lui spécifier un programme de délivrance de
courrier, par exemple procmail. Un extrait de mon .fetchmailrc :

poll pop.freesurf.fr proto pop3
             user toto, with password monMotDePasse, is petit here
	     mda "/usr/bin/procmail  -f-";

C'est la 3e ligne qui t'intéresse.

Le problème a été traîté plusieurs fois sur fr.comp.mail.

En hopant que ça helpe.

-- 
Pascal PETIT                    Pascal.PETIT@lami.univ-evry.fr


Reply to: