strange file .temp.1592374672.P11164Q21M692534.hostname - doveadm altmove
dovecot 2.2.33.2 Ubuntu 18.04
I got strange file .temp.1592374672.P11164Q21M692534.hostname after doveadm altmove command in INBOX on alternate storage server
What can I do with this file? Remove? I am using dbox
regards
"Maciek" == Maciek Jackowski niksfirefly@gmail.com writes:
Maciek> dovecot 2.2.33.2 Ubuntu 18.04 Maciek> I got strange file Maciek> .temp.1592374672.P11164Q21M692534.hostname Maciek> after doveadm altmove command Maciek> in INBOX on alternate storage server
Maciek> What can I do with this file? Remove? Maciek> I am using dbox
You need to give us much more information, such as any log messages, your configuration with 'doveconf -n'. Can you give us the output of:
doveadm -v altmove '....'
where .... is the query you're using? Basically, you are just saying to us: "Broke! Fix!" and we can't help much without details.
How is your "mail_location" defined in your configuration? And what is your search term?
John
Il 2020-11-01 13:23 John Stoffel ha scritto:
How is your "mail_location" defined in your configuration? And what is your search term?
John
Hi, I just discovered having such strange .temp files on an old server of mine.
In some folders I have hundred of such files, but they really are hardlinks to the same .temp file (for each folder), so they do not consume much space. These files seems much more common in the Trash folder, but they appear even in other folder.
An example of a folder with 6 .temp files: [root@mail dbox-Mails]# ls -al /var/vmail/domain/user/dbox/mailboxes/INBOX/Trash/dbox-Mails drwxr-x---. 2 vmail vmail 4096 Oct 31 12:42 . drwxr-x---. 3 vmail vmail 4096 Mar 17 2020 .. -rw-r-----. 1 vmail vmail 512 Oct 29 09:45 dovecot.index -rw-r-----. 1 vmail vmail 392 Oct 28 13:59 dovecot.index.backup -rw-r-----. 1 vmail vmail 55296 Oct 31 12:42 dovecot.index.cache -rw-r-----. 1 vmail vmail 23536 Oct 31 12:42 dovecot.index.log -rw-r-----. 6 vmail vmail 22215889 Oct 12 10:42 .temp.1602492703.P47358Q0M194142.hostname -rw-r-----. 6 vmail vmail 22215889 Oct 12 10:42 .temp.1602494002.P50402Q0M898232.hostname -rw-r-----. 6 vmail vmail 22215889 Oct 12 10:42 .temp.1602494013.P50446Q0M771524.hostname -rw-r-----. 6 vmail vmail 22215889 Oct 12 10:42 .temp.1602494621.P51761Q0M119496.hostname -rw-r-----. 6 vmail vmail 22215889 Oct 12 10:42 .temp.1602494745.P51954Q0M387071.hostname -rw-r-----. 6 vmail vmail 22215889 Oct 12 10:42 .temp.1602495419.P53185Q0M671512.hostname -rw-r-----. 1 vmail vmail 848909 Oct 29 21:12 u.1623
6x 22M files = 128M... [root@mail dbox-Mails]# du -hscl .temp.160249* 22M .temp.1602492703.P47358Q0M194142.hostname 22M .temp.1602494002.P50402Q0M898232.hostname 22M .temp.1602494013.P50446Q0M771524.hostname 22M .temp.1602494621.P51761Q0M119496.hostname 22M .temp.1602494745.P51954Q0M387071.hostname 22M .temp.1602495419.P53185Q0M671512.hostname 128M total
...but only 22M really consumed (1 file, 6 hardlinks) [root@mail dbox-Mails]# du -hsc .temp.160249* 22M .temp.1602492703.P47358Q0M194142.hostname 22M total
I never run doveadm altmove; moreover, these .tempo files are both old (>1 year) and new (~3 weeks ago). Below you can find the output from dovecot -n. Any ideas? Thanks.
[root@mail tmp]# doveconf -n # 2.0.9: /etc/dovecot/dovecot.conf # OS: Linux 2.6.32-754.15.3.el6.x86_64 x86_64 CentOS release 6.10 (Final) auth_mechanisms = plain login auth_verbose_passwords = plain default_process_limit = 300 disable_plaintext_auth = no mail_location = sdbox:~/dbox mail_plugins = " quota" managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date mbox_write_locks = fcntl passdb { args = /etc/dovecot/conf.d/dovecot-sql.conf.ext driver = sql } plugin { autocreate = INBOX/Spam autocreate2 = INBOX/Trash autosubscribe = INBOX/Spam autosubscribe2 = INBOX/Trash quota = dict:User quota::file:%h/dbox/quota quota_rule = *:storage=1G sieve = ~/.dovecot.sieve sieve_after = /var/vmail/dovecot.sieve sieve_before = /var/vmail/autoreply.sieve sieve_dir = ~/sieve } protocols = imap pop3 lmtp sieve service auth { unix_listener /var/spool/postfix/private/auth { mode = 0666 } } service managesieve-login { inet_listener sieve { port = 4190 } } ssl_cert =
-- Danti Gionatan Supporto Tecnico Assyoma S.r.l. - www.assyoma.it email: g.danti@assyoma.it - info@assyoma.it GPG public key ID: FF5F32A8
"Gionatan" == Gionatan Danti g.danti@assyoma.it writes:
Gionatan> Il 2020-11-01 13:23 John Stoffel ha scritto:
How is your "mail_location" defined in your configuration? And what is your search term?
Gionatan> Hi, I just discovered having such strange .temp files on an Gionatan> old server of mine.
I honestly haven't a clue... I don't have these on my server at all.
Gionatan> In some folders I have hundred of such files, but they Gionatan> really are hardlinks to the same .temp file (for each Gionatan> folder), so they do not consume much space. These files Gionatan> seems much more common in the Trash folder, but they appear Gionatan> even in other folder.
I would probably just nuke these files, but maybe after confirming what their contents really is.
Gionatan> An example of a folder with 6 .temp files: Gionatan> [root@mail dbox-Mails]# ls -al Gionatan> /var/vmail/domain/user/dbox/mailboxes/INBOX/Trash/dbox-Mails Gionatan> drwxr-x---. 2 vmail vmail 4096 Oct 31 12:42 . Gionatan> drwxr-x---. 3 vmail vmail 4096 Mar 17 2020 .. Gionatan> -rw-r-----. 1 vmail vmail 512 Oct 29 09:45 dovecot.index Gionatan> -rw-r-----. 1 vmail vmail 392 Oct 28 13:59 dovecot.index.backup Gionatan> -rw-r-----. 1 vmail vmail 55296 Oct 31 12:42 dovecot.index.cache Gionatan> -rw-r-----. 1 vmail vmail 23536 Oct 31 12:42 dovecot.index.log Gionatan> -rw-r-----. 6 vmail vmail 22215889 Oct 12 10:42 Gionatan> .temp.1602492703.P47358Q0M194142.hostname Gionatan> -rw-r-----. 6 vmail vmail 22215889 Oct 12 10:42 Gionatan> .temp.1602494002.P50402Q0M898232.hostname Gionatan> -rw-r-----. 6 vmail vmail 22215889 Oct 12 10:42 Gionatan> .temp.1602494013.P50446Q0M771524.hostname Gionatan> -rw-r-----. 6 vmail vmail 22215889 Oct 12 10:42 Gionatan> .temp.1602494621.P51761Q0M119496.hostname Gionatan> -rw-r-----. 6 vmail vmail 22215889 Oct 12 10:42 Gionatan> .temp.1602494745.P51954Q0M387071.hostname Gionatan> -rw-r-----. 6 vmail vmail 22215889 Oct 12 10:42 Gionatan> .temp.1602495419.P53185Q0M671512.hostname Gionatan> -rw-r-----. 1 vmail vmail 848909 Oct 29 21:12 u.1623
Gionatan> 6x 22M files = 128M... Gionatan> [root@mail dbox-Mails]# du -hscl .temp.160249* Gionatan> 22M .temp.1602492703.P47358Q0M194142.hostname Gionatan> 22M .temp.1602494002.P50402Q0M898232.hostname Gionatan> 22M .temp.1602494013.P50446Q0M771524.hostname Gionatan> 22M .temp.1602494621.P51761Q0M119496.hostname Gionatan> 22M .temp.1602494745.P51954Q0M387071.hostname Gionatan> 22M .temp.1602495419.P53185Q0M671512.hostname Gionatan> 128M total
Gionatan> ...but only 22M really consumed (1 file, 6 hardlinks) Gionatan> [root@mail dbox-Mails]# du -hsc .temp.160249* Gionatan> 22M .temp.1602492703.P47358Q0M194142.hostname Gionatan> 22M total
Gionatan> I never run doveadm altmove; moreover, these .tempo files Gionatan> are both old (>1 year) and new (~3 weeks ago). Below you can Gionatan> find the output from dovecot -n. Any ideas?
I really don't know, sorry! I'd have to got poke at the source to see how they're created and where. I don't use dbox, I use Maildir for my setup.
So I suspect (but I'm not sure!) that these are just leftovers from mailbox accesses which got left behind. Try googling for 'dovecot dbox temp files' and maybe that will help. Sorry!
John
participants (3)
-
Gionatan Danti
-
John Stoffel
-
Maciek Jackowski