Error when reading attachment - one byte overhead?

2015-08-12 Thread Ачилов Рашид Нурмухамедович
After converting maildir to mdbox mail periodically obtained these messages: Aug 13 11:22:27 mailsrv dovecot: imap(user-aaa): Error: read(/usr/share/smbusers/user-aaa/mail/attachments/a0/8e/a08e3e63e11aae3f37020bdca0da7d-7b39ab07ea73ba559d45dec08558[base64:18 b/l]) failed: Stream is larger

Re: Convert from Maildir to Mdbox

2015-08-12 Thread Ачилов Рашид Нурмухамедович
11/08/15 13:35, J. Echter пишет: Hi, i'd like to convert from maildir to mdbox. what would be the best way to do this? i have read the dsync part of the dovecot wiki but i don't get what i have to use for my setup. Sometime, when I must converted many user's mailboxes from mbox to mdbox, I

Re: SiS does not work

2015-08-12 Thread Ачилов Рашид Нурмухамедович
10/08/15 19:35, Oscar del Rio пишет: You forgot to post your "doveconf -n" configuration. It looks like your attachment storage includes the username in the path. That won't work. The path should be global, e.g. /usr/share/mail/attachments, and readable/writable by the dovecot process. SiS dedu

imap segfaults when using antispam plugin, and moving mail to an 'unsure' folder.

2015-08-12 Thread Andrew McN
I put up a question on serverfault first, which has the details, including a stack trace: http://serverfault.com/questions/713687/dovecot-antispam-error-storing-mail . Details also copied below. Is this a known bug? If I built dovecot from source rather than using the Ubuntu 14.04 packages, wou

Re: multiple messages per second to a single mailbox

2015-08-12 Thread Chad M Stewart
On Aug 12, 2015, at 11:58 AM, Daniel Tröder wrote: > On 08/12/2015 17:19, Chad M Stewart wrote: >> What I'm seeing is very high load on the system (40) and queues building on >> the Postfix side. > High load means, that there are a lot of processes waiting to run. The > most likely cause for th

Re: multiple messages per second to a single mailbox

2015-08-12 Thread Daniel Tröder
On 08/12/2015 17:19, Chad M Stewart wrote: > What I'm seeing is very high load on the system (40) and queues building on > the Postfix side. High load means, that there are a lot of processes waiting to run. The most likely cause for this is not CPU consumption, but I/O wait. Please run vmstat an

Re: multiple messages per second to a single mailbox

2015-08-12 Thread Chad M Stewart
On Aug 12, 2015, at 11:25 AM, Chad M Stewart wrote: > <..snip..> > Since I posted I've changed a couple of things: ulimit -n 8192, and disabled > fsync as in mail_fsync = never. I'm not sure if I'll put it back in the LMTP > section or not. Given all the hardware abstraction layers. I f

Re: multiple messages per second to a single mailbox

2015-08-12 Thread Chad M Stewart
On Aug 12, 2015, at 11:04 AM, Andrzej A. Filip wrote: > > <..snip..> > Could you provide the following info: > a) mailbox type (maildir/mbox/dbox/...) maildir > [mail_location in dovecot's config] /srv/mail/// > b) file system type (ext2/ext3/ext4/fat32/...) > [provided by "df -T" command

Re: multiple messages per second to a single mailbox

2015-08-12 Thread Andrzej A. Filip
Chad M Stewart wrote: > Dovecot 2.2.18 on CentOS 6 > > I have a pair of servers setup with MySQL, Postfix, and Dovecot. Replication > is setup and working between the two dovecot instances. > > The problem I'm running into is that a single mailbox receives a lot > of messages, at times the rate

multiple messages per second to a single mailbox

2015-08-12 Thread Chad M Stewart
Dovecot 2.2.18 on CentOS 6 I have a pair of servers setup with MySQL, Postfix, and Dovecot. Replication is setup and working between the two dovecot instances. The problem I'm running into is that a single mailbox receives a lot of messages, at times the rate is multiple messages per second.