seriv at parkheights.dyndns.org
2008-Jul-23 22:57 UTC
[Dovecot] Problem: delivery with mode 600 into shared folder
Hi,
I have a problem, delivery called from /etc/aliases file by pipe delivers with
mode 0600.
I need system users with shared mail folders (Maildir format).
When I changed alias to pipe to shell wrapper with mode 002 set in it, nothing
changed.
MTA is sendmail, OS Solaris, and dovecot version 1.1.1. Can somebody help?
Here are dovecot settings:
---
/opt/dovecot11/sbin/dovecot -n
# 1.1.1: /opt/dovecot11/etc/dovecot.conf
base_dir: /var/run/dovecot/
log_path: /var/log/dovecot.log
login_dir: /var/run/dovecot//login
login_executable: /opt/dovecot11/libexec/amd64/dovecot/imap-login
max_mail_processes: 128
mail_location:
maildir:/home/vmail/listuser/Maildir:CONTROL=/home/vmail/%u/Maildir/control:INDEX=/home/vmail/%u/Maildir/index
mail_debug: yes
auth default:
verbose: yes
debug: yes
debug_passwords: yes
passdb:
driver: pam
args: imap
userdb:
driver: passwd
socket:
type: listen
master:
path: /var/run/dovecot/auth-master
mode: 432
user: daemon
group: other
plugin:
sieve: /opt/dovecot11/sieve-scripts/folders.sieve
---
And this is the alias to pipe:
---
grep deliver /etc/aliases
listuser at domain.com: "|/opt/dovecot11/libexec/dovecot/deliver -d
listuser"
--
Sergey Ivanov.
Timo Sirainen
2008-Jul-23 23:01 UTC
[Dovecot] Problem: delivery with mode 600 into shared folder
On Wed, 2008-07-23 at 18:57 -0400, seriv at parkheights.dyndns.org wrote:> Hi, > I have a problem, delivery called from /etc/aliases file by pipe delivers with mode 0600. > I need system users with shared mail folders (Maildir format). > When I changed alias to pipe to shell wrapper with mode 002 set in it, nothing changed. > MTA is sendmail, OS Solaris, and dovecot version 1.1.1. Can somebody help?Did you create dovecot-shared file to the maildir as http://wiki.dovecot.org/SharedMailboxes specifies? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080724/56e92a9c/attachment-0002.bin>
seriv at parkheights.dyndns.org
2008-Jul-23 23:47 UTC
[Dovecot] Problem: delivery with mode 600 into shared folder
Timo, thank you! I did not created these files. I'm sorry for asking here, I have spent at least couple hours but did not see the thing. Now everything working great! -- Sergey. ----- "Timo Sirainen" <tss at iki.fi> wrote:> On Wed, 2008-07-23 at 18:57 -0400, seriv at parkheights.dyndns.org > wrote: > > Hi, > > I have a problem, delivery called from /etc/aliases file by pipe > delivers with mode 0600. > > I need system users with shared mail folders (Maildir format). > > When I changed alias to pipe to shell wrapper with mode 002 set in > it, nothing changed. > > MTA is sendmail, OS Solaris, and dovecot version 1.1.1. Can somebody > help? > > Did you create dovecot-shared file to the maildir as > http://wiki.dovecot.org/SharedMailboxes specifies?
Sergey Ivanov
2008-Jul-24 00:33 UTC
[Dovecot] Problem: delivery with mode 600 into shared folder
Timo Sirainen wrote:> Did you create dovecot-shared file to the maildir as > http://wiki.dovecot.org/SharedMailboxes specifies? > >But one strange thing remains: I can tag messages (lime "Important", "Work", "Personal" and so on in Thunderbird) and tags are preserved at Thunderbird restart, but after restart all messages in shared folder appear as new. Even without restart, when go to another folder and then return to one where I've marked messages as "Read" before, they are new! Dovecot configs are in my previous message, I think I should not post them once more. -- Sergey Ivanov.
seriv at parkheights.dyndns.org
2008-Aug-04 20:13 UTC
[Dovecot] Problem: delivery with mode 600 into shared folder
Hi Timo, ----- "Timo Sirainen" <tss at iki.fi> wrote:> On Jul 23, 2008, at 8:33 PM, Sergey Ivanov wrote: > > >[skip] > > > > at Thunderbird restart, but after restart all messages in shared > > folder appear as new. Even without restart, when go to another > > folder and then return to one where I've marked messages as "Read" > > > before, they are new! > > Dovecot configs are in my previous message, I think I should not > > post them once more. > > Sounds like the mailbox is read-only for the user. It doesn't have > write-permissions to it the directories?you are right, directories with mail are only readable by users, they have each their own dirs for storing CONTROL and INDEX. --- mail_location: maildir:/home/vmail/listuser/Maildir:CONTROL=/home/vmail/%u/Maildir/control:INDEX=/home/vmail/%u/Maildir/index --- your change b5388b21c4c2 fixed the problem, thank you! -- Sergey ivanov.