Re: [Dovecot] Cannot delete subfolder in public folder

2011-08-24 Thread Karsten Becker
Step 1 accomplished: It worked. So, it's a TB bug? Some known workarounds? Regards Karsten On 08/24/2011 12:48 AM, Timo Sirainen wrote: On 24.8.2011, at 1.08, Karsten Becker wrote: I have the problem that I'm unable to delete a subfolder (again) I created within a public folder. I've

Re: [Dovecot] Cannot delete subfolder in public folder

2011-08-24 Thread Karsten Becker
Yeeeahh! I got it. For those who have the same problem: http://wiki.dovecot.org/Clients#Thunderbird Then, I took a look in conf.d/20-imap.conf and found the following: # Workarounds for various client bugs: # delay-newmail: # Send EXISTS/RECENT new mail notifications only when

[Dovecot] Attachments not removed from single store

2011-08-24 Thread Karsten Becker
Hi. Well, I've the next problem. I turned on the new attachment de-duplication stuff in the configuration. If I send an attchment between two accounts on my test system, the attment gets saved ion the configured mail_attachment_dir. But... if I delete it from the senders Send folder and the

Re: [Dovecot] POP3 Bug report v2.0.13 - CentOS x86_64 - NFS - mbox - [fixed]

2011-08-24 Thread Kostas Zorbadelos
On 08/23/2011 10:15 PM, Timo Sirainen wrote: On Fri, 2011-08-19 at 17:52 +0300, Kostas Zorbadelos wrote: The problem is more easily introduced than I imagined. Well, I still couldn't reproduce it. But I can kind of see the problem. http://hg.dovecot.org/dovecot-2.0/rev/030394c74f54 should

Re: [Dovecot] Attachments not removed from single store

2011-08-24 Thread Andrew Lewis
On 24/08/2011 12:32, Karsten Becker wrote: Is this a bug, or have I misunderstood the concept of storing attachments? Did you run 'doveadm purge -A'? http://wiki2.dovecot.org/MailboxFormat/dbox#Multi-dbox http://wiki2.dovecot.org/Tools/Doveadm/Purge Best, -AL.

Re: [Dovecot] Attachments not removed from single store

2011-08-24 Thread Karsten Becker
Of course... I didn't. Thanks. Regards Karsten On 08/24/2011 02:16 PM, Andrew Lewis wrote: On 24/08/2011 12:32, Karsten Becker wrote: Is this a bug, or have I misunderstood the concept of storing attachments? Did you run 'doveadm purge -A'?

[Dovecot] SiS

2011-08-24 Thread Guy Deleeuw
Hello, SiS is implemented and stable in the last version ? Best Regards Guy

Re: [Dovecot] BUG - lmtp multiple recipients fail - setuid issue?

