Re: [Dovecot] users mail folders have to be subscribed

2012-11-19 Thread Andre Bischof
Daniel,

Am 19.11.2012 23:32 schrieb "Daniel Parthey" <
daniel.part...@informatik.tu-chemnitz.de>:
>
> Andre Bischof wrote:
> > doveadm mailbox subscribe -u u...@example.com "*"
> >
> > Should the user for "-u" be the system user the
> > mailboxes belong to or has the user to be written in form of an email
> > adress (user@localhost / u...@n.dyndns.org)?
>
> It should be the same userdb username as used for imap login.

Thank you. One thing that still doesn't work is subscribing to all
mailboxes via "*", I guess because the folder names start with "." but
dovecot mailbbox subscribe wants it without a starting "." Any clues how
that can be solved?

Regards
Andre


Re: [Dovecot] ACL and SSL

2012-11-19 Thread The Doctor
On Mon, Nov 19, 2012 at 07:13:21PM +0100, Robert Schetterer wrote:
> Am 19.11.2012 18:55, schrieb The Doctor:
> > /mail) failed: Permission denied (euid=2618(MOEuser) egid=2991(sc) missing 
> > +w perm: /usr/home/MOEuser, dir owned by 0:2991 mode=0755
> 
> seems you got a permisson problem
>

Found it !

Looks like the user account was missing the mail directory.

fail2ban will implement.

Now Outlook 2010 reporting repeated mail.  Is this  a similar issue with 
OL2003?
 
> 
> Best Regards
> MfG Robert Schetterer
> 
> -- 
> [*] 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, Axel von der Ohe, Marc Schiffbauer
> Aufsichtsratsvorsitzender: Joerg Heidrich

-- 
Member - Liberal International  This is doc...@nl2k.ab.ca Ici doc...@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising! 
http://www.fullyfollow.me/rootnl2k Merry Christmas 2012 and Happy New Year 2013


Re: [Dovecot] FYI: News about Mark Crispin

2012-11-19 Thread Noel Butler
That's so sad, Marks a nice guy, and too fricken young for this to
happen


On Tue, 2012-11-20 at 02:55 +0200, Timo Sirainen wrote:
> Begin forwarded message:
> 
> > From: Barry Leiba 
> > Date: 20. marraskuuta 2012 2.44.51 UTC+2.00
> > To: im...@ietf.org, imap...@ietf.org, imap-proto...@u.washington.edu, 
> > imap-...@u.washington.edu
> > Subject: [imapext] News about Mark Crispin
> > Reply-To: im...@ietf.org
> > 
> > Everyone here knows Mark Crispin -- or at least knows who he is: Mark is 
> > the author of the original IMAP specification, and has taken it through its 
> > different versions to the present IMAP4rev1.  He's written reference 
> > implementations of both server and client, and has been a vocal participant 
> > on all the mailing lists I'm posting this to.
> > 
> > I'm sad to have to report that Mark is now terminally ill, and is in 
> > hospice care.
> > 
> > For now, at least, I'm told that Mark is at least somewhat aware.  If 
> > anyone has brief well-wishing messages they'd like to send him, please post 
> > them to the  mailing list, and I'll forward them to Mark's 
> > long-term companion, Annie.  I will also post updates to that list as I get 
> > them.
> > 
> > [The Reply-To for this message is set to , so that replies 
> > will go there.  You will have to subscribe to that mailing list in order to 
> > post to it.  You can do that here:
> > http://www.ietf.org/mailman/listinfo/imap5 ]
> > 
> > Barry Leiba
> > 
> > ___
> > imapext mailing list
> > imap...@ietf.org
> > https://www.ietf.org/mailman/listinfo/imapext
> > 
> 



signature.asc
Description: This is a digitally signed message part


[Dovecot] FYI: News about Mark Crispin

2012-11-19 Thread Timo Sirainen
Begin forwarded message:

> From: Barry Leiba 
> Date: 20. marraskuuta 2012 2.44.51 UTC+2.00
> To: im...@ietf.org, imap...@ietf.org, imap-proto...@u.washington.edu, 
> imap-...@u.washington.edu
> Subject: [imapext] News about Mark Crispin
> Reply-To: im...@ietf.org
> 
> Everyone here knows Mark Crispin -- or at least knows who he is: Mark is the 
> author of the original IMAP specification, and has taken it through its 
> different versions to the present IMAP4rev1.  He's written reference 
> implementations of both server and client, and has been a vocal participant 
> on all the mailing lists I'm posting this to.
> 
> I'm sad to have to report that Mark is now terminally ill, and is in hospice 
> care.
> 
> For now, at least, I'm told that Mark is at least somewhat aware.  If anyone 
> has brief well-wishing messages they'd like to send him, please post them to 
> the  mailing list, and I'll forward them to Mark's long-term 
> companion, Annie.  I will also post updates to that list as I get them.
> 
> [The Reply-To for this message is set to , so that replies 
> will go there.  You will have to subscribe to that mailing list in order to 
> post to it.  You can do that here:
> http://www.ietf.org/mailman/listinfo/imap5 ]
> 
> Barry Leiba
> 
> ___
> imapext mailing list
> imap...@ietf.org
> https://www.ietf.org/mailman/listinfo/imapext
> 



Re: [Dovecot] whoson plugin for 2.0

2012-11-19 Thread Chuck Cochems

On 11/16/2012 4:43 PM, Pascal Volk wrote:

On 11/16/2012 11:21 PM Chuck Cochems wrote:

…
I need to return both the IP and the email address as a string to drop
it into the old code.
…


You could check the code of the `doveadm who` command
. It shows both, the user
name and the IP address.


Regards,
Pascal



Problem solved.

i finally found a working verion. i told the author to switch from 
strlcpy (which is not part of glibc) to i_strocpy (which dovecot 
provides). hopefulyl he will listen. if not, that's how to fix it.


http://ftp.ufanet.ru/pub/boco/dovecot/whoson-plugin-2/

someone update the 2.0 wiki link. :)



Re: [Dovecot] users mail folders have to be subscribed

2012-11-19 Thread Daniel Parthey
Andre Bischof wrote:
> doveadm mailbox subscribe -u u...@example.com "*"
> 
> Should the user for "-u" be the system user the
> mailboxes belong to or has the user to be written in form of an email
> adress (user@localhost / u...@n.dyndns.org)?

It should be the same userdb username as used for imap login.

Regards
Daniel
-- 
https://plus.google.com/103021802792276734820


Re: [Dovecot] [BUMP] Unanswered: how to force FTS indexing?

2012-11-19 Thread Daniel L. Miller

On 11/18/2012 6:57 AM, Dave Abrahams wrote:

on Sat Nov 17 2012, "Daniel L. Miller"  wrote:


On 11/16/2012 12:58 PM, Dave Abrahams wrote:

on Thu Nov 15 2012, "Daniel L. Miller"  wrote:


On 11/14/2012 6:52 AM, Dave Abrahams wrote:

Does anyone have an answer to this question?  Should I simply issue an
IMAP search command, or is there a better way?


Put this in a cron script:

doveadm search -A text zyxabcxyz > /dev/null

That will perform a search through every mailbox on the system,
indexing as it goes.  The search query is unlikely to return much in
the way of results, so log files won't fill up much.

That actually doesn't work for me.  "doveadm index ..." does, though.


Use whatever works for you.  The problem (for me) with "doveadm index"
is it only works with the specified mailboxes.  It can be done for all
users - but only designated mailboxes.  So a "doveadm index -A INBOX"
will scan all inboxes - but none of the other folders.  The search
command I showed performs a recursive search that hits everything.

I take it back; I'm not sure if "doveadm search" causes re-indexing.
However, I *know* issuing a search command from a Python IMAP library
doesn't do so.



That indicates something else is broken - unless my Dovecot 
understanding is totally off (which is always possible, even likely).  
To my knowledge, until the relatively recent support for the "doveadm 
index" command, the primary and indeed only way to index was to perform 
a search.  When Dovecot receives a search request, whether passed by 
IMAP or through the doveadm backdoor, if the mailbox isn't current then 
any new mails are supposed to be added to the index in the course of the 
search.  If that doesn't happen - then I think something is broken in 
your setup.


--
Daniel


Re: [Dovecot] ACL and SSL

2012-11-19 Thread Robert Schetterer
Am 19.11.2012 18:55, schrieb The Doctor:
> /mail) failed: Permission denied (euid=2618(MOEuser) egid=2991(sc) missing +w 
> perm: /usr/home/MOEuser, dir owned by 0:2991 mode=0755

seems you got a permisson problem


Best Regards
MfG Robert Schetterer

-- 
[*] 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, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Joerg Heidrich


Re: [Dovecot] ACL and SSL

2012-11-19 Thread The Doctor
On Sat, Nov 17, 2012 at 05:23:43PM -0700, Dave Shariff Yadallee - System 
Administrator a.k.a. The Root of the Problem wrote:
> Finally got Dovecot to work on ports 100 and 143.
> 
> I would like to
> 
> a) Learn about ACL esp on port 110 as there are still yodellaks that try 
>   to brake in on port 110.
> 
> b) Setting up separate SSL cert for imaps and pop3s.


