Re: [Dovecot] v2.0.beta1 released

2009-12-15 Thread Odhiambo Washington
On Mon, Dec 14, 2009 at 6:12 AM, Timo Sirainen t...@iki.fi wrote: http://dovecot.org/releases/2.0/beta/dovecot-2.0.beta1.tar.gz http://dovecot.org/releases/2.0/beta/dovecot-2.0.beta1.tar.gz.sig FreeBSD 6.4 (yes, it is old but I have been running the latest alpha on it): /usr/local/bin/bash

Re: [Dovecot] commercial help

2009-12-15 Thread Jim Pazarena
Timo Sirainen wrote: On Nov 27, 2009, at 1:18 AM, Jim Pazarena wrote: I am on FreeBSD with Dovecot 1.2.4 I need to have both POP3 IMAP working to replace vm-pop3d (which was POP3 only). Local users are: mbox:/home/%u/mail/:INBOX=/mail/%u with password in /etc/passwd .. Virtual users

[Dovecot] Mail root to root and permissions problem

2009-12-15 Thread Antonello Onida
Hi all! I got a Debian with postfix-dovecot-spamassassin. I got a non perfect installation: when an internal mail has been sent i got this error: error ex: from r...@* to r...@*. Command output: Can't open log file /var/log/dovecot.log: Permission denied /error Operations like dovecot:

Re: [Dovecot] Mail root to root and permissions problem

2009-12-15 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 15 Dec 2009, Antonello Onida wrote: I got a non perfect installation: when an internal mail has been sent i got this error: You don't get this error, when receiving an external message?? error ex: from r...@* to r...@*. Command

Re: [Dovecot] Mail root to root and permissions problem

2009-12-15 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 15 Dec 2009, Steffen Kaiser wrote: BTW: root is denied by Dovecot, dunno if in deliver as well. Can you mail to another user? regards, - -- Steffen Kaiser -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux)

Re: [Dovecot] Mail root to root and permissions problem

2009-12-15 Thread Antonello Onida
I get this error only with cron reports sent from root to root! Normal mail activities are all functionally, such as Roundcube or Thunderbird that are working fine.

[Dovecot] Kerberos Cross-Real username

2009-12-15 Thread Nikolay Shopik
Hi List, Is anyone is running Dovecot with Kerberos and tried to authenticate user from different REALM and have same user principal with default domain. Currently Dovecot only logs user principal w/o REALM. So before I go in production maybe somebody already run into this using Dovecot? If

Re: [Dovecot] Dovecot Quota Configuration

2009-12-15 Thread Eduardo M KALINOWSKI
On Ter, 15 Dez 2009, Pattabi Prasanna wrote: I setting up a Mail server for my company. I have installed Postfix, it is working fine. I have installed Dovecot IMAP Server, i want to know how to implement quotas for users mailbox. I have created Users using /etc/passwd, No Mysql or LDAP at

Re: [Dovecot] Mail root to root and permissions problem

2009-12-15 Thread Benny Pedersen
On tir 15 dec 2009 11:41:41 CET, Steffen Kaiser wrote -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 15 Dec 2009, Antonello Onida wrote: I got a non perfect installation: when an internal mail has been sent i got this error: You don't get this error, when receiving an external

[Dovecot] Configure deliver to add ', S=size' to maildir message name

