[Dovecot] shared Sent and Junk folders
Hi,
For some odd reason, two of my users share the same Sent and Junk folders, therefore I keep getting errors about Sent folder reading permissions and one user reading the other user's Junk folder. What can I do about this odd problem?
Regards, Tolga
-- Stay with *nix :)
On 4/2/2008 3:38 AM, Tolga wrote:
For some odd reason, two of my users share the same Sent and Junk folders, therefore I keep getting errors about Sent folder reading permissions and one user reading the other user's Junk folder. What can I do about this odd problem?
Do you really think anyone can even guess what might cause something like this based on the information given?
How about some hints, like:
dovecot version, platform, output of dovecot -n, and maybe even - gasp - some log entries given when these users are experiencing the problem...
Sorry to sound harsh, but sometimes it just amazes me how people seem to think others will just be able to read their minds...
--
Best regards,
Charles
Charles Marcus wrote:
On 4/2/2008 3:38 AM, Tolga wrote:
For some odd reason, two of my users share the same Sent and Junk folders, therefore I keep getting errors about Sent folder reading permissions and one user reading the other user's Junk folder. What can I do about this odd problem?
Do you really think anyone can even guess what might cause something like this based on the information given?
How about some hints, like:
dovecot version, platform, output of dovecot -n, and maybe even - gasp
- some log entries given when these users are experiencing the problem... Dovecot version is 1.0.7, on Linux gentoo, below is dovecot -n
log_path: /var/log/dovecot.log info_log_path: /var/log/dovecot.log listen: [::] ssl_cert_file: /etc/ssl/dovecot/server.pem ssl_key_file: /etc/ssl/dovecot/server.key disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable: /usr/libexec/dovecot/imap-login mail_extra_groups: mail mail_location: mbox:/var/mail/:INBOX=/var/mail/%u:INDEX=/var/mail/folders/%u auth default: passdb: driver: pam args: * userdb: driver: passwd
logs: open() failed with mbox file /var/mail/Sent: Permission denied.
Please let me know if you need anything else
Sorry to sound harsh, but sometimes it just amazes me how people seem to think others will just be able to read their minds...
Not a problem at all
Regards,
-- Stay with *nix :)
mail_location: mbox:/var/mail/:INBOX=/var/mail/%u:INDEX=/var/mail/folders/%u
logs: open() failed with mbox file /var/mail/Sent: Permission denied.
I don't know why that surprises you :) You told dovecot to put all folders except the INBOX into /var/mail/ so what do you expect will happen?
johannes
on 4-2-2008 4:01 AM Tolga spake the following:
Charles Marcus wrote:
On 4/2/2008 3:38 AM, Tolga wrote:
For some odd reason, two of my users share the same Sent and Junk folders, therefore I keep getting errors about Sent folder reading permissions and one user reading the other user's Junk folder. What can I do about this odd problem?
Do you really think anyone can even guess what might cause something like this based on the information given?
How about some hints, like:
dovecot version, platform, output of dovecot -n, and maybe even - gasp
- some log entries given when these users are experiencing the problem... Dovecot version is 1.0.7, on Linux gentoo, below is dovecot -n
log_path: /var/log/dovecot.log info_log_path: /var/log/dovecot.log listen: [::] ssl_cert_file: /etc/ssl/dovecot/server.pem ssl_key_file: /etc/ssl/dovecot/server.key disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable: /usr/libexec/dovecot/imap-login mail_extra_groups: mail mail_location: mbox:/var/mail/:INBOX=/var/mail/%u:INDEX=/var/mail/folders/%u
Here you need something like mbox:/var/mail/%u/ or mbox:/var/%u/mail/ to keep all the users other mailboxes separate.
auth default: passdb: driver: pam args: * userdb: driver: passwd
logs: open() failed with mbox file /var/mail/Sent: Permission denied.
Please let me know if you need anything else
Sorry to sound harsh, but sometimes it just amazes me how people seem to think others will just be able to read their minds...
Not a problem at all
Regards,
-- MailScanner is like deodorant... You hope everybody uses it, and you notice quickly if they don't!!!!
Scott Silva wrote:
on 4-2-2008 4:01 AM Tolga spake the following:
Charles Marcus wrote:
On 4/2/2008 3:38 AM, Tolga wrote:
For some odd reason, two of my users share the same Sent and Junk folders, therefore I keep getting errors about Sent folder reading permissions and one user reading the other user's Junk folder. What can I do about this odd problem?
Do you really think anyone can even guess what might cause something like this based on the information given?
How about some hints, like:
dovecot version, platform, output of dovecot -n, and maybe even - gasp - some log entries given when these users are experiencing the problem... Dovecot version is 1.0.7, on Linux gentoo, below is dovecot -n
log_path: /var/log/dovecot.log info_log_path: /var/log/dovecot.log listen: [::] ssl_cert_file: /etc/ssl/dovecot/server.pem ssl_key_file: /etc/ssl/dovecot/server.key disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable: /usr/libexec/dovecot/imap-login mail_extra_groups: mail mail_location: mbox:/var/mail/:INBOX=/var/mail/%u:INDEX=/var/mail/folders/%u
Here you need something like mbox:/var/mail/%u/ or mbox:/var/%u/mail/ to keep all the users other mailboxes separate. I did like you said, and now I get IMAP(tolga): open() failed with subscription file /var/mail/tolga/.subscriptions: Not a directory. btw, /var/mail/tolga is a file, but what I want is to have all the other folders in /var/mail/folders/tolga. Should I modify it like mbox:/var/mail/folders/%u/ ?
Regards,
auth default: passdb: driver: pam args: * userdb: driver: passwd
logs: open() failed with mbox file /var/mail/Sent: Permission denied.
Please let me know if you need anything else
Sorry to sound harsh, but sometimes it just amazes me how people seem to think others will just be able to read their minds...
Not a problem at all
Regards,
participants (4)
-
Charles Marcus
-
Johannes Berg
-
Scott Silva
-
Tolga