Found this one out easily, however new issue:

Nov 19 09:21:23 doctor dovecot: pop3-login: Login: user=, 
method=PLAIN, rip=208.118.93.81, lip=local mail server, TLS
Nov 19 09:21:23 doctor dovecot: POP3(MOEuser):Debug: Effective uid=2618, 
gid=2991, home=/usr/home/MOEuser
Nov 19 09:21:23 doctor dovecot: POP3(MOEuser):Debug: fs: 
root=/usr/home/MOEuser/mail, index=, control=, inbox=/var/mail/MOEuser, alt=
Nov 19 09:21:23 doctor dovecot: POP3(MOEuser):Debug: Namespace : 
/usr/home/MOEuser/mail doesn't exist yet, using default permissions
Nov 19 09:21:23 doctor dovecot: POP3(MOEuser):Debug: Namespace : Using 
permissions from /usr/home/MOEuser/mail: mode=0700 gid=-1
Nov 19 09:21:23 doctor dovecot: POP3(MOEuser):Error: user MOEuser: 
Initialization failed: Initializing mail storage from mail_location setting 
failed: mkdir(/usr/home/MOEuser/mail) failed: Permission denied 
(euid=2618(MOEuser) egid=2991(sc) missing +w perm: /usr/home/MOEuser, dir owned 
by 0:2991 mode=0755)
Nov 19 09:21:23 doctor dovecot: POP3(MOEuser):Error: Invalid user settings. 
Refer to server log for more information.
Nov 19 09:21:27 doctor dovecot: pop3-login: Login: user=, 
method=PLAIN, rip=208.118.93.81, lip=local mail server, TLS
Nov 19 09:21:27 doctor dovecot: POP3(MOEuser):Debug: Effective uid=2618, 
gid=2991, home=/usr/home/MOEuser
Nov 19 09:21:27 doctor dovecot: POP3(MOEuser):Debug: fs: 
root=/usr/home/MOEuser/mail, index=, control=, inbox=/var/mail/MOEuser, alt=
Nov 19 09:21:27 doctor dovecot: POP3(MOEuser):Debug: Namespace : 
/usr/home/MOEuser/mail doesn't exist yet, using default permissions
Nov 19 09:21:27 doctor dovecot: POP3(MOEuser):Debug: Namespace : Using 
permissions from /usr/home/MOEuser/mail: mode=0700 gid=-1
Nov 19 09:21:27 doctor dovecot: POP3(MOEuser):Error: user MOEuser: 
Initialization failed: Initializing mail storage from mail_location setting 
failed: mkdir(/usr/home/MOEuser/mail) failed: Permission denied 
(euid=2618(MOEuser) egid=2991(sc) missing +w perm: /usr/home/MOEuser, dir owned 
by 0:2991 mode=0755)
Nov 19 09:21:27 doctor dovecot: POP3(MOEuser):Error: Invalid user settings. 
Refer to server log for more information.
Nov 19 09:21:35 doctor dovecot: imap-login: Login: user=, 
method=PLAIN, rip=208.118.93.81, lip=local mail server
Nov 19 09:21:35 doctor dovecot: IMAP(MOEuser):Debug: Effective uid=2618, 
gid=2991, home=/usr/home/MOEuser
Nov 19 09:21:35 doctor dovecot: IMAP(MOEuser):Debug: fs: 
root=/usr/home/MOEuser/mail, index=, control=, inbox=/var/mail/MOEuser, alt=
Nov 19 09:21:35 doctor dovecot: IMAP(MOEuser):Debug: Namespace : 
/usr/home/MOEuser/mail doesn't exist yet, using default permissions
Nov 19 09:21:35 doctor dovecot: IMAP(MOEuser):Debug: Namespace : Using 
permissions from /usr/home/MOEuser/mail: mode=0700 gid=-1
Nov 19 09:21:35 doctor dovecot: IMAP(MOEuser):Error: user MOEuser: 
Initialization failed: Initializing mail storage from mail_location setting 
failed: mkdir(/usr/home/MOEuser/mail) failed: Permission denied 
(euid=2618(MOEuser) egid=2991(sc) missing +w perm: /usr/home/MOEuser, dir owned 
by 0:2991 mode=0755)
Nov 19 09:21:35 doctor dovecot: IMAP(MOEuser):Error: Invalid user settings. 
Refer to server log for more information.
Nov 19 09:21:48 doctor dovecot: imap-login: Login: user=, 
method=PLAIN, rip=208.118.93.81, lip=local mail server
Nov 19 09:21:48 doctor dovecot: IMAP(MOEuser):Debug: Effective uid=2618, 
gid=2991, home=/usr/home/MOEuser
Nov 19 09:21:48 doctor dovecot: IMAP(MOEuser):Debug: fs: 
root=/usr/home/MOEuser/mail, index=, control=, inbox=/var/mail/MOEuser, alt=
Nov 19 09:21:48 doctor dovecot: IMAP(MOEuser):Debug: Namespace : 
/usr/home/MOEuser/mail doesn't exist yet, using default permissions
Nov 19 09:21:48 doctor dovecot: IMAP(MOEuser):Debug: Namespace : Using 
permissions from /usr/home/MOEuser/mail: mode=0700 gid=-1
Nov 19 09:21:48 doctor dovecot: IMAP(MOEuser):Error: user MOEuser: 
Initialization failed: Initializing mail storage from mail_location setting 
failed: mkdir(/usr/home/MOEuser/mail) failed: Permission denied 
(euid=2618(MOEuser) egid=2991(sc) missing +w perm: /usr/home/MOEuser, dir owned 
by 0:2991 mode=0755)
Nov 19 09:21:48 doctor dovecot: IMAP(MOEuser):Error: Invalid user settings. 
Refer to server log for more information. 


