LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Getting Fetchmail to poll multiple user accounts in daemon mode (https://www.linuxquestions.org/questions/linux-newbie-8/getting-fetchmail-to-poll-multiple-user-accounts-in-daemon-mode-149699/)

davidbalt 02-23-2004 05:21 PM

Getting Fetchmail to poll multiple user accounts in daemon mode
 
I have a few WinXP Pro workstations that are being served by Samba 3 in PDC mode. I would like linux to poll each user's email accounts and collect them all into the <user>@pdc email box, so that the users can retrieve their email from the local server via IMAP. (It's been my experience that Outlook's .dbx files aren't very backup friendly, nor are they easy to pin down to one location)

So everything works fine, got IMAP working, got fetchmail working.

Now I want to be sure that every user's .fetchmailrc file is polled at a regular interval, across reboots .

I know I can su to each user and type:

fetchmail -d <time>

But if the server goes down for reboot, won't I have to do that all over again?

Is the best solution a shell script? And if so, where should I put it?

Oh, and if anybody happens to know of a web interface to .fetchmailrc that the users could use to add arbitrary additional email boxes, it would save me some PHP. ;)


All times are GMT -5. The time now is 04:11 AM.