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

Re: postfix, fetchmail



Am 2005-04-09 15:51:54, schrieb COLAS Yves:

> J'ai modifié mon /root/.fetchmailrc
> 
> familybox:/home/coco# cat /root/.fetchmailrc
> # wanadoo
> poll pop.wanadoo.fr with proto POP3
>        user 'adress.bebe' there with password 'xxx' is bebe here 
> options keep mda "/usr/sbin/sendmail -i -f %F %T"

C'est OK et comme chez moi.

> Je lance fetchmail
> 
> familybox:/home/coco# fetchmail
> 3 messages pour adress.bebe dans pop.wanadoo.fr (3293 octets).
> lecture du message adress.bebe@pop.wanadoo.fr:1 parmi 3 (1110 octets) . 
> non éliminé
> lecture du message adress.bebe@pop.wanadoo.fr:2 parmi 3 (1104 octets) . 
> non éliminé
> lecture du message adress.bebe@pop.wanadoo.fr:3 parmi 3 (1079 octets) . 
> non éliminé

OK

> Ca va déjà mieux, mais je n'ai aucun mail qui arrive.
> 
> familybox:/home/coco# su bebe
> bebe@familybox:/home/coco$ mail
> No mail for bebe
> bebe@familybox:/home/coco$

Quoi done 'echo $MAIL' ?
Et un 'ls -AlG /var/mail/*' ?

Et porquoi tu utiliser pas procmail,
que supporter mailbox, maildir et mh ?

> Et rien dans /home/bebe/Maildir/new
> 
> /var/log/mail.info :
> 
> Apr  9 15:35:32 localhost postfix/pickup[4749]: ED64B23F79: uid=1001 
> from=<adress.coco@wanadoo.fr>
> Apr  9 15:35:32 localhost postfix/cleanup[5074]: ED64B23F79: 
> message-id=<20050409110830.9D7F723EAD@familybox.chezcoco.vyc>
> Apr  9 15:35:33 localhost postfix/qmgr[2600]: 74D1E23EA9: removed
> Apr  9 15:35:33 localhost postfix/qmgr[2600]: ED64B23F79: 
> from=<adress.coco@wanadoo.fr>, size=1327, nrcpt=1 (queue active)
> Apr  9 15:35:33 localhost postfix/smtp[5076]: ED64B23F79: 
> to=<bebe@familybox.chezcoco.vyc>, orig_to=<bebe>, 
> relay=smtp.wanadoo.fr[193.252.22.115], delay=1, status=sent (250 Ok: 
  ^^^^^^^^^^^^^^^^^^^^^
> queued as 7EC5B24000C5)
>           ^^^^^^^^^^
>           c'est normal ça ?

Il esseyewr du envoyer le message à <smtp.wanadoo.fr> et ça marche pas?

> Apr  9 15:35:33 localhost postfix/qmgr[2600]: ED64B23F79: removed
> 
> Et je reçois toujours des "Mail Delivery System" de wanadoo qui me disent :
> 
> <bebe@familybox.chezcoco.vyc>: Host or domain name not found. Name service
>    error for name=familybox.chezcoco.vyc type=A: Host not found

Oui, parce que <familybox.chezcoco.vyc> est chez toi, à la maison.

Il est ton "postfix" que est mal configure...

Si procmail est installer, cree le fichier:

  __( '/home/bebe/.procmailrc' )________________________________________
 /
| PATH=$HOME/bin:/usr/bin:/bin:
| MAILDIR=$HOME/Maildir
| DEFAULT=$MAILDIR/.INBOX/
 \______________________________________________________________________

et dans le:

  __( '/etc/fetchmailrc' )______________________________________________
 /
| ####################################################################
| # Global
| ####################################################################
| set no bouncemail
| set postmaster        coco
| set invisible
| 
| ####################################################################
| # Defaults
| ####################################################################
| defaults:
|     antispam          -1 
|     batchlimit        10
|     warnings          300
| #    fetchall
|     keep
| #    expunge           1
|     mda               "/usr/bin/procmail -d %T"
|     dropstatus
| 
| ####################################################################
| poll pop.wanadoo.fr protocol pop3 timeout 60
|     user address.coco     password xxxxxxx    is bebe         here
 \______________________________________________________________________

La configuration de fetchmail et procmail marcher depuis
des annes chez moi.  Et pour envoyer je utiliser 'ssmtp'
parce que il es beaucoup plus legere.

Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: