Re: [Dovecot] Attacking Dovecot

2011-09-09 Thread Jim
There isn't enough information presented to assist, you'll want to refer to the wiki to increase your logging to get more detail: http://wiki.dovecot.org/Logging What you need is the system IP that's connecting as these users, if it's local, you should be able to track that system down easily.

Re: [Dovecot] mysql auth failover failing

2011-09-09 Thread Paul B. Henson
On Fri, Sep 09, 2011 at 08:02:57PM -0700, Noel Butler wrote: > Uhg i'll pretend I didnt see that :) We only use dovecot to provide sasl authentication to postfix smtp clients, using a separate password just for that purpose. Storing it in plaintext is the only way to support all authentication

Re: [Dovecot] mysql auth failover failing

2011-09-09 Thread Noel Butler
On Fri, 2011-09-09 at 19:33 -0700, Paul B. Henson wrote: > default_pass_scheme = PLAIN Uhg i'll pretend I didnt see that :) > > According to the sample SQL configuration file "HA / round-robin > load-balancing is supported by giving multiple host settings, like: > host=sql1.host.org host

[Dovecot] mysql auth failover failing

2011-09-09 Thread Paul B. Henson
We are running dovecot to provide authentication for postfix, using two mysql servers in a multi-master replication set as the password source: # 2.0.13: /etc/dovecot/dovecot.conf # OS: Linux 2.6.37-gentoo-r4 x86_64 Gentoo Base System release 2.0.2 auth

Re: [Dovecot] debug user's message retrieval

2011-09-09 Thread Костырев Александр Алексеевич
Yep, I do have info like that but I need more cowbell) -Original Message- From: dovecot-boun...@dovecot.org [mailto:dovecot-boun...@dovecot.org] On Behalf Of Joseba Torre Sent: Friday, September 09, 2011 7:38 PM To: dovecot@dovecot.org Subject: Re: [Dovecot] debug user's message retriev

Re: [Dovecot] debug user's message retrieval

2011-09-09 Thread Костырев Александр Алексеевич
It seems like it’s what I looked for. Many thanks! -- -Original Message- From: dovecot-boun...@dovecot.org [mailto:dovecot-boun...@dovecot.org] On Behalf Of Urban Loesch Sent: Friday, September 09, 2011 5:30 PM To: Dovecot Mailing List Subject: Re: [Dovecot] debug user's message retrie

[Dovecot] Read-only mbox files

2011-09-09 Thread Tim Bishop
Hi all, I'm using Dovecot 1.2.16 (I can upgrade to 2.0 if need be) and I'm having trouble stopping Dovecot from modifying mbox files. The setup is that my main namespace points at my Maildir mail folders. In addition to this I have a second namespace that points at some old archived mbox folders.

[Dovecot] userdb static & Quota from LDAP?

2011-09-09 Thread Christian Schmidt
Hi all, I just configured Dovecot 2.0.14 for "virtual" (i.e. non-system-) users: passdb { driver = ldap args = /etc/dovecot/conf.d/ldap-passdb.ext } userdb { driver = static args = uid=vmail gid=vmail home=/var/maildir/%u } Works fine so far - thanks for this great piece of software, Tim

[Dovecot] Attacking Dovecot

2011-09-09 Thread Nikos Papadopoulos
Hello, I am using Dovecot ver.1.0.7 on an x86 server with RedHat Linux Enterprise 5 and the following configuration: # 1.0.7: /etc/dovecot.conf protocols: pop3 login_dir: /var/run/dovecot/login login_executable: /usr/libexec/dovecot/pop3-login mail_location: mbox:~/mail:INBOX=/var/mail/

[Dovecot] quota percents

2011-09-09 Thread Micah Anderson
I've noticed that http://wiki2.dovecot.org/Quota/Configuration is out of date, it says: plugin { quota = maildir:User quota quota_rule = *:storage=1GB # 10% of 1GB = 100MB quota_rule2 = Trash:storage=10%% # 20% of 1GB = 200MB quota_rule3 = Spam:storage=20%% } but if you use the '10%%

Re: [Dovecot] Mails repopping

