Hello,

I was requested to add "feature" to pop3, seen in t-online.de mail service.

When fetching mail from t-online via pop3 with 'leave on server', that 
do not mark mails as 'seen' in t-online imap service.

That is unexpected behavior for me, but is usefull for few friends.


I implement that with additional AUXPOPTION from authdaemon ( mysql 
backed ):

--- libs/imap/pop3dserver.c.orig        2016-12-22 01:26:06.093047148 -0500
+++ libs/imap/pop3dserver.c     2016-12-22 01:27:34.025546151 -0500
@@ -727,6 +727,7 @@
         strcat(p, "S");

         if (lptr        /* Don't mark as seen for TOP */
+           || auth_getoptionenvint("disablepop3seen")
             || rename(msglist_a[i]->filename, p))
         {
                 free(p);


$ authtest -s pop3 office@domain
Authentication succeeded.

      Authenticated: office@domain  (uid 1000, gid 1000)
     Home Directory: /home/domain/office
            Maildir: (none)
              Quota: (none)
Encrypted Password: (none)
Cleartext Password: password
            Options: disablepop3seen=1


Is that is right place to do? Is this is correct modification?


Thank You,

Svetozar





------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to