Displaying 20 results from an estimated 85 matches for "mail_attachment_min_size".
2015 Sep 05
3
Problems setting up SIS (duplicate files with same hash)
...pool
of attachments?
Alternatively, is it possible to have dovecot save the attachment under
more flexible permissions so that they can be shared between users?
This would allow us to save alot of disk space.
*Here is the SIS config I am using:*
mail_attachment_dir = /data/emails/attachments
#mail_attachment_min_size = 128k
#mail_attachment_fs = sis posix
#mail_attachment_hash = %{sha1}
Any help would be very much appreciated.
Thank you,
Joe B
2014 Mar 17
2
mdbox-files over 2 MB
...Encoding: base64" is set.
The email is stored in completely in "m.00000034"
------------------------------------- doveconf:
# 2.2.12: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.4 ext4
mail_attachment_dir = /var/mail/attachments
mail_attachment_hash = %{md5}
mail_attachment_min_size = 16 k
mail_location = mdbox:/var/mail/user/%n
mdbox_rotate_interval = 1 weeks
mdbox_rotate_size = 2 M
------------------------------------- directory:
root at xxx:/var/mail/user/xxx/storage# ls -al
...
-rw------- 1 vmail mail 14433784 M?r 16 13:51 m.00000034
...
2011 Dec 03
2
Questions about single intance storage
...re using dovecot 2.0.16 with mdbox+zlib. We are now testing SiS (Single Instance Storage) and I have 5 questions:
1? Is possible to "dedup" existing mdboxes?
2? Are attachments compressed with zlib if mdboxes already use zlib?
3? I have plenty CPU to spare, should I use a low value of mail_attachment_min_size , like 16KB ?
4? Can I "undo" SiS if I have problems?
5? We use bacula to save indexes & mdboxes, and we recover mailboxes using doveadm import when a user "makes a fatal mistake" wiping all her Inbox. If we enable SiS I am not really sure how can we safely restore a user&...
2018 Aug 29
1
where are stored attachments
Sorry, I have checked before I wrote first post. Based on docs - the path
should be in /etc/dovecot/dovecot.conf or /etc/dovecot/conf.d/10-mail.conf
(I have Ubuntu 16.04 LTS). I have some familiar lines in 10-mail.conf:
#mail_attachment_dir =
#mail_attachment_min_size = 128k
#mail_attachment_fs = sis posix
#mail_attachment_hash = %{sha1}
but all these lines are commented out. So - in theory - dovecot does not
store attachments anywhere but when I log into i.e. Roundcube, I have there
mails with attachments. In Maildir/cur I see formatted files related with
spec...
2014 May 30
1
attachment sis + EMLINK (too many links) = segfault bug (2.2.12)
...ddaa156ac15738e41ed3bedec1eda50175d-7bb7a20ddb598853541a000028db4a9f")
= -1 EMLINK (Too many links) 6740 --- SIGSEGV (Segmentation fault) @ 0
(0) ---
ls -lh:
-rw------- 100000 vmail vmail 4.7K Apr 28
16:54 /nfsmnt/mailatch1/f9/10/hashes/f9108ddaa156ac15738e41ed3bedec1eda50175d
We were using mail_attachment_min_size=4kb, we solve it by increasing it
to 8kb.
It would be nice to somehow fix this problem. Like not crash when
EMLINK happend and maybe do not deduplicate attachments but deliver
email without dedup.
Or create second file in hashes/ and start hardlinking it instead of
original.
AFAIK ext4 has also h...
2018 Aug 29
2
where are stored attachments
...;
> Sorry, I have checked before I wrote first post. Based on docs -
> the path should be in /etc/dovecot/dovecot.conf or
> /etc/dovecot/conf.d/10-mail.conf (I have Ubuntu 16.04 LTS). I have
> some familiar lines in 10-mail.conf:
> #mail_attachment_dir =
> #mail_attachment_min_size = 128k
> #mail_attachment_fs = sis posix
> #mail_attachment_hash = %{sha1}
>
> but all these lines are commented out. So - in theory - dovecot
> does not store attachments anywhere but when I log into i.e.
> Roundcube, I have there mails with attachments. In Ma...
2019 Jul 19
4
index worker 2.3.7 undefined symbol errors
...4 Ubuntu 18.04.2 LTS
# Hostname: localhost
auth_verbose = yes
first_valid_uid = 2000
imapc_features = rfc822.size fetch-headers
imapc_host = mailman.tobit.co.uk
imapc_port = 993
imapc_ssl = imaps
imapc_ssl_verify = no
imapc_user = %n
lda_mailbox_autocreate = yes
mail_attachment_dir = %h/attachments
mail_attachment_min_size = 64 k
mail_location = mdbox:%h:INBOX=%h/mail
mail_plugins = mail_log notify replication fts fts_lucene sieve
mail_prefetch_count = 20
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
re...
2015 Oct 01
0
SiS and attachments filename
Hi,
I've been working with dovecot SiS for a long time without any problem.
This is my configuration for SiS:
mail_attachment_dir = /mail/users/attachments
mail_attachment_fs = sis posix
mail_attachment_hash = %{sha1}
mail_attachment_min_size = 128 k
With this configuration, I have, for example:
# ls -l
/mail/users/attachments/27/d1/27d1904ac9947945bf48ea545ec278940d840ed1*
-rw------- 12 vmail vmail 142914 may 6 2013
/mail/users/attachments/27/d1/27d1904ac9947945bf48ea545ec278940d840ed1-090d88269ad28851f14b0000a9061514
...
And...
2015 Dec 08
2
Which mail does a certain attachment belong to?
...FOUND
When scanning the "attachments" directory of my mdbox. How can I find
out WHICH EMAIL these two attachments belong to?
mail_location = mdbox:~/mdbox
mail_plugins = zlib fts fts_lucene
mdbox_rotate_size = 128M
mdbox_rotate_interval = 0
mail_attachment_dir = /some/path/attachments
mail_attachment_min_size = 128k
mail_attachment_fs = sis posix
mail_attachment_hash = %{sha1}
--
[*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstra?e 15, 81669 M?nchen
Sitz der Gesellschaft: M?nchen, Amtsgericht M?nchen: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzende...
2018 Dec 18
0
Change default mode for attachment files
...+deb9u1
(2018-05-07) x86_64 GNU/Linux
dovecot --version
2.2.27 (c0f36b0)
10-mail.conf dovecot configuration:
mail_access_groups = vmail
mail_location = mdbox:~/mdbox
mdbox_preallocate_space = yes
mdbox_rotate_interval = 1 weeks
mdbox_rotate_size = 5 M
mail_attachment_dir = /var/mail/attachments
mail_attachment_min_size = 32k
mail_attachment_fs = sis posix
mail_attachment_hash = %{sha1}
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20181218/928ddfa7/attachment-0001.html>
2020 Apr 17
0
Problems with compressed mail_attachment_dir
...mail_plugins = $mail_plugins imap_quota imap_zlib
}
# Space separated list of plugins to load for all services. Plugins
specific to
# IMAP, LDA, etc. are added to this list in their own .conf files.
mail_plugins = quota fts fts_xapian mailbox_alias zlib
This happens with every message that exceed mail_attachment_min_size (in
my case, 32k) and is stored at mail_attachment_dir = /ATTACHMENTS
When I comment: mail_attachment_dir = /ATTACHMENTS, everything works fine
(compression included) with imap viewing on Thunderbird/Evolution.
Please, let me know if you need further information or have any suggestions
about thi...
2012 Mar 08
1
Single instance storage
I have read most of the doc on the dovecot website, and couldn't find any
info on the single instance storage feature, so I'm posting my questions
here.
- Are these 3 parameters the only one necessary for single instance
storage? I cannot find any doc on this feature on the website; is there
anything specific I need to know about them? (the last one isn't exactly
self-explanatory).
-
2013 Sep 19
1
Attachment file larger than expected
Hello,
I'm using dovecot 2.1.16 with SiS configured as:
mail_attachment_dir = <mypath>
mail_attachment_min_size = 128 k
mail_attachment_fs = sis posix
mail_attachment_hash = %{sha1}
I'm having a few errors like:
Sep 18 15:46:32 myotis51 dovecot: imap(igd): Error: Attachment file
/mail/users/attachments/16/b0/16b0b2023a903db14d7f7bcdb1cc04c3f67a4fcb-b32c0a2aa6ae39527c870000a9061514
larger than expect...
2013 Dec 27
0
Enabling SIS (single instance storage)
Ok, didn't find much on this...
The bottom of /etc/dovecot/conf.d/10-mail.conf has the following settings:
#mail_attachment_dir =
#mail_attachment_min_size = 128k
#mail_attachment_fs = sis posix
#mail_attachment_hash = %{sha1}
all of which are apparently the defaults according to doveconf -d output
- so no need to set them explicitly, unless I want to change them, right?
So, enable the first one - but - the comments don't say anything about
su...
2013 Jul 21
2
attachments not with email causing FETCH BODY failed
...ovecot: imap(user at example.com): Error: read(BODY[]) failed: No such file
or directory (FETCH for mailbox INBOX UID 42501)
dovecot: imap(user at example.com): Disconnected: FETCH failed in=186 out=86389
My dovecot.conf attachment related config is:
mail_attachment_dir = /home/%d/%n/attachments
mail_attachment_min_size = 128k
mail_attachment_fs = sis posix
mail_attachment_hash = %{sha1}
So, questions:
- anyone else experiencing this?
- how might this occurred?
- what is the best way to find the corrupted message?
- how should I go about fixing this?
Any help or pointers would be appreciated.
Thanks,
Anand
2014 Mar 17
1
mdbox-files not approximately 2 MB
...2MB files?
After the big file "m.00000034" with 14MB follow very many small ...
------------------------------------- doveconf:
# 2.2.12: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.4 ext4
mail_attachment_dir = /var/mail/attachments
mail_attachment_hash = %{md5}
mail_attachment_min_size = 16 k
mail_location = mdbox:/var/mail/user/%n
mdbox_rotate_interval = 1 weeks
mdbox_rotate_size = 2 M
------------------------------------- directory:
root at xxx:/var/mail/user/xxx/storage# ls -al
insgesamt 76532
drwx--S--- 2 vmail mail 4096 M?r 16 13:52 .
drwx--S--- 6 vmail mail 4096 M...
2015 Aug 15
0
ipv4 imap not accepting connections in mixed ipv4/ipv6
...m_password = %Db234A!&., at vc$
first_valid_uid = 2000
imapc_features = rfc822.size fetch-headers
imapc_host = post.tobit.co.uk
imapc_port = 993
imapc_ssl = imaps
imapc_ssl_verify = no
imapc_user = %n
lda_mailbox_autocreate = yes
login_greeting = IMAP ready.
mail_attachment_dir = %h/attachments
mail_attachment_min_size = 64 k
mail_location = mdbox:%h:INBOX=%h/mail
mail_plugins = " fts fts_lucene notify replication"
mail_prefetch_count = 20
mailbox_list_index = yes
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparat...
2018 May 16
1
[ceph-users] dovecot + cephfs - sdbox vs mdbox
...? We have used it in the past and we've had some
> > problems with it.
>
> I am using it since Dec 2016 with mdbox, with no issue at all (I am
> currently using Dovecot 2.2.27-3 from Debian Stretch)
> The only config I use is mail_attachment_dir, the rest lies as default
> (mail_attachment_min_size = 128k, mail_attachment_fs = sis posix,
> ail_attachment_hash = %{sha1})
> The backend storage is a local filesystem, and there is only one Dovecot
> instance
>
> >
> > Regards,
> >
> > Webert Lima
> > DevOps Engineer at MAV Tecnologia
> > *Belo Horiz...
2018 Jun 08
2
outlook hangs using TLS
...tl = 1 days
auth_debug = yes
auth_mechanisms = plain login
auth_username_chars = abcdefghijklmnopqrstuvwxyz.@
auth_verbose = yes
default_client_limit = 1024
default_process_limit = 16
doveadm_password = mysecretpasswordsharedamongservers
first_valid_uid = 1000
mail_attachment_dir = /srv/attachments
mail_attachment_min_size = 4 k
mail_debug = yes
mail_home = /var/spool/mail/%d/%n
mail_location = mdbox:~/mail
mail_plugins = replication notify
mail_privileged_group = mail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;asc...
2015 Nov 05
0
replication delays
...ome secret string or other>
first_valid_uid = 2000
imapc_features = rfc822.size fetch-headers
imapc_host = <imap hostname>
imapc_port = 993
imapc_ssl = imaps
imapc_ssl_verify = no
imapc_user = %n
lda_mailbox_autocreate = yes
login_greeting = IMAP ready.
mail_attachment_dir = %h/attachments
mail_attachment_min_size = 64 k
mail_location = mdbox:%h:INBOX=%h/mail
mail_plugins = " fts fts_lucene mail_log notify notify replication"
mail_prefetch_count = 20
mailbox_list_index = yes
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation su...