General discussion on installation and configuration of SOGo

Text archives Help


Re: [SOGo] email are deleted from trash after ~7days


Chronological Thread 
  • From: "Peter Schiffer" ( ) < >
  • To: devteam < >
  • Subject: Re: [SOGo] email are deleted from trash after ~7days
  • Date: Fri, 01 Jun 2018 13:05:11 +0200
  • Arc-authentication-results: i=1; mail11.infra-brno.websignal.eu; auth=pass smtp.auth= smtp.mailfrom=
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=pschiffer.eu; s=dkim; t=1527851112; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=l8H+PR69XtoVRJsypl/tlzFYeYOW9TGQd5A9geClQ9w=; b=MgmWEjvn/7v+KUIYDXjztkFnKy0445iVg1fwlfTwkQ++Tsm6evVDzII0DP9VdTZwjRHD19 WI26QZNbGe5n9KTpf/jD5blBdL3jeAz5VdMYdnBlQB6zsXOhGZIi0cY/WQgrh+VXJoL31B Xd0hP+xK9VsC1u/ijChOnTADmtF1q5Rk2T2OoHLDcWeeiAMYoohLWuabxZ6AXLjO/In8EX nng9hHBUXdLN5jmc83JBgMhoIvYDXUWcjvULGeT08clDiNF82L+A1tZBpe+P+yU4jxYZzp CgKsS7IvRS9QBNzECQdD2TleHo1rJNhnyqEzfOj76QvaMK1TligQRWe1ZPVzjQ==
  • Arc-seal: i=1; s=dkim; d=pschiffer.eu; t=1527851112; a=rsa-sha256; cv=none; b=4wvPmo7mdEKa4PVksNZFibuuCDcJtyAHahznywqtrgXhDzUlpLQ6UXtY6trlZC4dEcPJuXcKyq0MXHAob2m+Riv+xCvTja5eHio57tUU3BTcIpVnEAE/pMPHkbQbesrildfn56BxWLMaeqRGh2Imu+wRH8dgofhNEB+GyLr0fr14A7KttkQTzZJIM4/pfagUWftC+55pPGAME9+tBuYP3pzFaj/iweCQWgwq3PdqHgncFPLGmmlRoB7NFFHZU+Bnu89tE49n6pLNujMrCtppzdwVHb0iax9PVYGd/nhOdkjJw8RqUtF+vzz9xSzgn6lsXy9BJqLUOJd1n4DnRPCU2Q==
  • Dmarc-filter: OpenDMARC Filter v1.2.0 mail.inverse.ca 48DC9F0A582

Sure, but nothing:

root@host:/# ls -lh /usr/local/etc/dovecot/
total 20K
-rw-r--r--. 1 root root 52 May 31 22:51 dovecot-master.passwd
-rw-r--r--. 1 root root 7.4K May 31 00:09 dovecot.conf
-rw-r--r--. 1 root root 28 May 23 00:35 extra.conf
-rw-r--r--. 1 root root 413 May 14 2017 sieve_after
drwxr-xr-x. 2 root root 215 Nov 16 2017 sql
root@host:/# grep -R expire /usr/local/etc/dovecot/
root@host:/#

peter

On Fri, 2018-06-01 at 09:32 +0300, devteam wrote:
> Can you run: grep -R expire /etc/dovecot/ ?
>
>
> On 05/31/2018 08:21 PM, Peter Schiffer
> ( )
> wrote:
> > Hi,
> >
> > thank you for your reply, but I don't have expire plugin enabled in
> > dovecot. See attachment for output of doveconf -n.
> >
> > What else could be a reason here?
> >
> > Thanks,
> >
> > peter
> >
> > On Thu, 2018-05-31 at 17:36 +0300, devteam wrote:
> > > Hi,
> > >
> > > /etc/dovecot/dovecot.conf
> > >
> > > plugin: expire
> > >
> > > expire = Trash 7 Trash/*7 Junk 30
> > >
> > >
> > >
> > > On 05/31/2018 04:41 PM, Peter Schiffer
> > > ( )
> > > wrote:
> > > > Hi all,
> > > >
> > > > I've noticed recently, that when using sogo web ui, emails from
> > > > trash
> > > > folder are automatically deleted after ~7 days. This wasn't
> > > > happening
> > > > before. I'm running sogo-4.0.0.20180528-1 from
> > > > SOGo/nightly/4/debian
> > > > repo. Version from before was 2 - 3 months older 4.0
> > > >
> > > > In the nginx and sogo logs I see:
> > > >
> > > > nginx-mailcow_1 | someip - - [23/May/2018:12:46:11 +0200]
> > > > "POST
> > > > /SOGo/so/some@mailbox/Mail/0/folderINBOX/expunge HTTP/2.0" 200
> > > > 58
> > > > "http
> > > > s://hostname/SOGo/so/some@mailbox/Mail/view" "Mozilla/5.0 (X11;
> > > > Fedora;
> > > > Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
> > > > ...
> > > > sogo-mailcow_1 | May 23 12:46:11 ccec35332334 sogod [43]:
> > > > someip
> > > > "POST /SOGo/so/some@mailbox/Mail/0/folderINBOX/expunge
> > > > HTTP/1.0"
> > > > 200
> > > > 58/0 0.291 - - 0
> > > >
> > > >
> > > > And then in the dovecot logs:
> > > >
> > > > May 29 08:02:17 hostname dovecot: imap(some@mail)<7725><xxb6+VF
> > > > tL+J
> > > > T0CE
> > > > 8>: Debug: imapsieve: mailbox Trash: FLAG event (changed flags:
> > > > \Deleted)
> > > > ...
> > > > dovecot-mailcow_1 | May 23 12:46:39 hostname dovecot:
> > > > imap(some@
> > > > mail
> > > > box)<11088><AyDpP91sbKGsFgH4>: Logged out in=221 out=30927
> > > > deleted=473
> > > > expunged=473 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0
> > > > body_bytes=0
> > > >
> > > >
> > > > I need to turn this off :-) I don't want to delete anything
> > > > automatically, but I wasn't able to find anything related in
> > > > documentation.
> > > >
> > > > Also I suspect, that clients connected via active-sync are also
> > > > doing
> > > > this, without specific email client configured to do so. I've
> > > > verified
> > > > that the final email clients (Thunderbird, Evolution, Email on
> > > > Android)
> > > > don't have such options enabled (auto empty trash, expunge on
> > > > logout,
> > > > etc).
> > > >
> > > > Sogo configuration can be found here:
> > > > https://github.com/pschiffe/mailcow-dockerized/tree/master/data
> > > > /con
> > > > f/sogo
> > > >
> > > > Thanks in advance,
> > > >
> > > > peter



Archive powered by MHonArc 2.6.18.

Top of page