2011-09-09 Thread Simon Brereton
> -Original Message- > From: Charles Marcus [mailto:cmar...@media-brokers.com] > Sent: Friday, September 09, 2011 2:51 PM > On 2011-09-09 1:07 PM, Simon Brereton > wrote: > > I have a server that's been running Courier for about 6 years and > in > > all that time I think I've only ever ha

Re: [Dovecot] BestPractice to migrate imap mailbox from one machine to another

2011-09-09 Thread Tobias Hachmer
On Fri, 09 Sep 2011 20:26:59 +0200, Robert Schetterer wrote: i used imapsync in a bash script http://ks.lamiral.info/imapsync/ at a massive migration ok, but this tool is not free of charge. ? you should donate but you can use it without too, i.e its part of ubuntu Oh, cool, thanks for the

Re: [Dovecot] BestPractice to migrate imap mailbox from one machine to another

2011-09-09 Thread Robert Schetterer
Am 09.09.2011 17:16, schrieb Giulio Casella: > This is working for me: > > root@oldserver # dsync -v -D -u $user backup ssh newserver dsync -u $user > > where $user is a username. oldserver and newserver can also have > different mailbox format (in my case was mbox -> maildir) > > Regards, > gc

Re: [Dovecot] BestPractice to migrate imap mailbox from one machine to another

2011-09-09 Thread Robert Schetterer
Am 09.09.2011 15:34, schrieb Tobias Hachmer: > On Fri, 09 Sep 2011 15:22:54 +0200, Robert Schetterer wrote: >> Am 09.09.2011 15:14, schrieb Tobias Hachmer: >>> What is the best way to copy the existing mailboxes from the older >>> machine running dovecot v1.2.15 to the new naked machine? >> >> i us

[Dovecot] Mails repopping

2011-09-09 Thread Simon Brereton
HI I don't know if this is a dovecot issue or a client one. But as Dovecot is the most recent change, I'll start here. I have a server that's been running Courier for about 6 years and in all that time I think I've only ever had 1 issues where an entire mail box was repopped by a webmail clie

Re: [Dovecot] BestPractice to migrate imap mailbox from one machine to another

2011-09-09 Thread Tobias Hachmer
On Fri, 09 Sep 2011 17:16:57 +0200, Giulio Casella wrote: This is working for me: root@oldserver # dsync -v -D -u $user backup ssh newserver dsync -u $user where $user is a username. oldserver and newserver can also have different mailbox format (in my case was mbox -> maildir) Thanks for y

[Dovecot] How to get rid of sub-folders ?

2011-09-09 Thread Spyros Tsiolis
Hello, OK, no answers on my previous e-mail. I'll rephrase it. How can I get rid of subfolders on a users' tree-like structure on dovecot ? Which file must I "touch" ? TIA, s.   "I merely function as a channel that filters music through the chaos of noise" - Vangelis

Re: [Dovecot] BestPractice to migrate imap mailbox from one machine to another

2011-09-09 Thread Giulio Casella
This is working for me: root@oldserver # dsync -v -D -u $user backup ssh newserver dsync -u $user where $user is a username. oldserver and newserver can also have different mailbox format (in my case was mbox -> maildir) Regards, gc Messaggio originale Oggetto: Re: [Dovecot

Re: [Dovecot] 2.1: imapc LIST problem / usage question

2011-09-09 Thread Lutz Preßler
On Fr, 09 Sep 2011, Lutz Preßler wrote: > On Fr, 09 Sep 2011, Timo Sirainen wrote: > > > On Fri, 2011-09-09 at 12:01 +0200, Lutz Preßler wrote: > [...] > > > For the Gmail mailboxe the INBOX.gmail prefix is missing and / is used > > > as separator. > > > > Fixed in hg. > Thanks. LIST is now work

Re: [Dovecot] BestPractice to migrate imap mailbox from one machine to another

2011-09-09 Thread Johan Hendriks
Tobias Hachmer schreef: Hi list, currently I use dovecot v1.2.15 with maildir++ mailboxes. (Debian Squeeze) I want to set up a different server with dovecot v2, also maildir++ mailboxes. (also Debian Squeeze) What is the best way to copy the existing mailboxes from the older machine running

