[Dovecot] Dovecot has no understandable configuration any more
forum
forum at decotrain.de
Tue Apr 30 17:55:04 EEST 2013
Am 30.04.2013 16:34, schrieb Steffen Kaiser:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Tue, 30 Apr 2013, forum wrote:
>
>> for many years i used an mailserver with dovecot V1 very satisfied!
>> http://mailserver.decotrain.de/
>> One of the reasons to use dovecot was a simply configuration.
>> Dovecot was the best choice for IMAP for me!
>
> Hmm, there not many changes in how to configure Dovecot.
Oh - there are quiet more possibilities and the syntax slightly has
changed.
>
>> The documentation says *nothing* about my problem how to authenticate
>> with mysql!
>> http://wiki2.dovecot.org/VirtualUsers
>
> Funny, that the link had the answer.
> Did you configured Dovecot v1 differently then?
The problem is to understand the dependencies.
> The static userdb had not changed since v1.
Then the old configuration should work.
But it does not.
Now i have found the solution.
It seems to help to ask you. ;)
The solution was to change from
listen = [::]
to
listen = *, [::]
There is no explanation for it - just try and error ...
>> I can connect to dovecot locally with an webmailer.
>> But there is no listener process to be seen outside of the server?
>>
>> Locally this ports are working, but not outside:
>>
>> # netstat -tulpn | grep dove
>> tcp6 0 0 :::110 :::*
>> LISTEN 5741/dovecot
>> tcp6 0 0 :::143 :::*
>> LISTEN 5741/dovecot
>> tcp6 0 0 :::993 :::*
>> LISTEN 5741/dovecot
>> tcp6 0 0 :::995 :::*
>> LISTEN 5741/dovecot
>
> Where is:
>
> a) the listener on IPv4
PC in LAN.
>
> b) the output of dovecot -n ?
>
>> Is this a configuration problem inside dovecot?
>
> That knows your doveconf -n output.
The output seems only to be the configuration that was read.
I lost many hours just to find out that i have to define e.g.
service imap-login {
Before there was no error, dovecot running and no ports listening.
Sorry - that's foolish.
>
>> Apr 30 11:14:57 imap(xxxx at yyyy): Error: Broken file
>> /srv/mail/yyyy/xxxx/.INBOX.dir.09/dovecot-uidlist line 1: Broken
>> header (uidvalidity = 0, next_uid=697)
>>
>> How can i recover this?
>
> Does this error persists or do you see it just once per mailbox?
Seems only onetime.
So no problem.
>>
>> Has someone an idea how to migrate the emails from charset ISO8859-1
>> to UTF-8?
>
> The mailbody? recode Latin1..utf8 < in > out, but IMAP defines, that
> you cannot change messages inplace. The client need to redownload
> them.
The client should left the message on the server with no local copy.
>
> The directory name? Probably there is some tool. Otherwise:
>
> for dir in ...; do
> mv "$dir" "$(echo "$dir"| recode latin1..utf8)"
> done
That's an good idea.
I will try this.
>
> - -- Steffen Kaiser
Thank you!
Karsten
More information about the dovecot
mailing list