2009-12-15 Thread alhashash-lists
Hi, I want to use the zlib plugin to compress my mail storage. According to the wiki, only messages with size attribute in the message id should by compressed. If I added the size part, dovecot assumes it is a new message. While dovecot undertands the ',S=size' attribute (IMAP shows that

Re: [Dovecot] commercial help

2009-12-15 Thread Charles Marcus
On 12/15/2009, Jim Pazarena (dove...@paz.bz) wrote: Is there a way to have dovecot 'tack on' a default @domain.name if the user submits a username only? I think you are looking for: auth_default_realm = Default realm/domain to use if none was specified. This is used for both SASL realms

Re: [Dovecot] Is it possible to change service name of managesieve service?

2009-12-15 Thread Zhang Huangbin
On Dec 14, 2009, at 4:14 PM, Timo Sirainen wrote: On Dec 14, 2009, at 3:08 AM, Zhang Huangbin wrote: With LDAP, i simiplily add two more values: enabledService: sieve enabledService: sievesecured Is the sievesecured intentional? %s expands only to sieve, but %s%c could

[Dovecot] Why dovecot does not want to read my acl file?

2009-12-15 Thread Lukas Haase
Hi, Simple Scenario: Shared namespace and a specific UNIX group should have access to it. System is Debian lenny (stable). # cat /etc/dovecot/dovecot.conf [...] namespace public { separator = . prefix = Shared. location = maildir:/var/mail/shared } mail_executable =

Re: [Dovecot] Mail root to root and permissions problem

2009-12-15 Thread Antonello Onida
In various point of the instructions can read that dovecot is only for dovecot internal use, and as user it must not have any permission! My problem is related to the deliver of local mail, such as mail to root from root sent by cronjob! I tried also to send a mail from r...@localhost to

Re: [Dovecot] Spam filtering

2009-12-15 Thread Dmitri V. Ivanov
On Tue, Dec 15, 2009 at 02:20:23PM +0800, Patrick Nagel wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Dmitri, On 2009-12-15 04:54, Dmitri V. Ivanov wrote: On Mon, Dec 14, 2009 at 09:30:54PM +0100, Marcus Rueckert wrote: Is there a way do something like that with deliver?

Re: [Dovecot] Mail root to root and permissions problem

2009-12-15 Thread /dev/rob0
On Tue, Dec 15, 2009 at 02:11:28PM +0100, Benny Pedersen wrote: On tir 15 dec 2009 11:41:41 CET, Steffen Kaiser wrote On Tue, 15 Dec 2009, Antonello Onida wrote: error ex: from r...@* to r...@*. Command output: Can't open log file /var/log/dovecot.log: Permission denied /error

Re: [Dovecot] Spam filtering

2009-12-15 Thread Timo Sirainen
On Mon, 2009-12-14 at 23:54 +0300, Dmitri V. Ivanov wrote: why not do it on MTA level? those already have the hooks for it normally. no need to reinvent the wheel imho. Sometimes it's virtual users using dovecot userdb or something like. MTA isn't aware of it (all it uses for virtual

[Dovecot] Auth Fails, But Can Still Get Mail

2009-12-15 Thread Asai
Greetings, I've recently upgraded from version .97 to v. 1.2. Everything seems to be working OK, but I'm wondering why I'm getting authentication failure messages in /var/log/maillog. Like this: Dec 15 11:02:41 triata dovecot: imap-login: Disconnected (auth failed, 1 attempts):

Re: [Dovecot] Kerberos Cross-Real username

2009-12-15 Thread Timo Sirainen
On Tue, 2009-12-15 at 14:37 +0300, Nikolay Shopik wrote: Is anyone is running Dovecot with Kerberos and tried to authenticate user from different REALM and have same user principal with default domain. Currently Dovecot only logs user principal w/o REALM. So before I go in production

Re: [Dovecot] Kerberos Cross-Real username

2009-12-15 Thread Nikolay Shopik
On 15.12.2009 21:58, Timo Sirainen wrote: On Tue, 2009-12-15 at 14:37 +0300, Nikolay Shopik wrote: Is anyone is running Dovecot with Kerberos and tried to authenticate user from different REALM and have same user principal with default domain. Currently Dovecot only logs user principal

Re: [Dovecot] Configure deliver to add ', S=size' to maildir message name

2009-12-15 Thread Timo Sirainen
On Tue, 2009-12-15 at 15:17 +0200, alhashash-li...@cilantrocafe.net wrote: While dovecot undertands the ',S=size' attribute (IMAP shows that size), I could not configure deliver to add the size to message name. This patch makes v1.2 add it always:

Re: [Dovecot] Kerberos Cross-Real username

2009-12-15 Thread Timo Sirainen
On Tue, 2009-12-15 at 22:01 +0300, Nikolay Shopik wrote: I don't know much about Kerberos, but in v1.2 there are several changes to cross-realm auth that should make it work better. Are you using v1.2? Hello Timo, For now I'm on 1.0.15 but plan migrate to 1.2.8 very soon. I believe you

Re: [Dovecot] Dovecot truncating Inboxes?

2009-12-15 Thread Timo Sirainen
On Mon, 2009-12-14 at 16:49 +0100, Harald Strack wrote: imap: dovecot-1.1.10 (pam-unix, no direct LDAP access) pop: dovecot-1.0.14 on another server (pam-unix, no direct LDAP access) mta: postfix (pam-unix, no direct LDAP access) procmail (pam-unix, no direct LDAP access) Filesystems:

Re: [Dovecot] vpopmail/mysql/quota

2009-12-15 Thread Timo Sirainen
On Mon, 2009-12-14 at 08:11 -0600, Marty Diesburg wrote: I'm new to the list and have a quota question. I am building a new server with dovecot/qmail/vpopmail/mysql and emails are sending and recieving fine when the quota is set to NOQUOTA, but when the quota is changed qmail doesn't deliver

Re: [Dovecot] Different PROXY for IMAP and POP3 using LDAP-auth

2009-12-15 Thread Timo Sirainen
On Sun, 2009-12-13 at 10:59 +0100, Ralf Becker wrote: +attr_names_r[i] = p_strdup(auth_request-pool, str_c(str)); auth_request-pool gets freed when this auth request finishes. +hash_insert(conn-user_attr_map,attr_names_r[i], + hash_lookup(conn-user_attr_map,attr_names[i])); Here you add

Re: [Dovecot] Dovecot-sieve multiple redirect question

2009-12-15 Thread Timo Sirainen
On Sat, 2009-12-12 at 20:12 +0200, Алексей Крикун wrote: require [copy]; redirect :copy ad...@dom.ain; redirect :copy ad...@dom.ain; All works fine, but if ad...@... has exceeded quota, this script seems stop working and ad...@... doesn't receive this message too. Is this correct

Re: [Dovecot] S=xxx missing in new messages

2009-12-15 Thread Timo Sirainen
On Fri, 2009-12-11 at 20:53 -0500, Timo Sirainen wrote: On Dec 11, 2009, at 9:33 AM, Andre wrote: Yesterday I was testing support for zlib, for compressed messages, to set up a new namespace for old mails and I read that it is safe to compress only mails that have the field “S=XXX” in

Re: [Dovecot] mail_max_userip_connections

2009-12-15 Thread Timo Sirainen
On Thu, 2009-12-10 at 11:24 -0800, Richard Stockton wrote: What is the appropriate setting for mail_max_userip_connections ? My POP3 connections seem to be mostly 1 at a time, Right, there's rarely need for more. but my IMAP connections are often 3 per user per IP. Is this appropriate?

Re: [Dovecot] Auth Fails, But Can Still Get Mail

2009-12-15 Thread Timo Sirainen
On Tue, 2009-12-15 at 11:53 -0700, Asai wrote: I've recently upgraded from version .97 to v. 1.2. Everything seems to be working OK, but I'm wondering why I'm getting authentication failure messages in /var/log/maillog. Like this: Dec 15 11:02:41 triata dovecot: imap-login: Disconnected

Re: [Dovecot] Why dovecot does not want to read my acl file?

2009-12-15 Thread Charles Marcus
On 12/15/2009, Lukas Haase (lukasha...@gmx.at) wrote: # cat /etc/dovecot/dovecot.conf No, output of dovecot -n please... -- Best regards, Charles

Re: [Dovecot] Auth Fails, But Can Still Get Mail

2009-12-15 Thread Asai
Timo Sirainen wrote: On Tue, 2009-12-15 at 11:53 -0700, Asai wrote: I've recently upgraded from version .97 to v. 1.2. Everything seems to be working OK, but I'm wondering why I'm getting authentication failure messages in /var/log/maillog. Like this: Dec 15 11:02:41 triata dovecot:

Re: [Dovecot] Why dovecot does not want to read my acl file?

2009-12-15 Thread Timo Sirainen
On Wed, 2009-12-16 at 00:24 +0900, Lukas Haase wrote: mail_drop_priv_before_exec = no #just to make sure no means it starts the process as root as root. I guess you meant to use yes. # cat /usr/local/sbin/dovecot-imap-fix.sh #!/bin/sh cat /var/mail/shared/.Office/dovecot-acl

Re: [Dovecot] Auth Fails, But Can Still Get Mail

2009-12-15 Thread Timo Sirainen
On Tue, 2009-12-15 at 12:53 -0700, Asai wrote: Well, the strange thing is, I'm getting logs like this for every user I have. Some of which arent even on-line at the time of the logs. The rid is the same as the lid which is weird as it's on the same server as dovecot. So the connections are

Re: [Dovecot] Auth Fails, But Can Still Get Mail

2009-12-15 Thread Asai
I guess. Or something else running on localhost trying to log in as other users? What method would I use to debug this? Does Dovecot have a debug console? -- --asai

Re: [Dovecot] deliver panics when handling mails bigger than some kByte

2009-12-15 Thread Timo Sirainen
On Mon, 2009-12-14 at 20:55 +0100, Leon Meßner wrote: Hi, i've just upgraded to dovecot-1.2.8 (from 1.2.4) and do now get the following errors when deliver gets hands on mails with some attachments. # tail -n 1 /var/log/messages Dec 14 19:00:36 mail3 dovecot: deliver(user): Panic: file

Re: [Dovecot] Dovecot Deliver CPU usage

2009-12-15 Thread Timo Sirainen
On Mon, 2009-12-14 at 13:04 +0530, Aravind Divakaran wrote: You can find my strace with timestamp on the below link. http://pastebin.com/m2942fbdd This strace shows that it succeeds. My /home partition using san storage with ocfs filesystem. .. Dec 14 12:38:19 server01 dovecot:

Re: [Dovecot] Auth Fails, But Can Still Get Mail

2009-12-15 Thread Timo Sirainen
On Tue, 2009-12-15 at 13:03 -0700, Asai wrote: I guess. Or something else running on localhost trying to log in as other users? What method would I use to debug this? Does Dovecot have a debug console? Does Squirrelmail log when it attempts to authenticate a user? That would be the

Re: [Dovecot] Dovecot Deliver CPU usage

2009-12-15 Thread Timo Sirainen
On Tue, 2009-12-15 at 15:08 -0500, Timo Sirainen wrote: Dec 14 12:46:04 server01 postfix/pipe[1870]: 57489E913: to=us...@example.com, orig_to=us...@example.com, relay=dovecot, delay=1703, delays=1369/328/0/5.9, dsn=5.7.0, status=bounced (permission denied. Command output: Not enough disk

Re: [Dovecot] Dovecot Deliver CPU usage

2009-12-15 Thread Timo Sirainen
On Tue, 2009-12-15 at 15:08 -0500, Timo Sirainen wrote: Dec 14 12:46:04 server01 postfix/pipe[1870]: 57489E913: to=us...@example.com, orig_to=us...@example.com, relay=dovecot, delay=1703, delays=1369/328/0/5.9, dsn=5.7.0, status=bounced (permission denied. Command output: Not enough disk

Re: [Dovecot] Auth Fails, But Can Still Get Mail

2009-12-15 Thread Asai
OK, thank you, Timo. Timo Sirainen wrote: On Tue, 2009-12-15 at 13:03 -0700, Asai wrote: I guess. Or something else running on localhost trying to log in as other users? What method would I use to debug this? Does Dovecot have a debug console? Does Squirrelmail log when

Re: [Dovecot] vpopmail/mysql/quota

2009-12-15 Thread Marty Diesburg
Yes, you're right, I was testing the other auth method. I took out all but the two sql entries for passdb and userdb, then re-tested with the same result. It authenticates fine, yet qmail holds delivery. I posted the log entry for the last client attempt after restarting dovecot. Thanks,

Re: [Dovecot] vpopmail/mysql/quota

2009-12-15 Thread Timo Sirainen
On Tue, 2009-12-15 at 15:04 -0600, Marty Diesburg wrote: Yes, you're right, I was testing the other auth method. I took out all but the two sql entries for passdb and userdb, then re-tested with the same result. It authenticates fine, yet qmail holds delivery. I posted the log entry for the

Re: [Dovecot] v2.0.beta1 released

2009-12-15 Thread Luca Corti
On Sun, 2009-12-13 at 22:12 -0500, Timo Sirainen wrote: http://dovecot.org/releases/2.0/beta/dovecot-2.0.beta1.tar.gz http://dovecot.org/releases/2.0/beta/dovecot-2.0.beta1.tar.gz.sig Testing this in low volume very simple setup and seems to work fine after a day. Configuration is just plain

Re: [Dovecot] v2.0.beta1 released

2009-12-15 Thread Pascal Volk
On 12/15/2009 10:31 PM Luca Corti wrote: … dovecot-2.0-managesieve does not even build though. I know this is not for you Timo, but here is the debug output anyway if anyone cares. … Making all in managesieve … managesieve-settings.c:30: warning: implicit declaration of function 'MEMBER'

[Dovecot] is there a way to trigger dovecot to update all users quota usage

2009-12-15 Thread ben
We are using the quota plugin and storing people's usage in the (mysql) db. We have some users that have some mail, but are not really receiving new mail, nor are they logging in to check mail, so they don't yet have a row in the quota table. Is there a way to cause dovecot to just generate

Re: [Dovecot] is there a way to trigger dovecot to update all users quota usage

2009-12-15 Thread Timo Sirainen
On Tue, 2009-12-15 at 14:01 -0800, b...@electricembers.net wrote: We are using the quota plugin and storing people's usage in the (mysql) db. We have some users that have some mail, but are not really receiving new mail, nor are they logging in to check mail, so they don't yet have a row

Re: [Dovecot] v2.0.beta1 released

2009-12-15 Thread Ed W
On 14/12/2009 03:12, Timo Sirainen wrote: Largest changes since alpha3: - if some IP address is failing authentications, all auth attempts from the IP are delayed increasingly. a successful auth drops the delay. max delay is 15 seconds. this is enforced by auth process, so it works across

Re: [Dovecot] v2.0.beta1 released

2009-12-15 Thread Timo Sirainen
On Wed, 2009-12-16 at 00:03 +, Ed W wrote: On 14/12/2009 03:12, Timo Sirainen wrote: Largest changes since alpha3: - if some IP address is failing authentications, all auth attempts from the IP are delayed increasingly. a successful auth drops the delay. max delay is 15 seconds.

[Dovecot] Dovecot 1.2.+

2009-12-15 Thread Tom Mihalicek
The Dovecot version is 1.2.8 and i am using an LDAP for a user database. The problem is following... i would like to use a quota dictionary backend from file rather than sql proxy for some reasons. Is it possible to get the full path for dovecot-quota file location from LDAP like from mail

Re: [Dovecot] Why dovecot does not want to read my acl file?

2009-12-15 Thread Lukas Haase
Hi Timo, Thank zou for your reply! Timo Sirainen schrieb: On Wed, 2009-12-16 at 00:24 +0900, Lukas Haase wrote: mail_drop_priv_before_exec = no #just to make sure no means it starts the process as root as root. I guess you meant to use yes. I know but I tried both in order to see if it

Re: [Dovecot] Dovecot Quota Configuration

2009-12-15 Thread Pattabi Prasanna
Hi, I edited the /etc/passwd file for one of user, but the quota is not taking effect for this user, the user is able to receive mails more than the quota allocated. testuser:x:515:516::/home/testuser:/bin/bash:userdb_quota_rule=*.bytes=3M My output of dovecot -n base_dir: /var/run/dovecot/

Re: [Dovecot] v2.0.beta1 released

2009-12-15 Thread Luca Corti
On 12/15/2009 10:48 PM, Pascal Volk wrote: There were a few API changes in the past. My ManageSieve installation is working so far. The necessary modifications are attached as patch. (But remember: There is no guarantee …) Thanks a lot Pascal for sharing the patch. I don't expect

Re: [Dovecot] v2.0.beta1 released

2009-12-15 Thread Pascal Volk
On 12/16/2009 04:15 AM Luca Corti wrote: … I patched and compiled fine, then added protocols = ... managesieve and service managesieve { inet_listener { port = 2000 } } Are you sure? Or was it: 'service managesieve-login {…}'? BTW: Use port 4190

Re: [Dovecot] Why dovecot does not want to read my acl file?

2009-12-15 Thread Lukas Haase
Hi again, I have some additional notes. Lukas Haase wrote: Timo Sirainen schrieb: [...] ACL_GROUPS=`groups $USER | tr ' ' ','` export ACL_GROUPS I don't think ACL_GROUPS is supported by Dovecot v1.0. I removed that part again and instead of using group=office I just enumerate all