Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th January 2010, 11:37
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default How many POP3 connections can I have at the same time?

Hi to everybody.
I realized a "local mailserver", that will be connected with a slow dial-up connection to a main mailserver(based on ISPConfig).

To have an idea of which email the local user have received, without download it, I've realized a perl script based on the function use Net::POP3; that will create a POP3 connection to all the accounts of that particular domain and retrieve to me the sender,receiver,date,size,subject,UIDL.

Now, because of the slowness of the connection (expecially a big latency), this script will take a while to be executed.

I tried running a script for every account, and it's faster... but it's look like I can not have more than 4 POP3 connections at the same time... and if for example I've an account with 100 emails and the others with 2 emails, it will be not so faster...

I tried also to split the script, fetching the email informations based of the number made from the "list" command, but again it's look like I can make just 4 POP3 connections at the same time...

Suggestions?

thanks
Michele
Reply With Quote
Sponsored Links
  #2  
Old 8th January 2010, 13:01
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

What is the goal you want to reach from the remote site, connecting to the main mailserver?
Just to get a rough overview which mails are on the main mailserver?
If so, why don't you set up sth. like a webservice on the main machine, gathering the whole data you need upon a request, and fetch this consolidated data en block from the remote machine?
Reply With Quote
  #3  
Old 8th January 2010, 13:05
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default

Hi Ben,
the goal of that is to have this informations without download emails: sender,receiver,date,size,subject,UIDL.
I need this information because the local mailserver is connected on internet with a very slow dial-up connections, so with that informations I then can have the opportunity to decide which email I want to retrieve...
Reply With Quote
  #4  
Old 8th January 2010, 13:07
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,678
Thanks: 819
Thanked 5,318 Times in 4,171 Posts
Default

Take a look at the courier config files, the number of connections should be configurable there. In general, a few hundred or even thousand simultanious connections should be no problem.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 8th January 2010, 13:34
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default

Thanks Till,
I've found it.
I'll make some tests now...
Anyway if somebody have a better idea how to retrieve that informations... I'll be more than happy to know...
Reply With Quote
  #6  
Old 8th January 2010, 15:07
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
 
Default

Right, now it's a bit faster than before... but if somebody from the localserver want to use this feature with another main mailserver, I'll have the same problem... because of course I can not change the limitation of the max POP3 connections for the single IP...

Generally which is the default value for a normal mailserver? 4?

Thanks
Michele
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fetchmail retrieval configuration on the clients side perfectpol7 Server Operation 8 19th May 2009 15:26
Email Set Up XTCHost Server Operation 5 6th September 2008 12:03
Running POP3 and IMAP Server at the same time? sjau Server Operation 1 26th January 2007 14:15
POP3 SMTP FTP problem arsu Installation/Configuration 1 11th November 2005 09:32
slow pop3 connection time out cybo Server Operation 5 27th October 2005 10:03


All times are GMT +2. The time now is 02:57.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.