Re: Permissions for shared mail don't work

2015-02-17 Thread Damien Desfontaines
Hi,

Sorry for the crazy latency. I just did that, it works like a charm.
And apparently, my postfix aliases still work.

Thanks a lot!

Damien


On Mon, Oct 20, 2014 at 08:27:59AM +0200, Steffen Kaiser wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Sun, 19 Oct 2014, Damien Desfontaines wrote:
 
 On Sun, Oct 19, 2014 at 10:52:59AM +0200, Steffen wrote:
 how do you deliver new messages to spam's INBOX?
 
 By sending an e-mail to spam.whate...@desfontain.es ?
 
 (I'm not sure I understand the question?)
 
 
 How does your MTA deliver the messages to the INBOX, do you use
 Dovecor LDA, LMTP or the MTA?
 
 The MTA itself delivers it, I think. Here are my config files :
 - http://paste.fulltxt.net/xx31R (/etc/postfix/main.cf)
 - and http://paste.fulltxt.net/t9iXRBIH (/etc/postfix/master.cf)
 
 I don't use Postfix, but neither Postfix nor Maildrop honor Dovecot's
 permission settings obviously. So, you need to re-configure those to set
 the Unix permissions, too.
 
 I'd recommend to reconfigure Postfix to use Dovecot LMTP:
 http://wiki2.dovecot.org/HowTo/PostfixDovecotLMTP
 
 or Dovecot LDA. However, if you use maildrop filtering, you have to
 switch to Dovecot Pigeonhole Sieve filtering.
 
 - -- Steffen Kaiser
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iQEVAwUBVESrcHz1H7kL/d9rAQIDlggAgN1l0PA0yWYVIMIpuehVb0bKkdiKsDh1
 adP899zThrl8/gKC6TQLldbCi92Kxnudt+yCZef07oFoiZxy3Xj+o7jECJrWI900
 LLG1TrwR2IX2jmwKL3XNR2F5nOJl2ePp8YI5LxYZiys2eZ1Ug9Ks0klJTEBzKCY3
 cZqad5+T7C1Lp39IjJF9ILPUWaCIFgkTgWBt/TvgXx6zj4zYxFL1bweN2zZOteFz
 m3nm8GcWlfXs2R9zc7Lpn+SM8IjRAZKB+/PtF2eqDHxQ+D8mddIqDFQhSK30sjfq
 Cf5ZMB7/+jEzSi4DdEnNwrsSGyuoJCEA5Ekoj1zR5M0HNOWMKy4V6A==
 =1q+8
 -END PGP SIGNATURE-


signature.asc
Description: Digital signature


Re: Permissions for shared mail don't work

2014-10-21 Thread Damien Desfontaines

On Sun, Oct 19, 2014 at 10:52:59AM +0200, Steffen wrote:
  how do you deliver new messages to spam's INBOX?
  
  By sending an e-mail to spam.whate...@desfontain.es ?
  
  (I'm not sure I understand the question?)
  
 
 How does your MTA deliver the messages to the INBOX, do you use
 Dovecor LDA, LMTP or the MTA?

The MTA itself delivers it, I think. Here are my config files :
- http://paste.fulltxt.net/xx31R (/etc/postfix/main.cf)
- and http://paste.fulltxt.net/t9iXRBIH (/etc/postfix/master.cf)

Best,

Damien


signature.asc
Description: Digital signature


Re: Permissions for shared mail don't work

2014-10-18 Thread Damien Desfontaines

On Sat, Oct 18, 2014 at 03:05:58PM +0200, Steffen wrote:
 Damien Desfontaines wrote:
  
  Here it is: http://paste.fulltxt.net/Xzoq9v
  
  You can actually see when I manually changed all permissions,
  around October 12, and the fact that the messages received
  afterwards don't have the correct permissions.
 
 how do you deliver new messages to spam's INBOX?

By sending an e-mail to spam.whate...@desfontain.es ?

(I'm not sure I understand the question?)

Damien


signature.asc
Description: Digital signature


Re: Permissions for shared mail don't work

2014-10-17 Thread Damien Desfontaines
Hello,

Here it is: http://paste.fulltxt.net/Xzoq9v

You can actually see when I manually changed all permissions, around
October 12, and the fact that the messages received afterwards don't
have the correct permissions.

Best,

Damien


On Fri, Oct 17, 2014 at 08:26:10AM +0200, Steffen Kaiser wrote:
 On Fri, 17 Oct 2014, Damien Desfontaines wrote:
 
 I'm trying to make the mailbox of (system) user spam available to
 user ted. I followed these instructions:
http://wiki2.dovecot.org/SharedMailboxes/Permissions
 and it doesn't seem to work. To be more precise:
 - I manually (and recursively) changed the permissions of all
  files in ~spam/Mail to 660 (and 770 for the directories);
 - I manually (and recursively) changed the group owner of everything
  in ~spam/Mail to mailperso, where mailperso is a group whose
  users are spam and ted;
 - I added « mail_access_groups=mailperso » into my dovecot config;
 - and I restarted dovecot.
 
 But still, when I send a new email to spam, it appears as being owned
 by group spam and having permissions set to 600, so I can't access
 it with user ted. I also tried to set the setgid bit for ~spam/Mail,
 it didn't change anything, and when I recursively set the setgid for
 all subdirectories of ~spam/Mail, it gives new mails the correct group
 (mailperso) but not the correct permissions.
 
 Please post (here in the list)
 
 ls -al ~spam/Mail ~spam/Mail/{new,cur}


signature.asc
Description: Digital signature


Permissions for shared mail don't work

2014-10-16 Thread Damien Desfontaines
Hello,

(Sorry if you already received this mail. I sent it without having
subscribed to the list, but I never got any confirmation; so I assumed
it has been filtered by the anti-spam or something.)

I'm using dovecot v.2.1.7 on Debian Sid, and the output of dovecot -n
is available here: http://paste.fulltxt.net/C-O

I'm trying to make the mailbox of (system) user spam available to
user ted. I followed these instructions:
http://wiki2.dovecot.org/SharedMailboxes/Permissions
and it doesn't seem to work. To be more precise:
- I manually (and recursively) changed the permissions of all
  files in ~spam/Mail to 660 (and 770 for the directories);
- I manually (and recursively) changed the group owner of everything
  in ~spam/Mail to mailperso, where mailperso is a group whose
  users are spam and ted;
- I added « mail_access_groups=mailperso » into my dovecot config;
- and I restarted dovecot.

But still, when I send a new email to spam, it appears as being owned
by group spam and having permissions set to 600, so I can't access
it with user ted. I also tried to set the setgid bit for ~spam/Mail,
it didn't change anything, and when I recursively set the setgid for
all subdirectories of ~spam/Mail, it gives new mails the correct group
(mailperso) but not the correct permissions.

Have I missed something, or is this a bug?

Thanks in advance and best regards,

Damien


signature.asc
Description: Digital signature


Permissions for shared mail don't work

2014-10-13 Thread Damien Desfontaines
Good morning,

I'm using dovecot v.2.1.7 on Debian Sid, and the output of dovecot -n
is available here: http://paste.fulltxt.net/C-O

I'm trying to make the mailbox of (system) user spam available to
user ted. I followed these instructions:
http://wiki2.dovecot.org/SharedMailboxes/Permissions
and it doesn't seem to work. To be more precise:
- I manually (and recursively) changed the permissions of all
  files in ~spam/Mail to 660 (and 770 for the directories);
- I manually (and recursively) changed the group owner of everything
  in ~spam/Mail to mailperso, where mailperso is a group whose
  users are spam and ted;
- I added « mail_access_groups=mailperso » into my dovecot config;
- and I restarted dovecot.

But still, when I send a new email to spam, it appears as being owned
by group spam and having permissions set to 600, so I can't access
it with user ted. I also tried to set the setgid bit for ~spam/Mail,
it didn't change anything, and when I recursively set the setgid for
all subdirectories of ~spam/Mail, it gives new mails the correct group
(mailperso) but not the correct permissions.

Have I missed something, or is this a bug?

Thanks in advance and best regards,

Damien


signature.asc
Description: Digital signature