> > So I'm looking for a way, instead of having a rotating fetchmail that
> > keeps running every so many minutes, something that will recognize
> > when they 'pop' in and check their external mail.
So you want it to check mail from their other external sources when they
attempt to retrieve the mail from your box?
Does your "pop" imply POP3?
If so, you could patch a POP3 server to run another tool (your script to
handle fetchmail) after it receives the "USER" and "PASS" (but before
actually opening the mailbox).
Then wait until script finishes and maybe then sleep for a while. And then
allow them to RETRieve their email.
I am not sure if POP3 clients would like the delay, but it should work.
Another idea is to improve a POP3 proxy to retrieve mail from multiple
POP3 accounts and servers instead of just proxying the POP3 commands and
data to a single POP3 server.
I have done a lot of POP3 server coding (vm-pop3d) myself. But sorry, I
don't have the free time to volunteer to code and test all this. I would
be interest in this job though.
If they are retrieving their mail from your server another way, the same
idea could be done. For example, if they login, then use a .login to run
fetchmail at login (and echo "I am fetching your mail."). Or if using
IMAP, do what I suggest above -- but may be more difficult.
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss