Fetchmail

From YobiWiki
Revision as of 01:09, 25 November 2006 by <bdi>PhilippeTeuwen</bdi> (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Installation de Fetchmail

apt-get install fetchmail

installer un fichier /etc/fetchmailrc comme celui-ci:

Exemple de /etc/fetchmailrc:

set postmaster "fetchmail"
set nobouncemail
set no spambounce
set properties ""
set daemon 120

poll courriel.latribu.com with proto IMAP
       user 'xxxx.xxxx@latribu.com' there with password 'xxxx' is 'phil' here fetchall
poll mail.hellea.be with proto IMAP and with interval 5
       user 'xxxx' there with password 'xxxx' is 'phil' here fetchall ssl sslfingerprint  "24:96:59:5C:A2:D0:60:14:FA:CD:66:32:40:CC:CA:1D"

Pour avoir les sslfingerprints:

su fetchmail -c "fetchmail -f /etc/fetchmailrc -v -v -N"

Fetchyahoo

apt-get install fetchyahoo
andrea@olympe:~$ cp /usr/share/doc/fetchyahoo/examples/fetchyahoorc [~/.fetchyahoorc|FileFetchyahoo]
andrea@olympe:~$ echo "0,15,30,45 6-23 * * * /usr/bin/fetchyahoo"|crontab -u andrea -