Multiple instances of Fetchmail on RHEL
Hi,
My fetchmail.rc file is configured to download mails for more than 100 users. my fetchmail runs at every 5 minutes and download the mails. Now the problem is it takes around 15 minutes to 20 minutes to complete the one cycle of fetchmail file for downloading all mails for every users. My question is can i run multiple instances of fetchmail at a time, say 3 instances of fetchmail file containing 30 uses each in one file, so that it downloads mails for all users at a time. Thanks Kumud |
Quote:
|
Thanks,
Can u pls guide me how to do that. I am stuck pls. help me kumud |
What have you tried? What point are you stuck at?
|
i have around 112 users.
what i have done is, i have created 3 .fetchmailrc file named .fetchmailrc1, .fetchmairc2 and 3, distributing 35 users in each file. now the problem is fetchmail program runs only .fetchmailrc file. i have tried running fetchmail for remaining files, but it doesn't fetch mails for the users which are in files .fetchmailrc2 and 3. Thanks |
'man fetchmail', "Miscellaneous Options": "-f <pathname> | --fetchmailrc <pathname>: Specify a non-default name for the ~/.fetchmailrc run control file"?
|
I didn't get You.
Can u be more specific ? Kumud |
If you issue 'man fetchmail', then in that manual page go to the chapter "Miscellaneous Options". There you will find a switch called "--fetchmailrc". This switch allows you to specify another path/name instead of "~/.fetchmailrc".
|
Thanks
but it doesn't help |
even this is pretty old i will trow my solution in here becouse i dont think this is solved:
Code:
cat /etc/init.d/_fetchmailStart Code:
cat /home/user1/.fetchmail/GMX/fetchmailrc Code:
cat /home/user2/.fetchmail/Hotmail/fetchmailrc |
All times are GMT -5. The time now is 06:23 PM. |