[ALUG] Linux Useradd Problem
Ismail Settenda
ismailmss at gmail.com
Sat Apr 20 09:00:15 EAT 2013
Looks to me like dovecot (the imap server) has no rights to create the
necessary folders for the new user (Geogre).
*Apr 19 17:03:39 mail dovecot: imap(george): Error:
chown(/home/george/mail/.imap/INBOX, -1, 12(mail)) failed: Operation not
permitted (egid=583(george), group based on /var/mail/george)
Apr 19 17:03:39 mail dovecot: imap(george): Error:
mkdir(/home/george/mail/.imap/INBOX) failed: Operation not permitted Apr
19 17:03:39 mail dovecot: imap(george): Disconnected: Logged out*
So likely corrective steps would be to:
1) Add dovecot with write permission to the group for Geogre
or
2) Figure out what recent change you made that caused the imap server to
lose these permissions i.e chroot
or
3) Manually create the required folders yourself and allow allow dovecot
write access to these folders. (word of caution here is ...t*his method is
tedious and though it may solve your current problem...u will still have
the same problem when you add another new user to the system*)
Best regards
--
Ismail M. Settenda
Lead Consultant
ICT-Pros Consultants Ltd
M +255 784 321183
Skype/Twitter/G+: ismailmss
********************************************************************************************
"Education is not the learning of facts but, the training of the mind to
think."
~ Albert Einstein
"This email and any file(s) transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. The sender does not accept any legal liability for the contents
of this message. If you have received this email in error please notify
the Systems administrator, ICT-Pros Consultants Ltd, A1, 4th Flr, ACC, P.O.
Box 2602, Arusha, Tanzania, Tel: +255 732 2972435"
On 19 April 2013 17:10, Hamisi Jabe <administrator at banana.co.tz> wrote:
>
> Dear All,
>
> Check the error log below, i am running a centos 6.3 mail server. it has
> been running fine for a long time. Now wen i add a new user the account is
> created successfully and the user can login successfully. when i login i
> get a message
>
> ERROR: Could not complete request.
> Query: SELECT "INBOX"
> Reason Given: [SERVERBUG] Internal error occurred. Refer to server log for
> more information. [2013-04-19 17:08:34]
>
> and when i check the /var/log/maillog file i get the below logs
>
>
> Apr 19 17:03:37 mail postfix/qmgr[1932]: 23B384000E2: removed
> Apr 19 17:03:37 mail dovecot: imap(george): Disconnected: Logged out
> bytes=599/461
> Apr 19 17:03:37 mail dovecot: imap-login: Login: user=<george>,
> method=PLAIN, rip=::1, lip=::1, mpid=2925, secured
> Apr 19 17:03:37 mail dovecot: imap(george): Disconnected: Logged out
> bytes=120/1395
> Apr 19 17:03:39 mail dovecot: imap-login: Login: user=<george>,
> method=PLAIN, rip=::1, lip=::1, mpid=2930, secured
> Apr 19 17:03:39 mail dovecot: imap(george): Error:
> chown(/home/george/mail/.imap/INBOX, -1, 12(mail)) failed: Operation not
> permitted (egid=583(george), group based on /var/mail/george)
> Apr 19 17:03:39 mail dovecot: imap(george): Error:
> mkdir(/home/george/mail/.imap/INBOX) failed: Operation not permitted Apr
> 19 17:03:39 mail dovecot: imap(george): Disconnected: Logged out
> bytes=79/715
> Apr 19 17:03:39 mail dovecot: imap-login: Login: user=<george>,
> method=PLAIN, rip=::1, lip=::1, mpid=2935, secured
> Apr 19 17:03:39 mail dovecot: imap(george): Error:
> chown(/home/george/mail/.imap/INBOX, -1, 12(mail)) failed: Operation not
> permitted (egid=583(george), group based on /var/mail/george)
> Apr 19 17:03:39 mail dovecot: imap(george): Error:
> mkdir(/home/george/mail/.imap/INBOX) failed: Operation not permitted Apr
> 19 17:03:39 mail dovecot: imap(george): Disconnected: Logged out
> bytes=79/715
> Apr 19 17:03:41 mail dovecot: imap-login: Login: user=<george>,
> method=PLAIN, rip=::1, lip=::1, mpid=2940, secured
> Apr 19 17:03:41 mail dovecot: imap(george): Disconnected: Logged out
> bytes=120/1395
> Apr 19 17:03:41 mail dovecot: imap-login: Login: user=<george>,
> method=PLAIN, rip=::1, lip=::1, mpid=2945, secured
> Apr 19 17:03:41 mail dovecot: imap(george): Disconnected: Logged out
> bytes=289/1858
> Apr 19 17:03:42 mail dovecot: imap-login: Login: user=<george>,
> method=PLAIN, rip=::1, lip=::1, mpid=2950, secured
> Apr 19 17:03:42 mail dovecot: imap(george): Disconnected: Logged out
> bytes=120/1395
> Apr 19 17:03:42 mail dovecot: imap-login: Login: user=<george>,
> method=PLAIN, rip=::1, lip=::1, mpid=2955, secured
> Apr 19 17:03:42 mail dovecot: imap(george): Disconnected: Logged out
> bytes=289/1858
> Apr 19 17:03:43 mail dovecot: imap-login: Login: user=<george>,
> method=PLAIN, rip=::1, lip=::1, mpid=2960, secured
> Apr 19 17:03:43 mail dovecot: imap(george): Disconnected: Logged out
> bytes=117/1395
> Apr 19 17:03:43 mail dovecot: imap-login: Login: user=<george>,
> method=PLAIN, rip=::1, lip=::1, mpid=2965, secured
> Apr 19 17:03:43 mail dovecot: imap(george): Disconnected: Logged out
> bytes=289/1858
> Apr 19 17:03:44 mail dovecot: imap-login: Login: user=<george>,
> method=PLAIN, rip=::1, lip=::1, mpid=2970, secured
> Apr 19 17:03:44 mail dovecot: imap(george): Disconnected: Logged out
> bytes=120/1395
>
>
> Please advice what could be the problem
>
>
>
>
> Systems Administrator
> Banana Investments ltd
> +255 (0) 784 380442
> Website: www.banana.co.tz
>
>
>
>
>
>
>
>
>
>
> Systems Administrator
> Banana Investments ltd
> +255 (0) 784 380442
> Website: www.banana.co.tz
>
> _______________________________________________
> The Arusha Linux User Group: http://unix.or.tz
> Linux mailing list
> Linux at lists.habari.co.tz
> http://lists.habari.co.tz/cgi-bin/mailman/listinfo/linux
>
> The Arusha LUG mailing list is generously hosted by Habari Node Ltd:
> http://www.habari.co.tz/
>
> The above comments and data are owned by whoever posted them (including
> attachments if any). The mailing list host is not responsible for them in
> any way.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.habari.co.tz/pipermail/linux/attachments/20130420/45ee8286/attachment.html>
More information about the Linux
mailing list