The MOEuser atnds for Microsoft Outlook Express user.

The credentials were correct i.e. user/pw but
Dovecot kept reject the user.

I heard similar complants from M$ Mail, OE, and Outlook users


doveconf -n
# 2.1.10: /usr/dovecot2/etc/dovecot/dovecot.conf
# OS: BSD/OS 4.3 i386
base_dir = /var/run/dovecot/
disable_plaintext_auth = no
first_valid_

Re: [Dovecot] ACL and SSL

2012-11-19 Thread Robert Schetterer
Am 18.11.2012 01:23, schrieb Dave Shariff Yadallee - System
Administrator a.k.a. The Root of the Problem:
> ) Learn about ACL esp on port 110 as there are still yodellaks that try 
>   to brake in on port 110.

what acl you like to set over pop3 ?

usually acl at dovecot means folder permissions in imap

http://wiki2.dovecot.org/ACL

if you mean
what to do against brute force

use i.e fail2ban

http://wiki2.dovecot.org/HowTo/Fail2Ban

Best Regards
MfG Robert Schetterer

-- 
[*] 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, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Joerg Heidrich


Re: [Dovecot] ACL and SSL

2012-11-19 Thread Ben Morrow
At  5PM -0700 on 17/11/12 you (Dave Shariff Yadallee - System Administrator 
a.k.a. The Root of the Problem) wrote:
> Finally got Dovecot to work on ports 100 and 143.

