LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   sync two mail servers (https://www.linuxquestions.org/questions/linux-networking-3/sync-two-mail-servers-481880/)

branden_burger 09-09-2006 10:45 AM

sync two mail servers
 
Hello all.

I'd like to know, is it possible to set up a mailserver on a local lan (192.168/16) such that it constantly polls an IMAP/POP3 server running QMail on the Internet? Then, users can check their email from the local mailserver, instead of from the Internet.

Is there any such solution?

Thanks

acid_kewpie 09-09-2006 12:32 PM

sounds like good old fetchmail to me.

branden_burger 09-10-2006 04:10 AM

Well, the problem with fetchmail is that it does only one account at a time. Multiple instances of fetchmail won't run. And if there's a really large mail in one account, then other smaller emails in other accounts have to wait.

What then??

rupertwh 09-10-2006 04:42 AM

Hi,

Quote:

Originally Posted by branden_burger
Well, the problem with fetchmail is that it does only one account at a time. Multiple instances of fetchmail won't run.

Are you sure? I am using fetchmail for that exact purpose, with no problem. fetchmail is started from the respective user's cron.

Rupert

branden_burger 09-10-2006 10:19 AM

Really? I was running fetchmail in daemon mode, with the accounts specified in root's .fetchmailrc file.

That was too slow, so I tried running multiple fetchmails with different fetchmailrc files (all as root), and that didn't work.

Didn't try the different users' cron approach though. How many users are you downloading mail for?

branden


All times are GMT -5. The time now is 08:13 AM.