[Dovecot] "mail process isn't allowed for root" error
What does the "mail process isn't allowed for root" error means? How can I fix it?
Faw
I installed Dovecot and OpenLDAP and at least now Dovecot is connecting to LDAP and it seems to be getting all the information. My problem is that now I'm getting the following error:
"mail process isn't allowed for root"
I changed the dovecot.conf file to use the dovecot account that the Debian package creates:
login_user = dovecot authuser = dovecot #was root
and it still doesn't work. What does that error means? Directory permissions wrong? Cant run as root? Root can't read mail? The important thing is, how do I solve it?
Faw
On Tue, 24 Jun 2003, Spectron International, Inc. wrote:
I installed Dovecot and OpenLDAP and at least now Dovecot is connecting to LDAP and it seems to be getting all the information. My problem is that now I'm getting the following error:
"mail process isn't allowed for root"
You don't say where you are seeing this error message, or anything about the circumstances. See:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
and it still doesn't work. What does that error means? Directory permissions wrong? Cant run as root? Root can't read mail? The important thing is, how do I solve it?
I can't answer any of your questions. I don't know what you are trying to do. I do have some insight into the message though: delivering mail as the root account is a bad idea. Reading mail as the root account is an even worse idea. Mail programs are usually large and complex programs, and in general insufficiently paranoid about security. You should always alias root@ to some other account.
OK, I've found your error message in the source code. The obvious solution appears to be to try logging into IMAP with a non-root account. [The error message could be clearer with this advice - "Root login is not permitted" or similar.]
-- Charlie
On Tue, Jun 24, 2003 at 10:33:08AM -0400, Charlie Brady wrote:
"mail process isn't allowed for root" OK, I've found your error message in the source code. The obvious solution appears to be to try logging into IMAP with a non-root account.
Alternatively the users are configured with UID 0 in the LDAP database.
[The error message could be clearer with this advice - "Root login is not permitted" or similar.]
Yes, I'll change that.
----- Original Message ----- From: "Timo Sirainen" tss@iki.fi To: "Dovecot List" dovecot@procontrol.fi Sent: Tuesday, June 24, 2003 10:33 AM Subject: Re: [Dovecot] Help configuring dovecot
On Tue, Jun 24, 2003 at 10:33:08AM -0400, Charlie Brady wrote:
"mail process isn't allowed for root" OK, I've found your error message in the source code. The obvious solution appears to be to try logging into IMAP with a non-root account.
Alternatively the users are configured with UID 0 in the LDAP database.
Ok, that was it since it was a virtual user I thought there was no need to set up uid or gid in user_attrs in the dovecot-ldap.conf file. Added it and it works.
Thanks
On Tue, 24 Jun 2003, Charlie Brady wrote:
You don't say where you are seeing this error message, or anything about the circumstances. See:
Also when reporting a problem you should always mention if you are using a package and if so, where it came from what version etc. Timo is not responsible for third-party packages which could introduce bugs of their own.
-- Jaldhar H. Vyas jaldhar@debian.org La Salle Debain - http://www.braincells.com/debian/
participants (4)
-
Charlie Brady
-
Jaldhar H. Vyas
-
Spectron International, Inc.
-
Timo Sirainen