Port 100 is unassigned. Are you using it for POP3?

> I would like to
> 
> a) Learn about ACL esp on port 110 as there are still yodellaks that try 
>   to brake in on port 110.

If Dovecot is not listening on port 110 there is nothing it can do about
people trying to connect to that port. Perhaps you want to simply block
it in your firewall?

> b) Setting up separate SSL cert for imaps and pop3s.

See the section called 'Different certificates per IP and protocol' in
http://wiki2.dovecot.org/SSL/DovecotConfiguration .

Ben



Re: [Dovecot] Dovecot sieve with postfix.

2012-11-19 Thread Fi4IT - Daniel Fischer

Hello Joe,

i use this:
main.cf
virtual_transport = dovecot

master.cf
dovecot   unix  -   n   n   -   -   pipe
  flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f 
${sender} -d ${recipient}


/etc/dovecot/conf.d/15-lda.conf
protocol lda {
  log_path = /var/log/sieve.log
  mail_plugins = acl sieve
}

and that works fine with my tested clients (tb,outlook,roundcube)

daniel

Am 19.11.2012 15:17, schrieb /#!/JoePea:

Hi all,

I can't get dovecot working with postfix. If I leave virtual_transport set
to "virtual", I can send and receive messages just fine in roundcube. If I
set virtual_transport to "dovecot", I can only send messages in roundcube,
but incoming messages never arrive. Seems I can't get dovecot-lda to work.
I need dovecot-lda in order for sieve filters to work.

