Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Any ideas on how to run multiple fetchmail sessions? Why does the lockfile prevent you from doing that anyway?
I have a scenario where I poll my internet mailserver every four minutes for mail 24/7. The mail downloads to the local mailserver from where people check mail on the LAN. This keeps the flow of mail smooth and prevents network jams every morning when 15 people start to download the whole night's mail together from the internet server.
However, what can happen now is that there could be one very large file, say 10 MB or so - which could take quite a while to download. Until that completes, the next user's mail isn't polled on the internet mailserver. That causes a bottle neck which I'd like to avoid.
I was thinking maybe I could start multiple fetchmail sessions - one for every user - so that if there was a large mail, it would download slowly for the respective user, without blocking essential mail for the other users.
how long does it take to bring in the 10mb file? Are we talking about a few minutes or longer? I would think that missing a single fetchmail session would not create that large of a bottleneck... is there any reason that another 4-8 minutes of waiting causes an undue burden for your users?
Well - see I don't think it should take more than 3 to 4 mins at max for 10MB, but it depends on the ISPs network among other things. The point is that there could be many such large emails on a certain user account - lots of raw statistical data just waiting to be analysed, collected over months, maybe years sometimes....
Since there could be more than one large email in an account, and they could arrive quickly in succession at any time, there might be a problem I'm anticipating.
I haven't tested yet to see what happens - but in case I do get unacceptable delays - I'd like a backup plan..
No ideas people? On multiple fetchmail sessions? I mean what if I wanted to run one session per user at the same time?
I know that an IMAP server can respond to more than one query at the same time. Isn't there some way to have multiple fetchmail sessions from the same machine at the same time to download email simultaneously from an IMAP server??
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.