Re: [Dovecot] Wrong MySQL sintax, I can't login

2010-08-30 Thread A.L.E.C
On 31.08.2010 08:42, Pablo wrote: > driver=mysql > connect = host=localhost dbname=postfix user=postfix password=xx > default_pass_scheme = CRYPT > password_query = SELECT password FROM mailbox WHERE username = '%u' > user_query = SELECT maildir, 1001 AS uid, 1001 AS gid FROM mailbox > WHERE u

[Dovecot] Wrong MySQL sintax, I can't login

2010-08-30 Thread Pablo
Hi guys: I can't login as a user: The output of mail.log: Aug 31 08:39:45 socrates dovecot: auth(default): client in: AUTH^I1^IPLAIN^Iservice=imap^Ilip=178.63.82.247^Irip=81.39.27.227^Ilport=143^Irport=33715^Iresp=AHBhYmxvLnJvZHJpZ3VlekBlc2N1ZWxhc3VwZXJpb3JkZWNvYWNoaW5nLmNvbQBwZXJpa2l0YS4= Aug 3

[Dovecot] permissions on auth-userdb

2010-08-30 Thread spamvoll
Hi.. im still trying to upgrade to 2.0. Im getting: dovecot: lda: Error: userdb lookup: connect(/var/run/dovecot/auth-userdb) failed: Permission denied (euid=1(vmail) egid=1(vmail) missing +r perm: /var/run/dovecot/auth-userdb, euid is not dir owner) the error is correct caus its owned by

Re: [Dovecot] Combining ManageSieve with hand-written scripts

2010-08-30 Thread Jason Bleazard
On Mon, 30 Aug 2010 13:15:43 -0400, Jason Bleazard wrote: > I thought I could do something like > sieve_before = ~/sieve/custom.sieve > > but that doesn't seem to work. Okay, I did a bit more reading and testing and figured it out. I hadn't previously noticed that %h also specifies the u

[Dovecot] Passdb filter question - LDAP.

2010-08-30 Thread Lauro Costa G. Borges
dovecot 1:1.2.9-1ubuntu6.1 I don't know if I can solve this problem with Dovecot, or if it's an LDAP matter. I'm authenticating users with saslauthd/LDAP, and using Dovecot LDA. dovecot.conf passdb ldap { args = /etc/dovecot/dovecot-ldap-passdb.conf } userdb prefetch {

[Dovecot] bogus fts percentage

2010-08-30 Thread Mike Abbott
Sometimes dovecot-2.0 sends this untagged response to clients: * OK Indexed -2147483648% of the mailbox, ETA 0:00 I imagine there's a bug in there somewhere.

Re: [Dovecot] Combining ManageSieve with hand-written scripts

2010-08-30 Thread fakessh
On Mon, 30 Aug 2010 13:15:43 -0400, Jason Bleazard wrote: > Hi, new to Dovecot, forgive me if I'm missing something basic... > > I'm trying to figure out if there's a way to use a couple of custom rules > alongside ManageSieve. Most of the time I like the ManageSieve interface > in Roundcube, bu

[Dovecot] NTLM authentication does not work

2010-08-30 Thread Alexander Cherniak
Dear Experts, I configured Samba, Kerberos, etc., can login to my CentOS using ADS account, but missing something in my Dovecot config. Windbind seems to work: [r...@acentos2 dovecot]# wbinfo -a wAlex%pass plaintext password authentication succeeded challenge/response password authentication s

[Dovecot] Lazy expunge plugin - delete folder result error.

2010-08-30 Thread Kui Zhang
Hello Is it a bug in lazy expunge plugin or am I missing something? Dovecot v2.0.1 (c5111fb65b0b) home = /mail/%Ld/%Ln mail_location = mdbox:/mail/%Ld/%Ln/mdbox sources.list - debian (squeeze) .. deb http://xi.rename-it.nl/debian testing-auto/dovecot-2.0 main Config changes - - - plugin { la

[Dovecot] Combining ManageSieve with hand-written scripts

2010-08-30 Thread Jason Bleazard
Hi, new to Dovecot, forgive me if I'm missing something basic... I'm trying to figure out if there's a way to use a couple of custom rules alongside ManageSieve. Most of the time I like the ManageSieve interface in Roundcube, but there's one rule that I can't get it to do the way I want (it's a

Re: [Dovecot] Different IPs should use different ssl-certs/keys

2010-08-30 Thread Mark Moseley
On Sun, Aug 29, 2010 at 3:07 PM, Peer Heinlein wrote: > > I don't understand how to use multiple keys/certs on different IPs > without SNI. > > http://wiki2.dovecot.org/SSL/DovecotConfiguration explains how to use > different keys for different protocols like POP3 and IMAP. > > But how to bind tho

Re: [Dovecot] doveadm expunge -A mailbox Trash savedbefore 30d

