Installazione di fetchmail in Debian

From RVM Wiki
Jump to navigation Jump to search
sudo apt-get install fetchmail
sudoedit /etc/fetchmailrc
  • Creare per un utente di prova:
set daemon 300
# esegue ogni 5 minuti
poll support.rvmgroup.it
        proto pop3

        user "domenico"
        pass "lapassword"
        is domenico here

        keep
        #nokeep
        fetchall
sudo chmod 600 fetchmailrc
sudo chown fetchmail\: fetchmailrc
sudoedit /etc/default/fetchmail
...
START_DAEMON=yes
...
sudo invoke-rc.d fetchmail debug-run
  • Verificare che i msg siano recapitati
  • Svuotare la casella di prova, e sostituire
       #keep
       nokeep
  • Avviare:
sudo invoke-rc.d fetchmail start