I am not sure exactly what you mean ("being able to do it all"). I have
always assumed that there can be multiple connections to a folder. E.g.,
using the IMAP mail client on my server and using a homespun IMAP client
on my home machine at the same time.
But regardless, my process is to forward email for an email account to
my Php script. It is already in the INBOX and now I can elect to move it
from there to a Spam folder. So, in this case I will merely forward it
to a new folder (Eraseme) that I will not even subscribe to in my IMAP
client - and use a cron job to delete and expunge that folder often.
I suppose could start over and not even use a mailbox, use a
forward-only email address piped to a script (STDIN) and then either
throw the message away or append it to a common mailbox.
In fact, once I have total faith in all of this I am probably going to
bypass the imap server altogether and save messages to a database where
I can manage my email however I wish.
Thanks again. I truly appreciate your assistance.
--
*****************************
Chuck Anderson • Boulder, CO