Displaying 20 results from an estimated 42 matches for "mkdir_par".
Did you mean:
mkdir_p
2009 Mar 18
1
mbox on NFS + automount, folder creation -> mkdir_parents() failed
Hi,
i am about to migrate some internal imapd mboxes to dovecot. Regular
access is fine, just when i want to create a folder i get the following
error message in the logs:
Mar 18 17:36:57 pulsar dovecot: [ID 107833 mail.error] IMAP(skayser):
mkdir_parents(/home/skayser) failed: Operation not applicable
/home/skayser is mounted via autofs. When i set mail_location to a
subdirectory within /home/skayser, folder creation works. From looking
at the truss output dovecot tries to mkdir() the parent and doesn't
seem to like the ENOSYS that is retu...
2010 Mar 22
3
shared mailboxes, mkdir_parents problem
...irchmeir/: Permission lookup failed from
> /var/mails/e-c-o.at/kirchmeir
> 2010-03-18 10:03:04 IMAP(unglaub): Info: Namespace
> shared/mitarbeiter/kirchmeir/: Using permissions from
> /var/mails/e-c-o.at/kirchmeir: mode=0700 gid=-1
> 2010-03-18 10:03:04 IMAP(unglaub): Error:
> mkdir_parents(/var/mails/e-c-o.at/kirchmeir) failed: Permission denied
In this case the User unglaub at e-c-o.at try to access the mailbox
kirchmeir at e-c-o.at. My config looks like this:
> mail:~# dovecot -n
> # 1.2.11: /etc/dovecot/dovecot.conf
> # OS: Linux 2.6.30-bpo.1-amd64 x86_64 Debian 5.0...
2010 Jun 17
2
Correct folder permissions for maildir....
...e user security
settings should be for the offending folders. If anyone could point me
in the right direction I would appreciate it. Should you require
additional diagnostic information let me know and I will source it.
The error messages:
Jun 17 19:50:14 moe dovecot: POP3(carolyn.spyseebiz):
mkdir_parents(/home/spyseebiz/homes/carolyn/mail/.imap/INBOX) failed:
Permission denied
Jun 17 19:53:09 moe dovecot: POP3(marnie.capitel):
mkdir_parents(/home/capitel/homes/marnie/mail/.imap/INBOX) failed:
Permission denied
dovecot -n
# 1.0.7: /etc/dovecot.conf
protocols: imap pop3 imaps pop3s
listen:...
2013 Feb 18
2
Quota Problems with LMTP in HG 62a930eb22b5
...o the latest HG these errors occur. Nothing else changed in the config:
$ dovecot --version
2.2.beta1 (62a930eb22b5)
==> /var/log/dovecot/dovecot.log <==
Feb 18 09:47:32 spectre dovecot: lmtp(14340): Connect from local
Feb 18 09:47:32 spectre dovecot: lmtp(14340, tlx at leuxner.net): Error: mkdir_parents(/var/vmail/domains/leuxner.net/tlx/mdbox) failed: File exists
Feb 18 09:47:32 spectre dovecot: lmtp(14340, tlx at leuxner.net): Error: mkdir_parents(/var/vmail/domains/leuxner.net/tlx/mdbox) failed: File exists
Feb 18 09:47:32 spectre dovecot: lmtp(14340, tlx at leuxner.net): Error: dict quota:...
2015 Aug 29
5
virtual users with postfix
Hello!
"dravion.smith at gmx.net" <dravion.smith at gmx.net> schrieb am 29.08.15 um 10:41:09 Uhr:
> Am 29.08.2015 um 10:10 schrieb Andreas Meyer:
> > Aug 29 09:52:57 imap(info at nimmini.de): Error: mkdir_parents(/var/lib/dovecot/db) failed: Permission denied
> > Aug 29 09:52:57 imap(info at nimmini.de): Error: acl: dict commit failed
> >
> try chmod /var/lib/dovecot 755
this is what it already has.
Andreas
2015 Aug 29
2
virtual users with postfix
...passwd file looks like this:
info at nimmini.de:{CRAM-MD5}e33cbd144b372a9c919228923464c806b57e35df2d6d1484ceaabe7e3530cd58:5000:5000::/var/spool/vhosts/nimmini.de/info::userdb_mail=maildir:~/
When I login for the first time, I see this in the log:
Aug 29 09:52:57 imap(info at nimmini.de): Error: mkdir_parents(/var/lib/dovecot/db) failed: Permission denied
Aug 29 09:52:57 imap(info at nimmini.de): Error: acl: dict commit failed
Although the mailbox "info" is created with this content:
drwx------ 2 5000 5000 4096 29. Aug 09:52 cur
-rw------- 1 5000 5000 0 29. Aug 09:52 dovecot-acl-list...
2004 Oct 18
2
default_mail_env %d var problem
...to dovecot.conf.
------------------------
auth_passdb = pam
auth_verbose = yes
auth_username_chars =
default_mail_env =
mbox:/home/vhosts/%d/%h/:INBOX=/home/vhosts/%d/var/spool/mail/%n
--------------------------
Now if I try to connect imap I get foll. error.
--
imap(jane): May 19 01:58:08 Error:
mkdir_parents(/home/vhosts///home/jane//.imap/INBOX) failed:
Permission denied
--
So %h and %u looks working but not %d :(.
My pam module works right as if I use actual domain path in
dovecot.conf everything works fine. Auth works correctly with uw.
Any pointers ?
TIA,
Pythonic
2008 May 12
3
Automounted home dirs not working
...mounted
directories. Consider the case of Arthur Dent, test user:
May 12 10:30:24 testbed dovecot: [ID 107833 mail.info] imap-login:
Login: user=<adent>, method=PLAIN, rip=xxx.xxx.xxx.242,
lip=xxx.xxx.xxx.242, secured
May 12 10:30:24 testbed dovecot: [ID 107833 mail.error] IMAP(adent):
mkdir_parents(/home/adent/Mail) failed: No such file or directory
May 12 10:30:24 testbed dovecot: [ID 107833 mail.error] IMAP(adent):
Mail storage creation failed with mail_location:
mbox:/home/adent/Mail:INBOX=/var/mail/adent
May 12 10:30:24 testbed dovecot: [ID 961074 mail.error] child 21816
(imap) ret...
2008 Apr 11
2
The CONTROL problem with fs quotas.
...ing 2, we could change umask to "0000" and hence it does not matter
than all directory hash node are owned by a user's id, but this
unfortunately includes all other directories, and having all directories
at 777 is not an option.
Now, naturally, I can easily patch dovecot to call mkdir_parents with
0777 only for CONTROL. But I would rather not have local patches,
meaning upgrades will be difficult. It would be preferable if:
=> Dovecot would call "mkdir_parents" on "%h" _before_ setuid, but
create the final directory after.
OR, Dovecot support (at least 2...
2007 Dec 29
2
Help with logging in and getting mail
...hat needs to be done further? Also, how do I ensure that virtual users are
able to get their mail as well as system users?
Dec 29 15:01:54 whitbap dovecot: pop3-login: Login: user=<jdunkin>,
method=PLAIN, rip=71.221.168.29, lip=192.168.2.23
Dec 29 15:01:54 whitbap dovecot: POP3(jdunkin):
mkdir_parents(/var/mail/vmail//mail) failed: Not a directory
Dec 29 15:01:54 whitbap dovecot: POP3(jdunkin): Failed to create storage with
data: mbox:/var/mail/vmail//mail/:INBOX=/var/mail/jdunkin
Dec 29 15:01:54 whitbap dovecot: child 61793 (pop3) returned error 89
Thanks,
Andy
2004 Jul 21
1
Almost there.
Hey Timo-
I got everything working now that I can log in properly...but I'm have a
permissions issue and I'm not sure how to set it..I've been playing
with ownership and permissions and I'm still getting this
imap(tom at testdomain.com):
mkdir_parents(/var/spool/mail/indexes/testdomain.com/tom/.imap/INBOX)
failed: Permission denied
What's that permission/ownership in that folder supposed to be?
2005 Jun 08
1
assertion failed -0.99 -> 1.0-stable
...reeBSD 5.4 and encountered the following problems
(problem #4 (assertion failed) made me downgrade back to
dovecot-0.99...) :
1. mbox sync: UID inserted in the middle of mailbox /var/mail/gopauld
(5230 > 4407)
--> OK, that's documented on the Wiki, not a real problem
2. imap(cxxx): mkdir_parents(/opt/dovecot/c/cxxx/.imap/INBOX) failed: Permission denied
--> I can't understand why since /opt/dovecot/c is rwxrwxrwt and belongs
to root:wheel
3. dovecot: IMAP(xxxx): UIDs broken with partial sync in mbox file /yyyy/zzzz/xxxx/Mail/Drafts
4. dovecot: IMAP(xxxx): file istream-ra...
2006 Nov 16
0
Dovecot tries to create bogus files in /var/mail
After upgrading from 0.99.2 to 1.0rc14, I started seeing log-entries like:
Nov 16 12:56:22 corbulon dovecot: IMAP(mksarch): mkdir_parents(/var/mail/mksarch/.imap/INBOX) failed: Not a directory
Nov 16 12:56:51 corbulon dovecot: IMAP(anat): open(/var/mail/anat/inbox, O_CREAT) failed: Not a directory
Nov 16 12:56:51 corbulon dovecot: IMAP(anat): mkdir_parents(/var/mail/anat/.imap/INBOX) failed: Not a directory
And my IMAP client (K...
2005 Feb 01
1
TROUBLES WITH dovecot configuration
...0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
+OK dovecot ready.
user testemail at mydomain.org
+OK
pass pass
+OK Logged in.
-ERR No INBOX for user.
Connection closed by foreign host.
And in logs:
# cat /var/log/dovecot.log
Jan 28 22:11:02 Error:
mkdir_parents(/var/spool/mail/vhosts/mydomain.org//mail/.imap/INBOX)
failed: Permission denied
pop3(testemail at mydomain.org): Jan 28 22:11:02 Error: Couldn't
open INBOX: Internal error occured. Refer to server log for more
information. [2005-01-28 22:11:02]
If I set uid 508 everything will be cool!
I...
2010 Feb 05
2
Problem with created ~/mail directory
...n, the directory is
created for them. However, it is created with insecure permissions,
0770 (full group access).
The problem is this bit in src/lib-storage/index/mbox/mbox-storage.c:
#define CREATE_MODE 0770 /* umask() should limit it more */
The code then uses CREATE_MODE as an argument to mkdir_parents(), but
mkdir_parents() overrides the umask setting and forces the requested
permissions. There's no way to override this except to change the
source code.
It looks like the same thing is in dbox-storage.c and cydir-storage.c.
This is with Dovecot 1.2.10.
--
Chris Adams <cmadams at hi...
2007 Jul 05
2
Permission errors when creating/reading files in users' mail directories
...ocation = mbox:~/mail:INBOX=/var/spool/mail/%u
and each user's mail directory has permissions like this:
drwx------ 2 uid gid 4096 Jul 5 09:26 /home/uid/mail
But when I try to check a user's mail using an imap
client, I see the following error:
Jul 5 09:59:49 imap dovecot: IMAP(uid): mkdir_parents(/home/uid/mail/.imap/
INBOX) failed: Permission denied
If I open up the permissions so anyone can write, I find
that the .imap directory is successfully created, and owned
by "uid". Is dovecot initially creating the directory with
some other ownership, and then changing the own...
2006 Oct 30
2
Upgrade from RC7 to RC10 didn't go too well...
...As is, my mail client got an error trying to list messages in /INBOX (via
IMAP) and the mail.err log shows the following messages:
Oct 29 10:27:32 siona dovecot: IMAP(archangel):
open(/var/mail/archangel/inbox, O_CREAT) failed: Not a directory
Oct 29 10:27:32 siona dovecot: IMAP(archangel):
mkdir_parents(/var/mail/archangel/.imap/INBOX) failed: Not a directory
Oct 29 10:27:32 siona dovecot: IMAP(archangel): open() failed with
subscription file /var/mail/archangel/.subscriptions:
Not a directory
My dovecot.conf includes
default_mail_env = mbox:/var/mail/%u
And other then enabling SSL, I'v...
2005 Sep 30
2
sudo /etc/init.d/dovecot start doesn't work
...uot;, I would get the following permission error. I checked "ps -ef | grep
dovecot" and didn't find anything different.
Sep 29 16:54:35 localhost imap-login: Login: xyz at example.com [::ffff:
192.168.0.4 <http://192.168.0.4>]
Sep 29 16:54:36 localhost imap(xyz at example.com): mkdir_parents(/var/spool
/virtual_mailboxes/example.com/xyz/.imap/INBOX) failed: Permission denied
Here's the directory for storing virtual domain email.
[localhost ~]$ sudo ls -al /var/spool/virtual_mailboxes/example.com
total 24
drwx------ 3 vuser vuser 4096 Sep 29 16:43 .
drwxrwxr-x 3 root mail 4096...
2003 Aug 19
2
Three oddities
...heir mail unless I own their files. As long
as I own all the /var/mail/* files, everything works fine. But if I
shift ownership to another account, users can log on to Dovecot but
attempts to access an IMAP folder return an error.
>From maillog:
Aug 18 16:39:46 kongemord imap(philrodrigues): mkdir_parents(/var/mail/philrodri
gues/.imap/INBOX) failed: Permission denied
All files and directories in /var/mail/* are in the mail group. I tried
adding dovecot to that group, but that didn't help.
Since everyone can log on to Dovecot, but can't access their mail unless
I own their files, I...
2005 Sep 19
1
Two strange behaviours with dovecot+postfix+squirrelmail
...the
following error message from squirrelmail:
ERROR: Could not complete request.
Consulta: COPY 1279 "mail/Trash"
Reason Given: Internal error occured. Error report written to server log. [2005-09-16 15:08:04]
and the error logged is the following:
Sep 16 15:09:27 mail imap(username): mkdir_parents(/home/username//mail/.imap/Trash) failed:
Permission denied
I never stated that .imap/Trash when configuring dovecot and the strangest thing is that my
account, as most of others, can delete messages moving from /var/spool/mail/my_name to
/home/my_name/mail/Trash
Number 2. Randomly, some user...