[Dovecot] passwd, gid and uid

2010-12-24 Thread Mauricio Tavares
I forgot the answer for this: in http://wiki.dovecot.org/AuthDatabase/PasswdFile, we have the passwd file defined as user:password:uid:gid:(gecos):home:(shell):extra_fields What should the uid and gid be associated with? In my setup I told postfix to use Dovecot LDA's deliver, which then is

Re: [Dovecot] sdbox to mdbox

2010-12-24 Thread Henrique Fernandes
Hey, sorry i confused in other post that is going on the list, but i guess will be helpfull anyway! []'sf.rique On Fri, Dec 24, 2010 at 10:43 PM, Henrique Fernandes wrote: > Gonna start over and try to be more simply. > > > > > On Fri, Dec 24, 2010 at 9:57 PM, Stan Hoeppner wrote: > >> Joan Mor

Re: [Dovecot] sdbox to mdbox

2010-12-24 Thread Henrique Fernandes
Gonna start over and try to be more simply. On Fri, Dec 24, 2010 at 9:57 PM, Stan Hoeppner wrote: > Joan Moreau put forth on 12/24/2010 5:41 PM: > > > 1 - plan to have all the new emails in a different folder (say > > "/data/mail2" ) > No. Do not need to do anything. > > 2 - make a script th

Re: [Dovecot] sdbox to mdbox

2010-12-24 Thread Stan Hoeppner
Joan Moreau put forth on 12/24/2010 5:41 PM: > 1 - plan to have all the new emails in a different folder (say > "/data/mail2" ) > 2 - make a script that go through all users & domains > 3 - for each user (and therefore dbox folder), run "dsync -o > mail_location=sdbox:/data/mail/%d/%n mirror mdbox

Re: [Dovecot] sdbox to mdbox

2010-12-24 Thread Joan Moreau
Thanks, but this keeps very unclear for me. Concretely, I have in my dovecot.conf: mail_gid = mail mail_location = dbox:/data/mail/%d/%n mail_uid = mailusers What you are saying is that, I shall : 1 - plan to have all the new emails in a different folder (say "/data/mail2" ) 2 - make a scri

Re: [Dovecot] How to get a working dovecot.conf?

2010-12-24 Thread oddball56
fake...@fakessh.eu wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Le 24.12.2010 17:24, oddball56 a écrit : >> >> Hi again, >> >> It seems i have undone some errors, as the output now shows the version >> of >> dovecot and the os: >> >> >> I have not been able to login, but go

Re: [Dovecot] How to get a working dovecot.conf?

2010-12-24 Thread Oddball
Hi, As a matter of fact no.. I am sort of new to commandline, and i find it extremely difficult to find my way between all howto's.. to know which command to use where, and when but i am learning I have taken a look at dovecot-sql.conf, and saw a few possibilities, or options: the path to the

Re: [Dovecot] How to get a working dovecot.conf?

2010-12-24 Thread Kerem Erciyes
Hi, Have you populated the dovecot-sql.conf and the SQL database tahat is referenced by it? -KE On Fri, Dec 24, 2010 at 6:24 PM, oddball56 wrote: > > Hi again, > > It seems i have undone some errors, as the output now shows the version of > dovecot and the os: > > # 2.0.8: /etc/dovecot/dovecot.

Re: [Dovecot] How to get a working dovecot.conf?

2010-12-24 Thread fakessh @
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 24.12.2010 17:24, oddball56 a écrit : > > Hi again, > > It seems i have undone some errors, as the output now shows the version of > dovecot and the os: > > # 2.0.8: /etc/dovecot/dovecot.conf > # OS: Linux 2.6.34.7-0.5-default i686 openSUSE 11.3

Re: [Dovecot] Migrate from Maildir to mdbox

2010-12-24 Thread Henrique Fernandes
To do without any down time, i start to use mail_location from the sql. Like, regular user still using mail_location from 10-mail. Lets give an example: us...@domain1.com us...@domain2.com us...@domain1.com us...@domail2.com All them have mail_location in 10-mail Gona firt migrate us...@domain

Re: [Dovecot] How to get a working dovecot.conf?

2010-12-24 Thread oddball56
Hi again, It seems i have undone some errors, as the output now shows the version of dovecot and the os: # 2.0.8: /etc/dovecot/dovecot.conf # OS: Linux 2.6.34.7-0.5-default i686 openSUSE 11.3 (i586) reiserfs auth_mechanisms = plain login disable_plaintext_auth = no first_valid_gid = 1000 first_v

Re: [Dovecot] Migrate from Maildir to mdbox

2010-12-24 Thread Odhiambo Washington
On Fri, Dec 24, 2010 at 5:56 PM, Henrique Fernandes wrote: > Yeah, i guess the right ocmando would be dsync > > dsync get the user from mysql, with user query. I guess. > > Are you looking to do it without any downtime ? > Yes. It's a server with a few hundred users and some of them have mail on

Re: [Dovecot] Migrate from Maildir to mdbox

2010-12-24 Thread Henrique Fernandes
http://wiki2.dovecot.org/Tools/Dsync take a look. []'sf.rique On Fri, Dec 24, 2010 at 12:56 PM, Henrique Fernandes wrote: > Yeah, i guess the right ocmando would be dsync > > dsync get the user from mysql, with user query. I guess. > > Are you looking to d

Re: [Dovecot] Migrate from Maildir to mdbox

2010-12-24 Thread Henrique Fernandes
Yeah, i guess the right ocmando would be dsync dsync get the user from mysql, with user query. I guess. Are you looking to do it without any downtime ? Are you getting the mail_location from mysql or in conf file ? I would use dsync backup. I had some trouble using mirror when a box was corrup

Re: [Dovecot] sdbox to mdbox

2010-12-24 Thread Daniel Luttermann
Joan Moreau wrote on 12/24/2010: > Thanks for the link, but the page is not really speaking about the > matter. > I clarify my question: > How to convert a "sdbox" system (in > production) to "mdbox" without loosing any email ? you can use this command for example (without loosing emails):

[Dovecot] doveadm quota get -u segmentation fault

2010-12-24 Thread subscriber
Hello! I'm trying move to dovecot2 (centos 5.5, dovecot 2.0.8, dovecot compiled/packaged via edited dovecot2.spec from fedora git). Almost all fine, I can login via imap/pop3 and work with mail. I get segfault error with "doveadm quota get -u user" Here backtrace and other info: # gdb `which d