2010-08-30 Thread Jerrale G
On 8/30/2010 12:06 PM, e-frog wrote: On 30.08.2010 17:32, wrote Jerrale G: On 8/27/2010 11:25 AM, e-frog wrote: On 27.08.2010 17:16, wrote Jerrale G: In the shell: ,doveadm(root): Error: User listing returned failure,doveadm: Error: Failed to iterate through some users In the log: dovec

Re: [Dovecot] doveadm expunge -A mailbox Trash savedbefore 30d

2010-08-30 Thread e-frog
On 30.08.2010 17:32, wrote Jerrale G: > On 8/27/2010 11:25 AM, e-frog wrote: >> On 27.08.2010 17:16, wrote Jerrale G: >>> In the shell: >>> ,doveadm(root): Error: User listing returned failure,doveadm: Error: >>> Failed to iterate through some users >>> >>> In the log: >>> dovecot: auth: Error:

[Dovecot] [DC2.x ]pop3-login seg faults when compiled with gcc 4.5.2 and gold

2010-08-30 Thread interfaSys sàrl
Hello, On FreeBSD, Dovecot 2.0.1 compiles fine with gcc45 and the other services have no problem, but even without any optimizations (CFLAGS) at all, pop3-login seg faults when a user tries to connect to Dovecot using POP3. As this is not the only application that has a problem with the latest ve

[Dovecot] getdents() with 4KB buffer - seems slow (Maildir, large inbox)

2010-08-30 Thread Marinos Yannikos
Hi, I have a very large inbox (~146K mails) in Maildir format and dovecot seems to spend a lot of time rescanning the directory, especially when the server is loaded. I'm not sure whether this is triggered by Thunderbird or done regularly, but it takes longer when the server is loaded, so sometime

Re: [Dovecot] doveadm expunge -A mailbox Trash savedbefore 30d

2010-08-30 Thread Jerrale G
On 8/27/2010 11:25 AM, e-frog wrote: On 27.08.2010 17:16, wrote Jerrale G: In the shell: ,doveadm(root): Error: User listing returned failure,doveadm: Error: Failed to iterate through some users In the log: dovecot: auth: Error: sql: Iterate query failed: Table 'mail.users' doesn't exist (us

Re: [Dovecot] Dovecot dict process privileges

2010-08-30 Thread Jerrale G
On 8/20/2010 12:48 PM, Timo Sirainen wrote: On Fri, 2010-08-20 at 12:43 -0400, Jerrale G wrote: I had the same problem as you with 2.0; 1.2.x I couldn't get dict to work at all for an error in the code. Here is how I fixed 2.0 though: service dict { unix_listener dict { user = mail<<

[Dovecot] Running auth as root

2010-08-30 Thread Egbert Jan van den Bussche
Hi, I seem to be forced to run the auth proces as root because I want to use pam for local users. My gut feeling says that this is Not Good. Is there another way? For the virtual users 'vmail' is good enough because that user may access the MySQL database. This is on Ubuntu server 10.04.1 an

Re: [Dovecot] dovecot - mac firewall problem

2010-08-30 Thread Charles Marcus
On 2010-08-30 7:41 AM, Patrick Fay wrote: >> On 8/29/2010 8:51 PM, Patrick Fay wrote: >>> Aug 26 20:43:45 hostname Firewall[55]: Deny ^L connecting from >>> XX.XX.XX.XX:37310 uid = 0 proto=6 >>> Aug 26 20:43:53 hostname Firewall[55]: Deny ^H?^U???^Z connecting from >>> XX.XX.XX.XX:37310 uid =

Re: [Dovecot] dsync mirror duplicates problem

2010-08-30 Thread Waldemar W.
On Sat, 28 Aug 2010 17:58:38 +0200, "Waldemar W." wrote: > Im trying to sync 2 mailserver with dsync mirror functionality. > > Problem occurs when mails arrive in the same folder on both sides > then dsync sometimes runs into problems > and duplicates that entrys on both side(2mails then with sam

Re: [Dovecot] dovecot - mac firewall problem

2010-08-30 Thread Patrick Fay
> On 8/29/2010 8:51 PM, Patrick Fay wrote: >> Aug 26 20:43:45 hostname Firewall[55]: Deny ^L connecting from >> XX.XX.XX.XX:37310 uid = 0 proto=6 >> Aug 26 20:43:53 hostname Firewall[55]: Deny ^H?^U???^Z connecting from >> XX.XX.XX.XX:37310 uid = 0 proto=6 >> >> Both of these are dovecot hits-

[Dovecot] auth: Fatal: Unknown passdb driver 'mysql'

2010-08-30 Thread Vaidas Jablonskis
Hi People, I am setting up a new dovecot server for testing first prior production upgrade from 1.2.x to 2.0.x. I used the RPMs from ATrpms: dovecot-2.0.0-1_117.el5.x86_64.rpm The errors I am getting: - Aug 27 18:15:29 testbox dovecot: auth: Debug: Loading modules fr