The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

POP3 - courier - force leave copy on the server (gmail like)

Discussion in 'E-mail Discussions' started by spector, Feb 11, 2011.

  1. spector

    spector Well-Known Member

    Joined:
    Jun 27, 2005
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Is there any way to force leaving copy of email on the server with pop3 and courier-mta? Gmail has this option. It would be usefull as accidential download&delete often happens with pop3 access, especialy if multiple persons use it.
     
  2. sirdopes

    sirdopes Well-Known Member
    PartnerNOC

    Joined:
    Sep 25, 2007
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16
    Why not use imap instead? This is what it is designed for.
     
  3. garrettp

    garrettp Well-Known Member
    PartnerNOC

    Joined:
    Jun 18, 2004
    Messages:
    312
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    +1 for IMAP. The POP3 protocol was not designed for this type of functionality and that's exactly where IMAP shines. IMAP is also much more user-friendly when it comes to managing folders as well.
     
  4. spector

    spector Well-Known Member

    Joined:
    Jun 27, 2005
    Messages:
    51
    Likes Received:
    0
    Trophy Points:
    6
    Offtopic. Thread is for ppl with serious knowledge about courier-mta or perhaps other replacement for pop3.
     
  5. garrettp

    garrettp Well-Known Member
    PartnerNOC

    Joined:
    Jun 18, 2004
    Messages:
    312
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    Being familiar with the POP3 protocol, I'm sure you realize this is something that is very difficult to enforce. Most modern clients and server daemons, including both Courier and Dovecot, support the UIDL command necessary to allow POP3 to store messages on the server, but this in-and-of itself does not provide a method of enforcing storage. Standards-compliant POP3 email clients will send a RETR command followed by a DELE command to the server to mark a message for removal. For a server to force storage of messages via POP3 it would either have to ignore DELE commands (as Gmail's appear to have been programmed to do) or remove the standard of POP3 that removes all messages marked using DELE when a QUIT is received from the client.

    Both of these are going to require some significant changes to the POP3 daemon, both of which are outside of the scope of cPanel's support.

    The easier and supported route would be to ask all of your users to enable the "Leave a copy of messages on the server" option, or disable POP3 altogether and force the use of IMAP.
     
Loading...

Share This Page