Any idea what I'm doing wrong?

Here's `doveconf -n`:
http://pastie.org/5401133

`postconf -n`:
http://pastie.org/5401157

and `postconf -M`:
http://pastie.org/5401177

Note: All I have to do is change virtual_transport = dovecot to
virtual_transport
= virtual and all will be fine, except for that I won't have sieve
filtering which is what I really want.

*/#!/*JoePea




--

Fischer Daniel
FI4IT - that's it
Messerschmittstrasse 17
89231 Neu Ulm

Email: dfisc...@fi4it.de
Web: www.fi4it.de
Telefon: 073180019370
Fax: 073180019375
Mobil: 01729230731



[Dovecot] ACL and SSL

2012-11-19 Thread Dave Shariff Yadallee - System Administrator a.k.a. The Root of the Problem
Finally got Dovecot to work on ports 100 and 143.

I would like to

a) Learn about ACL esp on port 110 as there are still yodellaks that try 
  to brake in on port 110.

b) Setting up separate SSL cert for imaps and pop3s.

-- 
For effective Internet Etiquette and communications read 
http://catb.org/jargon/html/T/top-post.html, http://idallen.com/topposting.html
& http://www.caliburn.nl/topposting.html

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Re: [Dovecot] Dovecot sieve with postfix.

2012-11-19 Thread Ben Morrow
At  6AM -0800 on 19/11/12 you (/#!/JoePea) wrote:
> 
> I can't get dovecot working with postfix. If I leave virtual_transport set
> to "virtual", I can send and receive messages just fine in roundcube. If I
> set virtual_transport to "dovecot", I can only send messages in roundcube,
> but incoming messages never arrive. Seems I can't get dovecot-lda to work.
> I need dovecot-lda in order for sieve filters to work.
> 
> Any idea what I'm doing wrong?
> 
> Here's `doveconf -n`:
> http://pastie.org/5401133
> 
> `postconf -n`:
> http://pastie.org/5401157
> 
> and `postconf -M`:
> http://pastie.org/5401177

The only obvious thing I can see wrong there is that you have

mail_plugins = " sieve"

in dovecot.conf, which should be

mail_plugins = sieve

but I don't know that that would prevent delivery.

Is Postfix deferring the message, or does it think it's been delivered?
What do you see in your logs when a message is delivered (since you've
redirected Dovecot away from syslog, you'd need to look at both
Postfix's and Dovecot's logs)?

What happens if you feed a message to dovecot-lda manually, as
'mailman'? Check the exitcode of lda and the logs, as well as seeing if
the message was delivered.

Since you've set up a dedicated transport for Dovecot, it would probably
be worth using LMTP instead of the LDA. It should be more efficient, and
since you're only using a single virtual user you can tell dovecot to
run the LMTP server as 'mailman' instead of root.

Ben



Re: [Dovecot] Unsuscribe

2012-11-19 Thread Reindl Harald


Am 19.11.2012 16:49, schrieb Hendrik:
> Please unsubscribe me

whay do people not read nor understand welcome messages
of mailing-lists? unsubscribe yourself because we can
NOT and we want not too

List-Unsubscribe: ,




signature.asc
Description: OpenPGP digital signature


Re: [Dovecot] Unsuscribe

2012-11-19 Thread Pascal Volk
On 11/19/2012 04:49 PM Hendrik wrote:
> Please unsubscribe me


The header of your message contains:

List-Unsubscribe: ,



Regards,
Pascal
-- 
The trapper recommends today: defaced.1232...@localdomain.org


[Dovecot] Unsuscribe

2012-11-19 Thread Hendrik
Please unsubscribe me



Re: [Dovecot] Data Store Synchronization

2012-11-19 Thread Robert Schetterer
Am 19.11.2012 14:48, schrieb Roman Gelfand:
> Is there a way to synchronize dovecote mail store with another mail
> store, like zarafa, via imap or pop3?
> 
> Thanks in advance
> 

depends "what" sync you goal

search www for i.e

imapsync
getmail

or more filesystem related

rsync
dsync

Best Regards
MfG Robert Schetterer

-- 
[*] 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, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Joerg Heidrich


[Dovecot] fs_flush_file_handle_cache_dir: rmdir(/var/mail) AGAIN

2012-11-19 Thread Ken Mandelberg
We are running Dovecot 2.0.12. It runs on only one server and /var/mail 
is local where all the INBOX's are stored. Users other IMAP folders are 
NFS mounted on the server.


We see frequent

Error: nfs_flush_file_handle_cache_dir: rmdir(/var/mail) failed: Device busy

I know this error message has been around a long time. Should we still 
be seeing it on 2.0.12 with a local /var/mail. Perhaps the message is 
misleading and really complaining about folders other than INBOX that 
are NFS mounted.



Our config has

dovecot.conf:mail_nfs_index = no
dovecot.conf:mail_nfs_storage = yes

is that correct given the above?

Also, does the flush error messages have any real consequences? My 
understanding is that the rmdir is meant to fail, just to force a flush.


[Dovecot] upgrade 1.0.15 -> 2.1.7: MBOX index compatibility and performance

2012-11-19 Thread Benoit Branciard

Hi,

we just upgraded our mailserver from Dovecot 1.0.15 to Dovecot 2.1.7.

We use MBOX format (due to legacy compatibility), system users, 
PAM+GSSAPI auth, filesystem quotas, and indexes located on a separate 
filesystem:


mail_location = 
mbox:~/mail:INBOX=~/mail/INBOX:INDEX=/var/cache/dovecot/indexes/%16Hu/%u


The 2.1.7 configuration files have been rewritten based on default 
templates instead of converting it from 1.0.15.


The server has ~8000 mailboxes and about ~2000 simultaneous IMAP/POP 
active connexions.


The problem is:

- indexes seem to be rebuilt: first IMAP/POP connexion for each user 
thows lots of error messages in the log, and the global index size 
decreases.


Example error log:
Nov 19 08:56:38 myhost dovecot: imap(myuser): Error: Cached message size 
larger than expected (27884 > 27855)
Nov 19 08:56:38 myhost dovecot: imap(myuser): Error: Corrupted index 
cache file 
/var/cache/dovecot/indexes/4/myuser/.imap/INBOX/dovecot.index.cache: 
Broken physical size for mail UID 4414
Nov 19 08:56:38 myhost dovecot: imap(myuser): Error: Cached message size 
larger than expected (27884 > 27855)
Nov 19 08:56:38 myhost dovecot: imap(myuser): Error: Corrupted index 
cache file 
/var/cache/dovecot/indexes/4/myuser/.imap/INBOX/dovecot.index.cache: 
Broken physical size for mail UID 4414
Nov 19 08:56:38 myhost dovecot: imap(myuser): Error: Cached message size 
larger than expected (27884 > 27855)
Nov 19 08:56:38 myhost dovecot: imap(myuser): Error: Corrupted index 
cache file 
/var/cache/dovecot/indexes/4/myuser/.imap/INBOX/dovecot.index.cache: 
Broken physical size for mail UID 4414
Nov 19 08:56:38 myhost dovecot: imap(myuser): Error: Cached message size 
larger than expected (27884 > 27855)
Nov 19 08:56:38 myhost dovecot: imap(myuser): Error: Corrupted index 
cache file 
/var/cache/dovecot/indexes/4/myuser/.imap/INBOX/dovecot.index.cache: 
Broken physical size for mail UID 4414
Nov 19 08:56:38 myhost dovecot: imap(myuser): Error: copy: 
i_stream_read() failed: Input/output error
Nov 19 08:56:38 myhost dovecot: imap(myuser): Error: Cached message size 
larger than expected (27884 > 27855)
Nov 19 08:56:38 myhost dovecot: imap(myuser): Error: Corrupted index 
cache file 
/var/cache/dovecot/indexes/4/myuser/.imap/INBOX/dovecot.index.cache: 
Broken physical size for mail UID 4414



- load average is extremely high (more than 10x the usual one), 
resulting from an significant increase of disk I/O, and for now (4h 
after the "monday rush") this doesn't seem to decrease.



Questions:

- are 1.05 indexes supposed to be backward compatible with Dovecot 2.1.7 ?
- are there some technical reasons which could explain the increase of 
disk I/O, apart from index rebuild ?



--
Benoit BRANCIARD
Service InfraStructures (SIS) - Direction du Système d'Information (DSI)
Université Paris 1 Panthéon-Sorbonne
Centre Pierre Mendès France
B 406 - 90, rue de Tolbiac - 75634 Paris cedex 13 - France
Tél : +33 1 44 07 89 68 - Fax : +33 1 44 07 89 66
Accueil tél. : +33 1 44 07 89 65
Assistance : assistance-...@univ-paris1.fr
Web : http://dsi.univ-paris1.fr

--
Ce message a ete verifie par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ete trouve.



Re: [Dovecot] users mail folders have to be subscribed

2012-11-19 Thread Andre Bischof
Sven, Daniel,

2012/11/19 Sven Hartge 

> Andre Bischof  wrote:
> > 2012/11/18 Daniel Parthey 
>
...

>
> "supscription" in IMAP-speak is the server telling the client: show this
> folder to the user.
>
> There is no differentiation between your folders an other users folders.
>
> Your problem is that during your conversion from cyrus to dovecot your
> subscriptions got lost. Maybe because the folder structure changed and
> no longer matches the server-stored subscription or because the
> server-stored subscription was not converted at all.
>
> Ah, now I understand. Thanks to Daniel I now know how I could tune
Thunderbird accordingly, but I prefer to have it solved server-side, thus
not tweaking every client I use from different computers.

Sven, I believe subscription have been lost while converting from cyrus to
dovecot, and I understand that I should use the commands shown by Daniel to
subscribe this folders one time server side, and my problems should be
solved no matter which clients I use (I put lda_mailbox_autosubscribe = yes
already):

doveadm mailbox subscribe -u u...@example.com "*"

One more question: Should the user for "-u" be the system user the
mailboxes belong to or has the user to be written in form of an email
adress (user@localhost / u...@n.dyndns.org)?

Regards


Re: [Dovecot] Initial status notification not received

2012-11-19 Thread Nicolas KOWALSKI
Hello,

Has anybody some suggestions about the problem below?

I see in the archives 
(http://thread.gmane.org/gmane.mail.imap.dovecot/67077) that someone 
also has (had?) this problem; a cronjob workaround was used, but no 
dovecot solution was given.

Thanks,
Nicolas


On Fri, Nov 16, 2012 at 03:12:59PM +0100, Nicolas KOWALSKI wrote:
> Hello,
> 
> We have SLES-11 SP2 Xen VMs running dovecot as IMAP proxies. At VMs 
> startup, dovecot almost always shows these errors:
> 
> Nov 16 14:29:19 server dovecot: master: Dovecot v2.1.10 starting up (core 
> dumps disabled)
> Nov 16 14:29:55 server dovecot: master: Error: service(anvil): Initial status 
> notification not received in 30 seconds, killing the process
> Nov 16 14:29:55 server dovecot: master: Error: service(log): Initial status 
> notification not received in 30 seconds, killing the process
> Nov 16 14:29:55 server dovecot: master: Error: service(ssl-params): Initial 
> status notification not received in 30 seconds, killing the process
> Nov 16 14:29:55 server dovecot: master: Error: service(log): child 3591 
> killed with signal 9
> 
> As the last line tells, dovecot stops logging information. We have to 
> restart the dovecot processes to get back normal behaviour. I also tried 
> to set idle_kill values to services definitions, without success.
> 
> Is there a way to prevent these errors?
> 
> 
> Here is the dovecot -n output:
> 
> # 2.1.10: /etc/dovecot/dovecot.conf
> # OS: Linux 3.0.42-0.7-xen x86_64 SUSE Linux Enterprise Server 11 
> (x86_64)
> default_client_limit = 4096
> default_idle_kill = 5 mins
> default_process_limit = 16384
> listen = 10.254.251.18
> 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 ihave
> namespace inbox {
>   inbox = yes
>   location =
>   mailbox Drafts {
> special_use = \Drafts
>   }
>   mailbox Junk {
> special_use = \Junk
>   }
>   mailbox Sent {
> special_use = \Sent
>   }
>   mailbox "Sent Messages" {
> special_use = \Sent
>   }
>   mailbox Trash {
> special_use = \Trash
>   }
>   prefix =
> }
> passdb {
>   args = /etc/dovecot/dovecot-ldap.conf.ext
>   driver = ldap
> }
> plugin {
>   sieve = ~/.dovecot.sieve
>   sieve_dir = ~/sieve
> }
> protocols = imap sieve
> service anvil {
>   client_limit = 65536
>   idle_kill = 0
> }
> service auth {
>   client_limit = 32768
> }
> service imap-login {
>   inet_listener imap {
> port = 0
>   }
> }
> service imap {
>   process_limit = 0
> }
> service log {
>   idle_kill = 0
> }
> service managesieve {
>   process_limit = 0
> }
> service ssl-params {
>   idle_kill = 0
> }
> ssl_ca =  ssl_cert =  ssl_key =  userdb {
>   args = /etc/dovecot/dovecot-ldap.conf.ext
>   driver = ldap
> }
> protocol sieve {
>   passdb {
> args = /etc/dovecot/dovecot-ldap-sieve.conf.ext
> driver = ldap
>   }
> }
> 
> 
> Thanks,
> -- 
> Nicolas

-- 
Nicolas