Hi,

my probem is a bit hard to describe, I hope I will make it :)
2 Mailservers, both qmail. One ist the "official" mailserver for the
domain, always online, official IP-adress. The other server is an
inhouse Mail-Proxy with dial on demand net-access.
At the moment the official mailserver recives all mail and the mail
proxy fetches all mails every 10 Minutes and deliveres them to the local
users.
Now I want to install webmail. The problem is, that fetchmail must not
fetch mail from users who are not in the office at the moment because in
this case the mails were not available on the webmail interface of the
official-mailserver in case the user wants to read his new mail from
somewhere else via the new webmail interface.
So now what do I want to do: Is there a way to fetch mail only for a
user when he/she contacts te local mailproxy via pop3? So I think of a
solution like tcpserver listens on the pop3-port and when a user los in,
tcpserver starts fetchmail for the appropriate user, fetches the mails
and dliveres it to the users maildir.
So only when local users open their mailprogramm to fetch
Internet-e-mail, fetchmail fetches the mail. When te user is not in the
office, his mailprog does not contact te local mailproxy ant the mail
stays on the official mailserver.

Hopefully anyone understood my problem. 

thanks in advance for any help

Clemens

Reply via email to