Re: [Dovecot] BestPractice to migrate imap mailbox from one machine to another

2011-09-09 Thread Tobias Hachmer
On Fri, 09 Sep 2011 15:42:57 +0200, Giulio Casella wrote: Have you tried dsync (part of dovecot)? I don't know if it works for migration to a different (major) version of dovecot, but it's a nice tool. And it works also over ssh. Yeah, I read the sections in the dovecot v2 wiki, but I don't get

Re: [Dovecot] BestPractice to migrate imap mailbox from one machine to another

2011-09-09 Thread Giulio Casella
Have you tried dsync (part of dovecot)? I don't know if it works for migration to a different (major) version of dovecot, but it's a nice tool. And it works also over ssh. Giulio Hope this helps. Il 09/09/2011 15.34, Tobias Hachmer ha scritto: On Fri, 09 Sep 2011 15:22:54 +0200, Robert Schet

[Dovecot] Quota fs (ignore mount)

2011-09-09 Thread Peter Ignatov
> I set "quota: fs:INBOX:noenforcing:mount=/var/spool/mail", but receive: "fs > quota add storage dir = /home/pit/mail"... > Why ? Well .. I'm not entirely sure if the current behavior is good or not, but what you need to do to get it working is to add two quota roots. One for /home/pit/mail (

Re: [Dovecot] BestPractice to migrate imap mailbox from one machine to another

2011-09-09 Thread Tobias Hachmer
On Fri, 09 Sep 2011 15:22:54 +0200, Robert Schetterer wrote: Am 09.09.2011 15:14, schrieb Tobias Hachmer: What is the best way to copy the existing mailboxes from the older machine running dovecot v1.2.15 to the new naked machine? i used imapsync in a bash script http://ks.lamiral.info/imapsyn

Re: [Dovecot] problem migrating from maildir to dbox

2011-09-09 Thread Захаров Роман
09.09.2011 16:19, Ramón Frontera пишет: Hello, we want to migrate Mail folders from Maildir to dbox without downtime. We change the mail_location to dbox in 10-mail.conf and restart dovecot. After that we use dsync -u user mirror maildir:~/Maildir. The problem is that if INBOX exists the dsync cr

Re: [Dovecot] problem migrating from maildir to dbox

2011-09-09 Thread Захаров Роман
09.09.2011 16:19, Ramón Frontera пишет: Hello, we want to migrate Mail folders from Maildir to dbox without downtime. We change the mail_location to dbox in 10-mail.conf and restart dovecot. After that we use dsync -u user mirror maildir:~/Maildir. The problem is that if INBOX exists the dsync cr

Re: [Dovecot] BestPractice to migrate imap mailbox from one machine to another

2011-09-09 Thread Robert Schetterer
Am 09.09.2011 15:14, schrieb Tobias Hachmer: > Hi list, > > currently I use dovecot v1.2.15 with maildir++ mailboxes. (Debian Squeeze) > I want to set up a different server with dovecot v2, also maildir++ > mailboxes. (also Debian Squeeze) > > What is the best way to copy the existing mailboxes f

[Dovecot] BestPractice to migrate imap mailbox from one machine to another

2011-09-09 Thread Tobias Hachmer
Hi list, currently I use dovecot v1.2.15 with maildir++ mailboxes. (Debian Squeeze) I want to set up a different server with dovecot v2, also maildir++ mailboxes. (also Debian Squeeze) What is the best way to copy the existing mailboxes from the older machine running dovecot v1.2.15 to the n

[Dovecot] problem migrating from maildir to dbox

2011-09-09 Thread Ramón Frontera
Hello, we want to migrate Mail folders from Maildir to dbox without downtime. We change the mail_location to dbox in 10-mail.conf and restart dovecot. After that we use dsync -u user mirror maildir:~/Maildir. The problem is that if INBOX exists the dsync create a new folder with name like b5893c0a

Re: [Dovecot] Shared Mailboxes with VirtualUsers and mail_location retrieved from ldap

