Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
Last edited by Kumud Kumar Singh; 07-13-2009 at 12:11 PM.
'man fetchmail', "Miscellaneous Options": "-f <pathname> | --fetchmailrc <pathname>: Specify a non-default name for the ~/.fetchmailrc run control file"?
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".
cat /home/user1/.fetchmail/GMX/fetchmailrc
set postmaster root
set bouncemail
poll imap.gmx.net protocol IMAP user "myUserName@gmx.de" there with password "myPassword" is user1 here keep ssl idle
and hotmail POP:
Code:
cat /home/user2/.fetchmail/Hotmail/fetchmailrc
set postmaster root
set bouncemail
poll pop3.live.com protocol POP3 user "myUserName@hotmail.de" there with pass "myPassword" is user1 here ssl
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.