Re: [Dovecot] File permissions used for automatically created mailbox

2013-02-07 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 7 Feb 2013, Frerich Raabe wrote: I'm running Dovecot 2.1.12 on FreeBSD (quite successfully so, thanks for this nice piece of software!). One thing which is slightly annoying though is that automatically created mailboxes (I have lda_mailbox

[Dovecot] File permissions used for automatically created mailbox

2013-02-07 Thread Frerich Raabe
Hi, I'm running Dovecot 2.1.12 on FreeBSD (quite successfully so, thanks for this nice piece of software!). One thing which is slightly annoying though is that automatically created mailboxes (I have lda_mailbox_autocreate set) don't have the file permissions I'd like them to have. I'm usin

Re: [Dovecot] File Permissions and delivery

2011-08-30 Thread Simon Brereton
> -Original Message- > From: Timo Sirainen [mailto:t...@iki.fi] > > On Mon, 2011-08-29 at 11:14 -0400, Simon Brereton wrote: > > Aug 29 15:59:14 mail dovecot: deliver(si...@lydiard.net): > stat(/var/spool/mail/virtual/domain.net/simon/tmp) failed: Permission > denied (euid=999(mailsystem)

Re: [Dovecot] File Permissions and delivery

2011-08-29 Thread Timo Sirainen
On Mon, 2011-08-29 at 11:14 -0400, Simon Brereton wrote: > Aug 29 15:59:14 mail dovecot: deliver(si...@lydiard.net): > stat(/var/spool/mail/virtual/domain.net/simon/tmp) failed: Permission denied > (euid=999(mailsystem) egid=115(mailsystem) missing +x perm: > /var/spool/mail/virtual) > > Even i

Re: [Dovecot] File Permissions and delivery

2011-08-29 Thread Simon Brereton
> -Original Message- > From: Timo Sirainen [mailto:t...@iki.fi] > Sent: Sunday, August 28, 2011 11:25 PM > On Fri, 2011-08-26 at 13:10 -0400, Simon Brereton wrote: > > mail:~# ls /var/spool/mail/virtual/domain.net/simon/new/ > > -rwxrwx--- 1 postfix mailsystem 2.5K Aug 26 03:33 > > 131432

Re: [Dovecot] File Permissions and delivery

2011-08-29 Thread Simon Brereton
> -Original Message- > From: dovecot-boun...@dovecot.org [mailto:dovecot- > boun...@dovecot.org] On Behalf Of Patrick Domack > Just adding that won't make dovecot use it though, you would have to > include the postconf -n output. Normally something like > virtual_transport=dovecot Crap. I

Re: [Dovecot] File Permissions and delivery

2011-08-28 Thread Timo Sirainen
On Fri, 2011-08-26 at 13:10 -0400, Simon Brereton wrote: > mail:~# ls /var/spool/mail/virtual/domain.net/simon/new/ > -rwxrwx--- 1 postfix mailsystem 2.5K Aug 26 03:33 > 1314326000.V801I1666018M803015.mail.net,S=2461:2, > -rwxrwx--- 1 postfix mailsystem 2.5K Aug 26 03:36 > 1314326209.V801I16660

Re: [Dovecot] File Permissions and delivery

2011-08-26 Thread Patrick Domack
Just adding that won't make dovecot use it though, you would have to include the postconf -n output. Normally something like virtual_transport=dovecot Quoting Simon Brereton : On 26 August 2011 19:35, Patrick Domack wrote: My guess is your delivering email with postfix to the inbox, instead

Re: [Dovecot] File Permissions and delivery

2011-08-26 Thread Simon Brereton
On 26 August 2011 19:35, Patrick Domack wrote: > > My guess is your delivering email with postfix to the inbox, instead of using > dovecot-lda. And something odd is going on with that postfix to get odd > permissions like that. > > You probably needed to edit the postfix virtual deliever transpo

Re: [Dovecot] File Permissions and delivery

2011-08-26 Thread Patrick Domack
My guess is your delivering email with postfix to the inbox, instead of using dovecot-lda. And something odd is going on with that postfix to get odd permissions like that. You probably needed to edit the postfix virtual deliever transport, or maybe you just forget to active the dovecot-lda

[Dovecot] File Permissions and delivery

2011-08-26 Thread Simon Brereton
Hi I'm very new to Dovecot (been using Courier for 5 years), but I've been persuaded of the merits of Dovecot and since the server needs upgrading that seems like the perfect time/excuse. On a test server, I set up postfix and installed Dovecot (running 32-bit Debian Squeeze, installed from ap

Re: [Dovecot] file permissions

2011-03-29 Thread Charles Marcus
On 2011-03-28 4:21 PM, Charles Marcus wrote: > On 2011-03-28 4:02 PM, David Ford wrote: >> please make sure this is optional. dovecot always tries to set the wrong >> ownership on our servers. > > Of course I meant a doveadm argument... > > Something like doveadm --fix-perms and of course it s

Re: [Dovecot] file permissions

2011-03-28 Thread Charles Marcus
On 2011-03-28 4:02 PM, David Ford wrote: > please make sure this is optional. dovecot always tries to set the wrong > ownership on our servers. Of course I meant a doveadm argument... Something like doveadm --fix-perms -- Best regards, Charles

Re: [Dovecot] file permissions

2011-03-28 Thread David Ford
On 03/28/11 15:49, Charles Marcus wrote: > On 2011-03-28 3:36 PM, Walt Shekrota wrote: >> I'm thinking the later may be a procmail issue unless it is related >> to initial incorrect permissions? > Timo - I'm curious... some programs have the ability to check > permissions on their respective direc

Re: [Dovecot] file permissions

2011-03-28 Thread Charles Marcus
On 2011-03-28 3:36 PM, Walt Shekrota wrote: > I'm thinking the later may be a procmail issue unless it is related > to initial incorrect permissions? Timo - I'm curious... some programs have the ability to check permissions on their respective directories they work with/on, and fix them if necessa

[Dovecot] file permissions

2011-03-28 Thread Walt Shekrota
Dovecot 1.2.12 maildir format using :LAYOUT=fs (my Mail dir came from KDE) I can't remember the permissions of the /Mail/ directory because I haven't been concerned with it too much until now. I think they were user:user or user:mail. Now a new mail ends up 600 root:mail. (in alternate directori