Hello Sam,
If we use the Seen flag itself to detect if mail is downloaded by pop, then
some mail will not be downloaded to user's pop account under certain cases. For
eg.
1. User accesses account using courier-imap and views a mail, so it gets marked
as seen but not yet downloaded by qmail-pop client.
2. Then user accesses account using qmail-pop - but the mail is already marked
as seen, so it will not be downloaded.
So we need a custom flag to identify that mail has been downloaded by
qmail-pop.
Regards,
Kishan Sarsecha
-- Original Message --
From: "KisHan SarsecHa" <kis...@mithi.com>
To: courier-imap@lists.sourceforge.net
Date: Thu, 19 Jun 2014 18:48:28 +0530
Subject: [Courier-imap] Courier-IMAP removing custom flags appended in filename
Hello,
We have qmail-pop + courier imap server setup, where users access same mailbox
using both services alternatively. We are trying to extend qmail-pop so that it
maintains state of mail which are downloaded by appending a custom flag at the
end of mail file name. Eg. xyz,S=1:2,d
The d at the end will indicate that this mail is downloaded. However when we
put such flag, courier-imap removes it, when that mail is accessed.
I'm fairly new to the courier code. I have found that there is an append_flags
function in fetch.c which is doing this. I think I can do the change at the
code level, but I'm not sure how it will impact other things. Is there any kind
of auto test / unit test that I can run to check things are ok ? How do I
confirm that there is no impact ?
Thanks and Regards,
Kishan Sarsecha
SecureMX. Disclaimer : This mail is meant only for intended recipients. Please
discard the mail if you are not an intended recipient.
Sent by Connect Xf® at "Mithi Software Technologies Pvt. Ltd."
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
Disclaimer : This mail is meant only for intended recipients. Please discard
the mail if you are not an intended recipient.
______________________________________________________________________________
This email is sent via the Mithi SkyConnect cloud service
and has been scrubbed for your protection by SecureMX.
For more information visit http://securemx.in and http:mithi.com
______________________________________________________________________________
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap