Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
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.