The Tuesday 2003-12-16 at 18:54 +0100, Nick Selby wrote:
So, Is the deal that fetchmail can "gather" the mail from my IMAP server but once it has gathered it and delivered it to procmail, it's deleted from the server?
Exactly.
man fetchmail. If you use fetchmail -keep messages are not deleted from the server, if that is what you want.
Thanks. However I am looking to also delete messages from the server when they are deleted locally; basically I am getting the sense that IMAP won't be fully functional if fetchmail sits between the IMAP server and my mail client/?
Then, fetchmail is not the tool you want. It fetches mail from the remote server, _moving_ it to your local server. Then you can store it, resend, make it available to your own pop/imap server, whatever. But it is no longer on your remote server. If you tell it to keep them, it will do so, but it is then your problem to remove them by some other means. If you want a synchronized local mail box with the remote server, then you have to use a mail client that supports imaps, and use it instead of fetchmail/procmail/etc. -- Cheers, Carlos Robinson