Posts: 14

Topic: dovecot/imap issue

Hey guys,

I'm nearly resigning here.For the last few years I ran XMail on my debain server with XPai for account setup.Now I decided to clean the server and go with a new Mail Service.After installing iRedMail (with a few problems which could quite easily be solved) I ended up with a problem.The Problem first seemed to be that dovecot was not running, so I started it manually.That failed because it didn't know what to make of 'mail_uid' and 'mail_gid' and went down with a fatal error.Which looked like this 'Error: Error in configuration [...]filedovecot.conf line 24: Unknown setting: mail_uid'I also tried the settings which were used in older dovecot versions (global_user_gid etc.) which gave me the same error.When commenting these lines out, dovecot starts normally, but a login (telnet: error, roundcube: timeout, squirrelmail: connection dropped by imap server) doesn't work.

Re: dovecot/imap issue

Re: dovecot/imap issue

hey,

you're right, but I still didn't find a way to get dovecot 1.1. It's either 1.0 on lenny stable, or 1.2 for sid unstable.And if I try to use 1.2 I get the error for the setting 'umask'.So, even if it might seem to be a dumb question: how/where the hell do I get dovecot 1.1?

Re: dovecot/imap issue

Okay, working like a charme now, thanks!

Only a few things which might help people who are as stupid as I am:* dovecot has to be downloaded manually* python-jinja2 has to be downloaded manually or, in case of debian, installed from an unstable source* postfix-policyd has to be installed manually via apt, since the automatic installation tries to connect to the database without a password

Re: dovecot/imap issue

Dovecot can be downloaded and installed via apt-get after you updated /etc/apt/sources.list which mentioned in installation guide.

As I said, on debian 5.0 lenny you can only get dovecot 1.0 via apt-get, which is not the right version.To get 1.1 you have to download the .deb manually and use dpkg.

ZhangHuangbin wrote:

We use only -stable branch.

Actually its the same as above, if you download the .deb manually from iredmail.org it works fine, I only used the unstable workaround since you don't get it via apt-get in lenny.

ZhangHuangbin wrote:

postfix-policyd is provided by official debian repositories.

Maybe I wasn't really clear here.If you just go through with the installation as stated in the manual, the routine will stop with an error, when trying to install postfix-policyd.The Problem is not, that it won't be in the repository, BUT if it's trying to be installed in the routine it tries to connect to the mysql databes with 'Using Password: NO', which obviously can't work.So, if you do a quick 'apt-get install postfix-policyd' it will ask you for the database password and you can start the routine anew.

Re: dovecot/imap issue

Would be great if it does, but it didn't do it for me. And I installed it about 10 times off a fresh debian.Thats what I was trying to tell you in post 6.I'm giving you the whole bash here now:sources.list: