postfix-users October 2011 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Permission for delivered messages.

Permission for delivered messages.

From: Simone Piccardi <piccardi_at_nospam>
Date: Wed Oct 19 2011 - 16:49:55 GMT
To: postfix-users@postfix.org

Hi,

I'm trying to deliver some messages to a "Public" IMAP directory (Public
in the dovecot namespace meaning).

I tried to use virtual to do this, I created a virtual domain
shared.folders and then used a virtual_mailbox_maps to define a mapping
between an address like someaddress@shared.folders to a specific shared
folder.

I could deliver the messages sent to someaddress@shared.folders to a
/var/mail/public/.somefolder Maildir, but they were all created with
permission 0600, so they cannot be read by different users.

I cannot find any option to setup an umask for delivered message
creation, so I'm asking if there is a way to do this or it's just
impossible.

Regards
Simone
-- Simone Piccardi Truelite Srl piccardi@truelite.it (email/jabber) Via Monferrato, 6 Tel. +39-347-1032433 50142 Firenze http://www.truelite.it Tel. +39-055-7879597 Fax. +39-055-7333336