LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Fetchmail With Multiple User Accounts (https://www.linuxquestions.org/questions/linux-software-2/fetchmail-with-multiple-user-accounts-149954/)

davidbalt 02-24-2004 10:22 AM

Fetchmail With Multiple User Accounts
 
I posed a similar question in the newbie forum, but now I think I may have miscategorized it.

here's the lowdown - is fetchmail a regular daemon that can be configured using xinetd.d? I get the impression it is not. I need fetchmail's daemon mode to run every time the server starts, without me having to type it in, and I need it to run for several different users simultaneously. The idea is to allow all the users of the linux box to have their various email addresses from around the web polled and dropped into their local account, which they can browse using IMAP from any of the workstations on the network.

It is very possible that there is a better tool for polling mulitple accounts across multiple users, but I am unaware of it if there is.

In case for some reason the question is unclear, let me supply an example of the sort of functionality I need.

I have several different users (user1,user2,user3) who all have their own folder in /home, which it's own unique copy of .fetchmailrc. I want to automatically run the command:

fetchmail -d 300

in the context of each user when the system starts up.

Any suggestions?

Thanks,

David

davidbalt 07-08-2004 12:14 PM

Resolution to this problem: The way to run a command every time the computer starts up is to edit the file: /etc/rc.d/rc.local and add the command into that file. Funny, the things they dont' tell you about linux when you are first starting out. Everybody knows that in windows, it's autoexec.bat or HKEYLM/Software/Microsoft/Windows/CurrentVersion/Run. Ask somebody the same thing about Linux and it's shrugged shoulders all around.


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