2011-09-09 Thread mailing lists
and for the time that user001 execute the imap 'list' command, this is the log trace in dovecot: Sep  9 13:09:12 imap1 dovecot: imap(user001): Debug: Namespace : type=shared, prefix=shared.%u., sep=., inbox=no, hidden=no, list=children, subscriptions=no location=maildir:%h/mailSubDir:INDEX=~/

Re: [Dovecot] Problem with configuring dovecot to take namespaces from database

2011-09-09 Thread Marcin Mirosław
W dniu 08.09.2011 15:18, Timo Sirainen pisze: Forget all of that. I just tried a few ways and looks like you can add more namespaces by returning e.g. these fields (from SQL): namespace=nsname namespace/nsname/prefix=prefix/ namespace/nsname/location=maildir:/elsewhere namespace/nsname/separato

Re: [Dovecot] Shared Mailboxes with VirtualUsers and mail_location retrieved from ldap

2011-09-09 Thread mailing lists
(I'm sorry for breaking the thread with each mail) On 09/09/2011 10:04 AM, Jan-Frode Myklebust wrote: > On Fri, Sep 09, 2011 at 08:18:40AM +0100, mailing lists wrote: >> >> and how to I might configure dovecot to use the mail directory as a >> subdirectory of the home directory? >> >> this way

Re: [Dovecot] 2.1: imapc LIST problem / usage question

2011-09-09 Thread Lutz Preßler
On Fr, 09 Sep 2011, Timo Sirainen wrote: > On Fri, 2011-09-09 at 12:01 +0200, Lutz Preßler wrote: [...] > > For the Gmail mailboxe the INBOX.gmail prefix is missing and / is used > > as separator. > > Fixed in hg. Thanks. > > > Second question: Is there a way to include multiple imapc instances/

Re: [Dovecot] 2.1: imapc LIST problem / usage question

2011-09-09 Thread Timo Sirainen
On Fri, 2011-09-09 at 12:01 +0200, Lutz Preßler wrote: > As a test, namespace for gmail integration set up by userdb > with > userdb_namespace=gmail userdb_namespace/gmail/list=yes > userdb_namespace/gmail/subscriptions=no userdb_namespace/gmail/separator=. > userdb_namespace/gmail/prefix=INBOX.

[Dovecot] 2.1: imapc LIST problem / usage question

2011-09-09 Thread Lutz Preßler
- Forwarded message from SerNet Support Lutz Preßler - From: SerNet Support Lutz Preßler Subject: 2.1: imapc LIST problem / usage question To: dovecot@dovecot.org Date: Fri, 9 Sep 2011 12:00:46 +0200 Organization: SerNet Service Network GmbH Hello, 2.1.alpha1 (latest Debian auto build

Re: [Dovecot] debug user's message retrieval

2011-09-09 Thread Joseba Torre
On Viernes 09 Septiembre 2011 04:36:13 Костырев Александр Алексеевич escribió: > I forgot to mention that when I go to user's directory there's no > letters at all. > > On Fri, 2011-09-09 at 13:30 +1100, Костырев Александр Алексеевич wrote: > > Hi there! > > > > Is there any method to log user's

Re: [Dovecot] Shared Mailboxes with VirtualUsers and mail_location retrieved from ldap

2011-09-09 Thread Jan-Frode Myklebust
On Fri, Sep 09, 2011 at 08:18:40AM +0100, mailing lists wrote: > > and how to I might configure dovecot to use the mail directory as a > subdirectory of the home directory? > > this way all lookups for home (with %%h fetched from ldap) will return the > correct locationand mail will be in (i.e.

Re: [Dovecot] Shared Mailboxes with VirtualUsers and mail_location retrieved from ldap

2011-09-09 Thread mailing lists
On 09/08/2011 03:07 PM, Timo Sirainen wrote: > On Thu, 2011-09-08 at 12:14 +0100, mailing lists wrote: > >> yes, my virtual users have separate directories for home and mail. >> Their locations are stored in ldap attributes (with random generated >> paths), so a flat scheme like /var/maildr/%%u i