Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go

System Wide Fetchmail


You can have fetchmail collect mail for a number of users and have it locally delivered to them, using the system wide fetchmail.

On Debian create /etc/fetchmailrc and add the appropriate lines, like:



  set postmaster "kayon"
  set bouncemail
  set no spambounce
  set properties ""
  set daemon 60

  poll mail.togaware.com with proto pop3
    user 'kayon@togaware.com'  with pass 'XXXX' is 'kayon' here
    user 'togger@togaware.com' with pass 'YYYY' is 'tog'   here

Then start up the fetchmail daemon:

  $ wajig start fetchmail

The daemon only starts if it finds /etc/fetchmailrc and will then run as user fetchmail rather than as root.


Copyright © 1995-2018 Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware and the author of the open source software Rattle and wajig.
Also the author of Data Mining with Rattle and Essentials of Data Science.