Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 8th January 2010, 12:34
voltron81 voltron81 is offline
Senior Member
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default LocalMailserver that want to know from the main mailserver which emails have received

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

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.

What do you think is the best solution?

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...


Reply With Quote
Sponsored Links


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
Problems with my 'Perfect Server' chillifire Server Operation 3 6th January 2010 13:26
"Relay access denied" when I relay emails from a local mailserver to the main one voltron81 Server Operation 4 8th December 2009 12:31
ISPConfig for a local mailserver, connected with the ISPConfig main mailserver voltron81 Installation/Configuration 12 17th November 2009 14:54
Virtual users... Ubuntu 8.04 spaceuser HOWTO-Related Questions 12 19th June 2008 09:04
Email seemingly not working... Duplex Installation/Configuration 11 19th April 2006 15:48

All times are GMT +2. The time now is 08:54.

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