2011-08-24 Thread Boris Lordis
Thank you! That worked. Best regards, -Boris On Sun, Aug 14, 2011 at 3:12 PM, Timo Sirainen t...@iki.fi wrote: On Mon, 2011-08-01 at 14:28 -0700, Boris Lordis wrote: Jul 27 11:24:42 testmailserver dovecot: lmtp(12412, steve): Error: link(/spool/mail/j/jerry/mail/INBOX/u.20423,

[Dovecot] Post-login scripting with virtual users

2011-08-24 Thread Mark Willcox
I am running Dovecot 2.0.13 on Fedora 15. I have migrated from a bincimap installation using checklocalpwd. All email is in folders owned by a unprivileged user, popuser. The email users are entirely virtual and have no relationship to actual linux users. My userdb calls return the UID and GID

Re: [Dovecot] Post-login scripting with virtual users

2011-08-24 Thread Rick Romero
Quoting Mark Willcox will...@datahelper.com: I am running Dovecot 2.0.13 on Fedora 15. I have migrated from a bincimap installation using checklocalpwd. All email is in folders owned by a unprivileged user, popuser. The email users are entirely virtual and have no relationship to actual

[Dovecot] Dovecot rejecting Vpopmail User 89

2011-08-24 Thread hobie
I'm working to get Dovecot 2.0.13 working along with qmail, Vpopmail and Squirrelmail on a Debian 6.0.2 system, Dovecot compiled, not from a package. Vpopmail has a widely known assigned user/group ID of 89 and is the owner of all the mail folders. Regardless of value of first_valid_uid (1, 89,

Re: [Dovecot] Dovecot rejecting Vpopmail User 89

2011-08-24 Thread Rick Romero
Quoting ho...@rumormillnews.com: I'm working to get Dovecot 2.0.13 working along with qmail, Vpopmail and Squirrelmail on a Debian 6.0.2 system, Dovecot compiled, not from a package. Vpopmail has a widely known assigned user/group ID of 89 and is the owner of all the mail folders. Regardless

Re: [Dovecot] Dovecot rejecting Vpopmail User 89

2011-08-24 Thread Rick Romero
Enable auth_verbose and check the logs. But I'm pretty sure that means Dovecot can't change to the Maildir folder. I assume the user's folder is owned by vpopmail:vchkpw? Is the Maildir NFS mounted or local? Rick Quoting ho...@rumormillnews.com: Thanks, Rick. :) Changed first/last

Re: [Dovecot] Dovecot rejecting Vpopmail User 89

2011-08-24 Thread Timo Sirainen
On Wed, 2011-08-24 at 15:22 -0400, ho...@rumormillnews.com wrote: Regardless of value of first_valid_uid (1, 89, other), Dovecot denies Squirrelmail connection, saying it can't allow access to UID 89. Couldn't drop privileges, it says. I'd be grateful for fixes, suggestions, or a pointer to

Re: [Dovecot] Post-login scripting with virtual users

2011-08-24 Thread Mark Willcox
Much closer! It seems to run the script, but now I get: Error: net_connect_unix(/var/run/dovecot/imap-postpop) failed: Connection refused I thought it might be because popuser has no logon capability (/sbin/nologin), but I changed that and connection is still refused. Can it be my script? It

Re: [Dovecot] Post-login scripting with virtual users

2011-08-24 Thread Rick Romero
Is the script executable? I'm out of ideas. Yes, you can set it up exactly the same for IMAP. Rick Quoting Mark Willcox will...@datahelper.com: Much closer! It seems to run the script, but now I get: Error: net_connect_unix(/var/run/dovecot/imap-postpop) failed: Connection refused I

Re: [Dovecot] Dovecot rejecting Vpopmail User 89

2011-08-24 Thread hobie
Hi, Timo - from mail.warn log file, domain name redacted: Aug 24 16:32:07 debian dovecot: imap(postmas...@vorg): Error: user postmas...@vorg: Couldn't drop privileges: Mail access for users with UID 89 not permitted (see first_valid_uid in config file, uid from userdb lookup). --hobie

Re: [Dovecot] Post-login scripting with virtual users

2011-08-24 Thread Timo Sirainen
On Wed, 2011-08-24 at 13:57 -0500, Mark Willcox wrote: Aug 24 13:01:57 callisto dovecot: imap-postpop: Error: script-login: Error: user devn...@dhzone.com: Error reading configuration: net_connect_unix(/var/run/dovecot/config) failed: Permission denied This is your problem.. It's a bug in

Re: [Dovecot] Dovecot rejecting Vpopmail User 89

2011-08-24 Thread Timo Sirainen
On Wed, 2011-08-24 at 16:34 -0400, ho...@rumormillnews.com wrote: Hi, Timo - from mail.warn log file, domain name redacted: Aug 24 16:32:07 debian dovecot: imap(postmas...@vorg): Error: user postmas...@vorg: Couldn't drop privileges: Mail access for users with UID 89 not permitted

Re: [Dovecot] Dovecot rejecting Vpopmail User 89

2011-08-24 Thread hobie
(Ah!) Thanks, Timo, that allows Squirrelmail to get access. :) I had been making changes to the files in /conf.d, not directly to dovecot.conf - confusing. :) I'm trying now to connect using Thunderbird and that's not working, but I'll dig into that for awhile before asking for further help.

[Dovecot] Catch22: user needs space to fix out of space condition

2011-08-24 Thread Joseph Tam
A mail user reported that he filled up his INBOX (despite reminders he was approaching his filesystem quota), and furthermore, he could not fix the situation because he couldn't expunge message he marked for deletion. The dovecot logs revealed the cause dovecot: imap(user): Error:

Re: [Dovecot] Post-login scripting with virtual users

2011-08-24 Thread Mark Willcox
I don't think that this is the problem now. I removed the unix_listener as per Rick's advice. That got me past the Error reading configuration. Just to be sure, I made the config socket world-readable which made no difference. Now instead I get: Error:

