Christopher Judd wrote:
On Tuesday 27 May 2008, Tero Mäntyvaara wrote:Hi! I have modified also the files /etc/default/fetchmail and /etc/fetchmailrc but I don't know which parameter affects to which function. Anyway the file .fetchmailrc and user daemon are the solutions that I was looking for. I had put that "set daemon nnn" in .fetchmailrc, but it didn't work. :-( What should I put in files /etc/default/fetchmail and /etc/fetchmailrc then? Tero Mäntyvaara Patricia Fraser wrote:Hi Tero,How do I set fetchmail to automatically fetch mails of all user? Every user have to give command fetchmail -a at the moment to get their mails.Unless you want to use a system-wide fetchmail, you can put a line in each user's .fetchmailrc: set daemon nnn where "nnn" is the number of seconds between polls - I have mine set at 900. They can then use "fetchmail -q" to shut the daemon down. Cheers,What happens if you run (as root) /etc/init.d/fetchmail start (or restart)?
It goes like this: # /etc/init.d/fetchmail restartRestarting mail retriever agent: fetchmailfetchmail: no mailservers have been specified.
failed! Tero Mäntyvaara
-Chris------------------------------------------------------------------------ | Christopher Judd, Ph. D. judd@wadsworth.org | ------------------------------------------------------------------------IMPORTANT NOTICE: This e-mail and any attachments may contain confidential or sensitive information which is, or may be, legally privileged or otherwise protected by law from further disclosure. It is intended only for the addressee. If you received this in error or from someone who was not authorized to send it to you, please do not distribute, copy or use it or any attachments. Please notify the sender immediately by reply e-mail and delete this from your system. Thank you for your cooperation.