On Sun, Jul 20, 2008 at 09:05:54PM -0700, Eric wrote:
> Is there a way to have the message stay on the server until i
> delete it in claws when using pop?
I retrieve mail using fetchmail and procmail leaving messages on the
server, but I do something similar to what you want. I use a python
tool called popdump[1] to delete messages off my pop server after
bogofilter has identified them as spam.
I have a patched version[2] of popdump that looks for the requested
message backwards (i.e. checks recent messages first) and then bails
as soon as it's deleted the correct one. Using this version I call it
like this:
popdump -o -c 50 -d @- -M "${MESSAGE_ID}"
The -o causes it to bail after one deletion. The '-c 50' means it
only checks the 50 most recent messages. The '-d @-' causes it to
search backwards from the end of your mailbox. And -M means it
searches the header for the given string.
I imagine you should be able to set up some action in CM mail to use
this tool. Although it may well be easier to use IMAP if you can.
Regards,
Trevor.
[1]
http://www.xuthal.net/popdump/[2]
http://www.highwater.co.nz/~trev/popdump-0.8.1-trev.tar.bz2---------------------------------------------------------------------
To unsubscribe, e-mail:
claws-mail-users-unsubscribe@...
For additional commands, e-mail:
claws-mail-users-help@...