Hello, I have this user that lost an email, even when the server is set up to do lazy expunge. The mail server logs show that the message was received, the user also read it and he did reply to it. here is the mail.log Jun 29 07:52:48 mx20 postfix/smtpd[19289]: 0ACD81C443B: client=usxsl050.slb.atosorigin-asp.com[199.6.139.15] Jun 29 07:52:48 mx20 postfix/cleanup[20259]: 0ACD81C443B: message- id=<791A7985471643BA9997A472B6E429AD at eur.slb.com> Jun 29 07:52:50 mx20 postfix/qmgr[24622]: 0ACD81C443B: from=<remoteusers at stonehouse.oilfield.slb.com>, size=405287, nrcpt=1 (queue active) Jun 29 07:52:50 mx20 postfix/smtpd[19289]: disconnect from usxsl050.slb.atosorigin-asp.com[199.6.139.15] Jun 29 07:52:50 mx20 postfix/smtpd[20261]: connect from localhost [127.0.0.1] Jun 29 07:52:50 mx20 postfix/smtpd[20261]: EB9C11C4443: client=localhost[127.0.0.1] Jun 29 07:52:50 mx20 postfix/cleanup[20259]: EB9C11C4443: message- id=<791A7985471643BA9997A472B6E429AD at eur.slb.com> Jun 29 07:52:50 mx20 postfix/qmgr[24622]: EB9C11C4443: from=< remoteuser at stonehouse.oilfield.slb.com>, size=406106, nrcpt=1 (queue active) Jun 29 07:52:50 mx20 postfix/smtp[20260]: 0ACD81C443B: to=<localuser at mydomain.com>, relay=127.0.0.1[127.0.0.1]:10025, delay=3.2, delays=2.5/0.01/0/0.7, dsn=2.0.0, status=sent (250 OK, sent 4A48B922_20407_5563_1 EB9C11C4443) Jun 29 07:52:50 mx20 postfix/qmgr[24622]: 0ACD81C443B: removed Jun 29 07:52:50 mx20 postfix/smtpd[20261]: disconnect from localhost [127.0.0.1] Jun 29 07:52:51 mx20 deliver(localuser at mydomain.com): msgid=<791A7985471643BA9997A472B6E429AD at eur.slb.com>: saved mail to INBOX But i cant find it anywhere... Is there any way of finding where it went...? I've done: grep -r 'sender at senderemail' <user>/Maildir/ And it only shows the email my user sent, not the original... any ideas of what happen as well...? Thanks.
On Tue, 2009-07-07 at 11:23 -0500, Romer Ventura wrote:> Hello, > > I have this user that lost an email, even when the server is set up > to do lazy expunge.Have you tried that lazy expunge really works correctly? Have you enabled it for POP3 too? What Dovecot version are you using? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://dovecot.org/pipermail/dovecot/attachments/20090707/c8968fb5/attachment.bin
It mostly works, sometime it creates them, others it doesnt... The thing is that the users never delete an email, even when they put it in the trash, it has been set up to never delete them, so unless i manually erase those email every 6 months they will never be erased. It is just not there.. # dovecot -n # 1.1.7: /etc/dovecot/dovecot.conf # OS: Linux 2.6.16.60-0.21-xenpae i686 SUSE Linux Enterprise Server 10 (i586) login_dir: /var/run/dovecot/login login_executable: /usr/lib/dovecot/imap-login mail_uid: vmail mail_gid: vmail mail_location: maildir:~/Maildir/ mail_plugins: lazy_expunge imap_client_workarounds: delay-newmail outlook-idle netscape-eoh namespace: type: private separator: / inbox: yes list: yes subscriptions: yes namespace: type: private separator: / prefix: .EXPUNGED/ location: maildir:/srv/mail/vmail/%Ud/%Ln/Maildir/expunged list: yes subscriptions: yes namespace: type: private separator: / prefix: .DELETED/ location: maildir:/srv/mail/vmail/%Ud/%Ln/Maildir/deleted list: yes subscriptions: yes namespace: type: private separator: / prefix: .DELETED/.EXPUNGED/ location: maildir:/srv/mail/vmail/%Ud/%Ln/Maildir/deleted/expunged list: yes subscriptions: yes auth default: mechanisms: plain login passdb: driver: ldap args: /etc/dovecot/dovecot-ldap.conf userdb: driver: ldap args: /etc/dovecot/dovecot-ldap.conf socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 384 user: vmail group: vmail plugin: lazy_expunge: .EXPUNGED/ .DELETED/ .DELETED/.EXPUNGED/ On Jul 7, 2009, at 2:09 PM, Timo Sirainen wrote:> On Tue, 2009-07-07 at 11:23 -0500, Romer Ventura wrote: >> Hello, >> >> I have this user that lost an email, even when the server is set up >> to do lazy expunge. > > Have you tried that lazy expunge really works correctly? Have you > enabled it for POP3 too? What Dovecot version are you using? >
http://wiki.dovecot.org/Plugins/MailLog That could come in handy next time. On Tue, 2009-07-07 at 14:27 -0500, Romer Ventura wrote:> It mostly works, sometime it creates them, others it doesnt... The > thing is that the users never delete an email, even when they put it > in the trash, it has been set up to never delete them, so unless i > manually erase those email every 6 months they will never be erased. > It is just not there.. > > # dovecot -n > # 1.1.7: /etc/dovecot/dovecot.conf > # OS: Linux 2.6.16.60-0.21-xenpae i686 SUSE Linux Enterprise Server > 10 (i586) > login_dir: /var/run/dovecot/login > login_executable: /usr/lib/dovecot/imap-login > mail_uid: vmail > mail_gid: vmail > mail_location: maildir:~/Maildir/ > mail_plugins: lazy_expunge > imap_client_workarounds: delay-newmail outlook-idle netscape-eoh > namespace: > type: private > separator: / > inbox: yes > list: yes > subscriptions: yes > namespace: > type: private > separator: / > prefix: .EXPUNGED/ > location: maildir:/srv/mail/vmail/%Ud/%Ln/Maildir/expunged > list: yes > subscriptions: yes > namespace: > type: private > separator: / > prefix: .DELETED/ > location: maildir:/srv/mail/vmail/%Ud/%Ln/Maildir/deleted > list: yes > subscriptions: yes > namespace: > type: private > separator: / > prefix: .DELETED/.EXPUNGED/ > location: maildir:/srv/mail/vmail/%Ud/%Ln/Maildir/deleted/expunged > list: yes > subscriptions: yes > auth default: > mechanisms: plain login > passdb: > driver: ldap > args: /etc/dovecot/dovecot-ldap.conf > userdb: > driver: ldap > args: /etc/dovecot/dovecot-ldap.conf > socket: > type: listen > client: > path: /var/spool/postfix/private/auth > mode: 432 > user: postfix > group: postfix > master: > path: /var/run/dovecot/auth-master > mode: 384 > user: vmail > group: vmail > plugin: > lazy_expunge: .EXPUNGED/ .DELETED/ .DELETED/.EXPUNGED/ > > On Jul 7, 2009, at 2:09 PM, Timo Sirainen wrote: > > > On Tue, 2009-07-07 at 11:23 -0500, Romer Ventura wrote: > >> Hello, > >> > >> I have this user that lost an email, even when the server is set up > >> to do lazy expunge. > > > > Have you tried that lazy expunge really works correctly? Have you > > enabled it for POP3 too? What Dovecot version are you using? > > >