26.11 System Wide Fetchmail

REVIEW

You can have fetchmail, fetchmail, fetchmail, fetchmail, 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.



Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0