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.

Checking POP via Blackberry leaves sent items in webmail sent items?

Discussion in 'E-mail Discussions' started by Charlottezweb, Apr 6, 2010.

  1. Charlottezweb

    Charlottezweb Member

    Joined:
    Feb 11, 2004
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    1
    Hi, this is something I haven't seen before myself and am hoping someone can help me troubleshoot.

    I have a user who accesses his mailbox via his blackberry. From what he's describing, he's NOT logging into webmail via a browser on this device, he states he's having his bberry check his pop account directly.

    That being said, when he sends an email from his blackberry, it seems to be saving a copy of that item in his "sent items" on the server (viewable via webmail, for example) as opposed to on the device.

    I can't validate this to be 100% sure. Would this be the intended way for this to function?

    Anyone else using their bberry -- do you have to login to webmail from time to time to clear your sent items if you're configured this way?

    Thanks!
    -Jason
     
  2. pietrodroid

    pietrodroid Member

    Joined:
    Apr 7, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Validated

    Mail sent via a BB deposits a copy in the sent folder

    Is there a resolution to this?
     
    #2 pietrodroid, Apr 7, 2011
    Last edited: Apr 7, 2011
  3. pietrodroid

    pietrodroid Member

    Joined:
    Apr 7, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Alright trying CRON

    30 * * * * /bin/rm -rf /mail/xyz.com/pietro/.Sent/cur/*

    Not working
     
  4. pietrodroid

    pietrodroid Member

    Joined:
    Apr 7, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Actually
    /bin/rm -rf /home/foobar/mail/foobar.com/pietro/.Sent/cur/*
     
  5. Pr0Ff3z0r

    Pr0Ff3z0r Member

    Joined:
    Apr 8, 2011
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I'm also looking for a solution to this, and also a way to clear the deleted items (trash) automatically without having to login to webmail.

    Users delete messages on their devices, that moves the messages to trash, and eventually trash fills up their mailbox and I have to manually go empty their trash in each account to allow mails again.
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,446
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    There is a setting for this that might be useful to you:

    WHM > Service Configuration > Mailserver Configuration > IMAP Empty Trash
     
  7. Pr0Ff3z0r

    Pr0Ff3z0r Member

    Joined:
    Apr 8, 2011
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thank you for the reply, but I can't find that option?

    My options are:-
    Protocols Enabled
    Allow Plaintext Authentication
    SSL Cipher List
    Maximum IMAP Connections
    Maximum POP3 Connections
    Number of Spare Authentication Processes
    Maximum Number of Authentication Processes
    Size of Authentication Cache
    Time to Cache Failed Logins
    Use New Login Process for Each Connection
    Idle Check Interval

    I use Dovecot and WHM 11.28.87
     
  8. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,446
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Courier here. If you look on the Mailserver Selection page you see this message (for Dovecot):

    •Trash mailbox is not automatically expunged.
     
  9. Pr0Ff3z0r

    Pr0Ff3z0r Member

    Joined:
    Apr 8, 2011
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    So there is no other way? not even a cron you can set?
     
  10. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,446
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
  11. Pr0Ff3z0r

    Pr0Ff3z0r Member

    Joined:
    Apr 8, 2011
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I just found that Dovecot has some sort of trash expunge function, please see below:

    MainConfig - Dovecot Wiki

    Can anyone tell me if they think this will work and would be safe to implement on my cPanel server?
     
  12. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Because Dovecot isn't set to use a database for how it is started, you are going to end up with errors on attempts to set the expire_dict path. The error will be something like the following:

    Code:
    Error: Unknown dict module: db
    Fatal: dict_init() failed
    Additionally, you'll get the following error when you initially uncomment both of the expire lines:

    This has to be fixed using the workaround of creating /usr/libexec/dovecot/expire-tool.sh file and putting the following code into that file:

    Code:
    #!/bin/bash
    MAIL_PLUGINS=${MAIL_PLUGINS//imap_quota/}
    MAIL_PLUGINS=${MAIL_PLUGINS//mail_log/}
    
    exec ${0%.sh} "$@"
    Then making the file executable:

    Code:
    chmod 755 /usr/libexec/dovecot/expire-tool.sh
    At that point, the command then becomes the following to run the expire plugin:

    Code:
    dovecot --exec-mail ext /usr/libexec/dovecot/expire-tool.sh
    Unfortunately, you then run into the issue with the fact Dovecot doesn't use DB, MySQL or anything of that nature with cPanel, so the database /var/lib/dovecot/expire.db doesn't exist nor can it be created to work (since Dovecot wasn't started with the option to use any SQL).

    You probably could get it to work, but by the point I reached the stage that Dovecot would have to be started up differently, this was far beyond what cPanel could ever help to provide input on doing. In the meantime, it would be easier to use the recommendation in the thread (http://forums.cpanel.net/f145/case-11678-dovecot-trash-mail-97661.html#post496553 is the post where the find commands to remove the older trash is mentioned) to have a cron periodically clearing the trash on these accounts.
     
Loading...

Share This Page