Re: [Dovecot] Post-login scripting with virtual users

2011-08-24 Thread Mark Willcox
I am about 97.2% certain that it never tries to run the script. I changed it to simply touch a file in /tmp with the same result. I simplified it to: #!/bin/sh exec $@ Still refused. _ Mark Willcox Data Helper, Inc. On 8/24/2011 5:16 PM, Mark Willcox wrote: I don't think

Re: [Dovecot] Catch22: user needs space to fix out of space condition

2011-08-24 Thread Patrick Domack
Don't use dotlock files. Method that generally works nice also is to start rejecting email for the user when they are at 99% capacity, so you leave just alittle room for that kind of thing left. Quoting Joseph Tam jtam.h...@gmail.com: A mail user reported that he filled up his INBOX

Re: [Dovecot] Post-login scripting with virtual users

2011-08-24 Thread Timo Sirainen
You didn't get past the config reading error, it now fails before it even gets that far. On Wed, 2011-08-24 at 17:16 -0500, Mark Willcox wrote: I don't think that this is the problem now. I removed the unix_listener as per Rick's advice. That got me past the Error reading configuration.

[Dovecot] On IMAP vhost login, only Username being used

2011-08-24 Thread hobie
Attempting IMAP SSL login on new installation, using Icedove (Debain Thunderbird variant), login fails. Logs show Dovecot attempting to match username only, not username with domain name, on Vpopmail user, so of course no match. Tried with '@' in full username, also with '%'. What's missing? Log

Re: [Dovecot] Post-login scripting with virtual users

2011-08-24 Thread Mark Willcox
I downloaded the source and patched script-login.c. It is working fine now! Thank you! My script is running as root now and it resisted all efforts to make it run as popuser, but I can work with that. Why did I wait so long to move from bincimap? _ Mark Willcox Data Helper,

Re: [Dovecot] Post-login scripting with virtual users

2011-08-24 Thread Timo Sirainen
On 25.8.2011, at 4.17, Mark Willcox wrote: My script is running as root now and it resisted all efforts to make it run as popuser, but I can work with that. Hmm. If it's running as root, you shouldn't have had the config problem in the first place because that means it's not running as root..

Re: [Dovecot] Catch22: user needs space to fix out of space condition

2011-08-24 Thread David Warden
On Aug 24, 2011, at 5:52 PM, Joseph Tam wrote: A mail user reported that he filled up his INBOX (despite reminders he was approaching his filesystem quota), and furthermore, he could not fix the situation because he couldn't expunge message he marked for deletion. The dovecot logs

[Dovecot] dovecot and maillists problem

2011-08-24 Thread Костырев Александр Алексеевич
Hello there! I have a little trouble with using dovecot as lmtp and maillists. I use dovecot 2.0.13 with exim 4.72 on Debian 6.0. (All stuff at one host). info of maillists is store in mysql table, for example:

Re: [Dovecot] dovecot and maillists problem

2011-08-24 Thread Timo Sirainen
On 25.8.2011, at 8.17, Костырев Александр Алексеевич wrote: The problem is: When I send a letter to short maillist (as above) it get the same ID and stored only once in the maildir of one user who is the member of that maillist - that's ok, but When I send a letter to maillist with a large

Re: [Dovecot] Catch22: user needs space to fix out of space condition

2011-08-24 Thread Timo Sirainen
On 25.8.2011, at 5.12, David Warden wrote: In your mail_location you can specify a different control and index directory as a place where the user has no quotas. I'm not quite sure which it is (control or index) that says where the dotlock file goes but it should be one of them. Nope,

Re: [Dovecot] dovecot and maillists problem

2011-08-24 Thread Костырев Александр Алексеевич
But that kind of conflicts on your logs that show tons of SQL lookups one after another.. I'm not sure that these are conflicts. As I see it, it's legitimate lookups for the users who are the members of maillist I thought that's correct behavior, am I wrong? -Original Message- From:

Re: [Dovecot] On IMAP vhost login, only Username being used

2011-08-24 Thread hobie
I tried the runtbird.sh script, hoping for more info - all it did was show that auth is failing. I don't understand why Dovecot is separating the username from the domain name, and trying to match only on the username. Seems like there must be a config setting that affects this and that I'm