LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-11-2005, 10:50 AM   #1
greyhammer
LQ Newbie
 
Registered: Jan 2005
Posts: 15

Rep: Reputation: 0
Question multiple fetchmails, anyone?


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.

Or is there a better way?
 
Old 01-11-2005, 01:12 PM   #2
ezra143
Member
 
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Rep: Reputation: 32
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?
 
Old 01-11-2005, 01:41 PM   #3
greyhammer
LQ Newbie
 
Registered: Jan 2005
Posts: 15

Original Poster
Rep: Reputation: 0
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..

Yours,
greyhammer
 
Old 01-12-2005, 01:16 PM   #4
greyhammer
LQ Newbie
 
Registered: Jan 2005
Posts: 15

Original Poster
Rep: Reputation: 0
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??
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Red Hat 7.3 and multiple gateways on multiple interfaces bluefmc Linux - Networking 2 11-19-2004 05:01 PM
Need an advice for: Multiple Disks&Multiple Penguins and a XP :) thesappho Linux - Newbie 1 12-15-2003 03:13 PM
Multiple Apache Sites, on Multiple IP's, on Same Box?? RickyJ Linux - General 1 06-19-2003 10:55 AM
Multiple Apache Sites, on Multiple IP's, on Same Box?? RickyJ Linux - Software 0 06-19-2003 09:50 AM
multiple ips, multiple gateways, one interface drpixel Linux - Networking 6 12-04-2002 12:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration