[Dovecot] mbox problems on CentOS 6

Spyros Tsiolis stsiol at yahoo.co.uk
Wed Aug 10 22:49:19 EEST 2011


--- On Wed, 10/8/11, DT <nbw0313 at yahoo.com> wrote:

> From: DT <nbw0313 at yahoo.com>
> Subject: Re: [Dovecot] mbox problems on CentOS 6
> To: "Dovecot Mailing List" <dovecot at dovecot.org>, "Spyros Tsiolis" <stsiol at yahoo.co.uk>
> Date: Wednesday, 10 August, 2011, 20:05
> I initially ran dovecot 2.0.13 from
> CentOS 6 base repository. Then I switched to beta 9
> (source) because I found most articles saying it's stable
> with the stuff I wanted compiled - compiling it was actually
> a pain. 
>  
> Now I successfully compiled and installed 2.0.13 from
> source. Works like a charm. Still I can't pinpoint exactly
> where the problem was: could be a bug OR could be a
> problematic package in centos6 repository... can't say -
> maybe I will test more in depth on a dev box.
>  
> All the best
>  
> 
> 
> --- On Wed, 8/10/11, Spyros Tsiolis <stsiol at yahoo.co.uk>
> wrote:
> 
> 
> From: Spyros Tsiolis <stsiol at yahoo.co.uk>
> Subject: Re: [Dovecot] mbox problems on CentOS 6
> To: "Dovecot Mailing List" <dovecot at dovecot.org>
> Cc: nbw0313 at yahoo.com
> Date: Wednesday, August 10, 2011, 7:30 PM
> 
> 
> --- On Wed, 10/8/11, DT <nbw0313 at yahoo.com>
> wrote:
> 
> > From: DT <nbw0313 at yahoo.com>
> > Subject: Re: [Dovecot] mbox problems on CentOS 6
> > To: "Dovecot Mailing List" <dovecot at dovecot.org>
> > Date: Wednesday, 10 August, 2011, 17:12
> > [SOLVED]
> >  
> > For some reason I had to give up compiling/working
> > with beta version - it seems to have some issue with
> the
> > storages. Instead I compiled last stable version and
> all is
> > working fine - funny thing is that I had to compile
> with
> > both mbox and maildir storage drivers (probably for
> postfix
> > compatibility)
> >  
> >  
> > 
> > 
> > --- On Wed, 8/10/11, DT <nbw0313 at yahoo.com>
> > wrote:
> > 
> > 
> > From: DT <nbw0313 at yahoo.com>
> > Subject: Re: [Dovecot] mbox problems on CentOS 6
> > To: dovecot at dovecot.org
> > Date: Wednesday, August 10, 2011, 4:49 PM
> > 
> > 
> > Still couldn't solve this mbox problem... Is there
> anyone
> > who can assist me with this?
> >  
> >  
> > 
> > 
> > --- On Sat, 8/6/11, DT <nbw0313 at yahoo.com>
> > wrote:
> > 
> > 
> > From: DT <nbw0313 at yahoo.com>
> > Subject: Re: [Dovecot] mbox problems on CentOS 6
> > To: dovecot at dovecot.org
> > Date: Saturday, August 6, 2011, 10:12 AM
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > Thank you Thomas for opening my eyes on that matter,
> I
> > fixed that area as bellow and it solved the Postfix
> problem
> > 100%
> >  
> > service auth {
> >     unix_listener /var/spool/postfix/private/auth 
> {
> >         mode = 0600
> >         user = postfix
> >         group = postfix
> >     }
> > }
> >  
> > Now I only have same old issue with Dovecot only:
> > 2011-08-05 07:52:21 imap(contact at mydomain.com):
> > Debug: Effective uid=901, gid=12,
> > home=/vmail/mydomain.com/contact
> > 2011-08-05 07:52:21 imap(contact at mydomain.com):
> > Error: user contact at mydomain.com:
> > Initialization failed: Initializing mail storage from
> > mail_location setting failed: Unknown mail storage
> driver
> > maildir
> > 2011-08-05 07:52:21 imap(contact at mydomain.com):
> > Error: Invalid user settings. Refer to server log for
> more
> > information.
> >  
> > Somehow it doesnt like what I have in mail_location
> or
> > so... but I tried so many other folders, tried maildir
> also,
> > error keeps showing, I can login to IMAP but once I do
> I'm
> > dropped :* BYE Internal error occurred. Refer to
> server log
> > for more information.
> > Connection closed by foreign host.
> >  
> > Thank you again for any oppinion or advice.
> > 
> > 
> >  
> > >In the config posted 'service auth' is not
> configured:
> > >
> > >http://wiki2.dovecot.org/HowTo/PostfixAndDovecotSASL
> > >
> > >Thomas
> >  
> >  
> > >> No I noticed Postfix isnt running anymore :(
> > >> Aug  4 14:49:25 hostname
> postfix/smtpd[6414]:
> > connect from mail-fx0-f51.google.com[209.85.161.51]
> > >> Aug  4 14:49:25 hostname
> postfix/smtpd[6414]:
> > warning: SASL: Connect to private/auth failed:
> Connection
> > refused
> > >> Aug  4 14:49:25 hostname
> postfix/smtpd[6414]:
> > fatal: no SASL authentication mechanisms
> > >>  
> > >> All I did was a simple system reboot
> > >>  
> > 
> 
> 
> If you don't mind me ask; What version of dovecot were you
> trying
> to build ?
> 
> Were you trying to buld/compile from sources ?
> Didn't you use the rpms for CentOS that exist ?
> 
> Regards,
> 
> s.
> 
> 
> ----
> "I merely function as a channel that filters 
> music through the chaos of noise"
> - Vangelis


Hi DT,

Have you tinkered with debug switches on dovecot ?
They are pretty straightforward and down to the point
(see: not cryptic :-)

I build dovecot from sources too. Not relaying on CentOS
repos.
I currently have two mailservers with dovecot and have
no problems.

Then, I am not using v2.x but v1.x (I can't remember the
exact version at the moment).

HTH

s.

----
"I merely function as a channel that filters 
music through the chaos of noise"
 - Vangelis 


More information about the dovecot mailing list