specialized email client

Giganews Newsgroups
Subject: specialized email client
Posted by:  FrankW (nospam@nospam.com)
Date: Wed, 24 May 2006


I'd like to make a program that can do following:

1) access a pop3 server and get all the emails
2) send all the emails in #1 to another linux based local email server so
that people connected to that local email server can access it.

step 1 seems easy, but how to the step2? any suggestions. Thanks.