Bonjour,
Grace aux conseils du lea-book j'ai install� fetchmail.
Je voudrais que fetchmail me redirige ce qu'il fait dans un log.
Un "man fetchmail" me donne la possibilit� de le faire mais �a n'a pas
march�. Sans doute une erreur de config ....
Ma ligne de commande dans mon ip-up.local est :
/usr/bin/fetchmail --keep --logfile /home/fm/fetchmail.log
(le 'keep', c'est parce que je suis en essai, et je ne tiens pas �
paumer des messages).
Mon fichier /root/.fetchmailrc ressemble � �a :
# Configuration created Sun Aug 13 22:10:00 2000 by fetchmailconf
set postmaster "postmaster"
set bouncemail
set properties ""
poll mail.worldnet.fr with proto POP3
user xxxxxxx there with password yyyyyyyyy is fm here
options forcecr warnings 3600 smtpaddress 'localhost'
antispam 571 550 501 554
Y'a t'il quelque chose qui manquerait ?
Faut il mettre une option "set logfile /home/fm/fetchmail.log" ?
Enfin, faut il que je change ce "smtpaddress 'localhost'" en
"smtpaddress '192.168.131.1'" (cette adresse �tant celle de cette
machine qui sert de serveur DNS) ??
Merci. Francois
P.S. Si un dernier truc : ou est ce que fetchmail met les messages
qu'il r�cup�re ???? En tapant "mail", on me dit qu'il n'y a rien, alors
que j'ai vu que fetchmail r�cup�rait des choses. Voil� un extrait du
log (je ne me souviens plus quel log d'ailleurs ;-)) :
Aug 20 11:34:29 warren sendmail[1464]: e7K9YTk01464: from=fm, size=4329, class=0,
nrcpts=1, msgid=<[EMAIL PROTECTED]>, bodytype=8BITMIME,
relay=localhost [[UNIX: localhost]]
Aug 20 11:34:29 warren sendmail[1464]: e7K9YTk01464: [EMAIL PROTECTED],
delay=00:00:00, mailer=smtp, pri=34329, stat=queued
Aug 20 11:35:30 warren postfix/smtpd[1475]: connect from
localhost.localdomain[127.0.0.1]
Aug 20 11:35:30 warren postfix/smtpd[1475]: 2C5C25E69:
client=localhost.localdomain[127.0.0.1]
Aug 20 11:35:30 warren postfix/cleanup[1476]: 2C5C25E69:
message-id=<[EMAIL PROTECTED]>
Aug 20 11:35:30 warren postfix/qmgr[680]: 2C5C25E69:
from=<[EMAIL PROTECTED]>, size=3875 (queue active)
Aug 20 11:35:30 warren postfix/local[1478]: fatal: open database
/etc/postfix/aliases.db: No such file or directory
Aug 20 11:35:30 warren postfix/smtpd[1475]: C4F455E6A:
client=localhost.localdomain[127.0.0.1]
Aug 20 11:35:30 warren postfix/cleanup[1476]: C4F455E6A:
message-id=<[EMAIL PROTECTED]>
Aug 20 11:35:30 warren postfix/qmgr[680]: C4F455E6A: from=<[EMAIL PROTECTED]>,
size=3568 (queue active)
Aug 20 11:35:30 warren postfix/local[1479]: fatal: open database
/etc/postfix/aliases.db: No such file or directory
Aug 20 11:35:31 warren postfix/qmgr[680]: warning: mail_scan_any: got EOF; expected:
string
Aug 20 11:35:31 warren postfix/qmgr[680]: warning: private/local: malformed response
Aug 20 11:35:31 warren postfix/master[675]: warning: process /usr/lib/postfix/local
pid 1478 exit status 1
Aug 20 11:35:31 warren postfix/master[675]: warning: /usr/lib/postfix/local: bad
command startup -- throttling
Aug 20 11:35:31 warren postfix/smtpd[1475]: 5E62F5E6B:
client=localhost.localdomain[127.0.0.1]
Aug 20 11:35:31 warren postfix/cleanup[1476]: 5E62F5E6B:
message-id=<[EMAIL PROTECTED]>
Aug 20 11:35:31 warren postfix/qmgr[680]: 5E62F5E6B: from=<[EMAIL PROTECTED]>,
size=4246 (queue active)
Aug 20 11:35:31 warren postfix/qmgr[680]: 5E62F5E6B: to=<[EMAIL PROTECTED]>,
relay=none, delay=0, status=deferred (unknown mail transport error)
Aug 20 11:35:31 warren postfix/qmgr[680]: warning: mail_scan_any: got EOF; expected:
string
Aug 20 11:35:31 warren postfix/qmgr[680]: warning: private/local: malformed response
Aug 20 11:35:31 warren postfix/master[675]: warning: process /usr/lib/postfix/local
pid 1479 exit status 1
Aug 20 11:35:32 warren postfix/smtpd[1475]: 12BB65E6C:
client=localhost.localdomain[127.0.0.1]
Aug 20 11:35:32 warren postfix/cleanup[1476]: 12BB65E6C:
message-id=<[EMAIL PROTECTED]>
Aug 20 11:35:32 warren postfix/qmgr[680]: 12BB65E6C:
from=<[EMAIL PROTECTED]>, size=3680 (queue active)
Aug 20 11:35:32 warren postfix/qmgr[680]: 12BB65E6C: to=<[EMAIL PROTECTED]>,
relay=none, delay=0, status=deferred (unknown mail transport error)
Aug 20 11:35:32 warren postfix/smtpd[1475]: disconnect from
localhost.localdomain[127.0.0.1]
Aug 20 11:35:32 warren sendmail[1481]: gethostbyaddr(195.3.36.118) failed: 1
Aug 20 11:35:39 warren sendmail[1481]: e7K9YTk01464: [EMAIL PROTECTED],
ctladdr=fm (501/100), delay=00:01:10, xdelay=00:00:07, mailer=smtp, pri=124329,
relay=smtp.worldnet.fr [195.3.3.6], dsn=2.0.0, stat=Sent (LAA01588 Message accepted
for delivery)
Aug 20 11:35:51 warren postfix/smtpd[1475]: connect from
localhost.localdomain[127.0.0.1]
Aug 20 11:35:51 warren postfix/smtpd[1475]: 8C4245E6D:
client=localhost.localdomain[127.0.0.1]
Aug 20 11:35:51 warren postfix/cleanup[1476]: 8C4245E6D:
message-id=<[EMAIL PROTECTED]>
Aug 20 11:35:51 warren postfix/qmgr[680]: 8C4245E6D:
from=<[EMAIL PROTECTED]>, size=3875 (queue active)
Aug 20 11:35:51 warren postfix/qmgr[680]: 8C4245E6D: to=<[EMAIL PROTECTED]>,
relay=none, delay=0, status=deferred (unknown mail transport error)
Aug 20 11:35:52 warren postfix/smtpd[1475]: 365CE5E6E:
client=localhost.localdomain[127.0.0.1]
Aug 20 11:35:52 warren postfix/cleanup[1476]: 365CE5E6E:
message-id=<[EMAIL PROTECTED]>
Aug 20 11:35:52 warren postfix/qmgr[680]: 365CE5E6E: from=<[EMAIL PROTECTED]>,
size=3568 (queue active)
Aug 20 11:35:52 warren postfix/qmgr[680]: 365CE5E6E: to=<[EMAIL PROTECTED]>,
relay=none, delay=0, status=deferred (unknown mail transport error)
Aug 20 11:35:52 warren postfix/smtpd[1475]: C8DAA5E6F:
client=localhost.localdomain[127.0.0.1]
Aug 20 11:35:52 warren postfix/cleanup[1476]: C8DAA5E6F:
message-id=<[EMAIL PROTECTED]>
Aug 20 11:35:53 warren postfix/qmgr[680]: C8DAA5E6F: from=<[EMAIL PROTECTED]>,
size=4246 (queue active)
Aug 20 11:35:53 warren postfix/qmgr[680]: C8DAA5E6F: to=<[EMAIL PROTECTED]>,
relay=none, delay=1, status=deferred (unknown mail transport error)
Aug 20 11:35:53 warren postfix/smtpd[1475]: 923275E70:
client=localhost.localdomain[127.0.0.1]
Aug 20 11:35:53 warren postfix/cleanup[1476]: 923275E70:
message-id=<[EMAIL PROTECTED]>
Aug 20 11:35:53 warren postfix/qmgr[680]: 923275E70:
from=<[EMAIL PROTECTED]>, size=3680 (queue active)
Aug 20 11:35:53 warren postfix/qmgr[680]: 923275E70: to=<[EMAIL PROTECTED]>,
relay=none, delay=0, status=deferred (unknown mail transport error)
Aug 20 11:35:53 warren postfix/smtpd[1475]: disconnect from
localhost.localdomain[127.0.0.1]