Re: Leaving on POP server & selectively deleting

Thorsten Maerz <[email protected]> Wed, 28 May 2003 20:38:34 +0200
Newsgroups gmane.mail.sylpheed.claws.windows
Message-ID <[email protected]>
--=.dK_wEZQzmb7S9L
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi Peter,

On Wed, 21 May 2003 11:55:16 -0400 Peter Davis <[email protected]> wrote:

> I'd like to be able to do something like this with Sylpheed-Claws.  Is
> there any way to access the server and UIDL info when messages are
> downloaded, so I can store that somewhere?  

No.

> I know there's a UIDL file for each mail account, but I don't know of
> any way to correlate that back to specific messages.

I don't see a way for that either - the uidl info is discarded
after message retrieval.

> That file contains
> a list of UIDLs and a 10-digit number for each one.  Anyone know what
> that number is?

Second UIDL entry is receive time, used to
- remove messages after N days (according to account settings)
- distinguish fetched and unfetched messages

> As an alternative, I tried specifying my Perl script as the 'inc'
> procedure, but it seemed that nothing happened.  Sylpheed-Claws still
> fetched the messages on its own,

The inc script is run in addition to the other checks, not
as a replacement.

> and my script didn't run, as far as I
> could tell.

I just tried a small script, works without problems.
Syntax was: perl c:/script/testinc.pl
(make sure you call perl explicitely and not only the script).

Regards,
-- 
Thorsten Maerz          <[email protected]>
Sylpheed-claws/Win32:   http://claws-w32.sf.net


--=.dK_wEZQzmb7S9L
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1-nr1 (Windows XP)

iD8DBQE+1QIucVjFyoO8k5MRAlz0AKCGJs68gYUySHZmC3DrVAjnRVRDIwCgi1BQ
fiN8c6rj0HTlT6oX0aQBEe0=
=BJeb
-----END PGP SIGNATURE-----

--=.dK_wEZQzmb7S9L--


-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge