Re: [Dovecot] Is replication broken?

2014-03-13 Thread IT geek 31
Oh agreed.  I assumed that to be what he meant :-)

I'll have a hunt for a numpties guide for migrating from mbox to mdbox.

I found this:

http://wiki2.dovecot.org/Migration/MailFormat

But I think that is hinting at going mbox ---> Maildir ---> mdbox.  Not
ideal.


-Mark




On 13 March 2014 16:11, Charles Marcus  wrote:

> On 3/13/2014 10:55 AM, IT geek 31  wrote:
>
>> Timo wrote this last month:
>>
>> mbox format + dsync replication apparently doesn't work because of lock
>> ordering issues. Might not be easy to fix, or in any case it's pretty low
>> priority for me for now.
>>
>> Sorry for "bumping the subject" again but is there any chance this has
>> moved up the priority list?
>>
>> I don't know if anyone else feels the same... but replication is number
>> one
>> on our Christmas wish list right now :-)
>>
>
> I think Timo's point is the fact that this is strictly mbox related.
>
> Maybe switch to mdbox is an option?
>
> --
>
> Best regards,
>
> Charles
>


Re: [Dovecot] possible quota bug ?

2014-03-13 Thread Laurent Papier
Le Sun, 09 Feb 2014 15:32:48 -0200
fernando.fig...@uol.com.br écrit:

Hi,
no solution just a confirmation of the bug. lz4 compression here.

Clean maildir directory generated with 'doveadm backup'. So S=..,W=.. are 
correct.

Moving this mail file from inbox to trash:
-rw--- 1 maildir maildir 5165 Mar 13 17:01 
1394726488.M954102P27201.dev-nc-pxe.sdv.fr,S=7590,W=7640:2,Sa

# cat maildirsize 
12582910S,30C
108394 10
5165 1
-7590 -1

> Hi Timo,
>  
> I'm posting more info about this issue:
> 
> Sent a message from gmail, delivered via lmtp/lda/sieve
> 
> -rw--- 1 vmail vmail 1187 Feb  9 15:14 
> 1391966051.M730051P32575.LAB-STO-V-01,S=2392,W=2440
> 
> The message was compressed (gz)
> 
> Maildirsize:
> 1073741824S
> 51505 31
> 2392 1
> 
> Move message from INBOX to TRASH
> 
> Feb  9 15:15:45 LAB-LMB-V-01 dovecot: imap(xxx): copy from INBOX: 
> box=INBOX.Trash, uid=27, 
> msgid=, 
> size=1187
> Feb  9 15:15:45 LAB-LMB-V-01 dovecot: imap(xxx): expunge: box=INBOX, uid=32, 
> msgid=, 
> size=2392
> 
> Maildirsize:
> 1073741824S
> 51505 31
> 2392 1
> 1187 1
> -2392 -1
>  
> 


-- 
Laurent Papier - 03 88 75 80 50
Resp. système - SdV Plurimedia - 


[Dovecot] Patch & feature request: hide passwords in doveconf -n by default

2014-03-13 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

attached patch tries to hide any setting that ends in _password (singular) 
in the output of doveconf by default.


doveconf -n
- -> passwords replaced by ""
to prevent information leak when submitting bug reports

doveconf -n -P
- -> passwords visible
when used by admins locally

doveconf -n -P -P
- -> setting itself is not shown
to even hide that a password is set in the config

Warning: doveconf is used by internal programs as well, maybe they won't 
after the patch. Timo should check out the idea.
The passwords are left alone currently, if one queries one setting and if 
the values are saved to environment.


Kind regards,

- -- 
Steffen Kaiser

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUyHQ0nD1/YhP6VMHAQIYkwf/aeiT4MMERJr1abZIHPv5zjvgHlyixwfM
huFD2CzbhWUoUlE4auAxUVDP+l/s7jlQzZ04y4vt2BdMauMUDSg8ZcFWxSkj+Veg
ZDjTVSP/v386ihH0TlGWXsVp1hCvzJUgylpQYbFwCJ3b58xs7p+8wb2l2Ngj/TTp
kmtl8mJ2Z5+MBJqz4IBxye7RXkTndHMC18EjVHxNkIIJ8kEUn7tbs0eljudZXSPD
q2gsG0PzvGTOUkuWWvWLVP4nTXBKMIffxX2SDNHmb1gHNV05zL8b5uth3PxUA7d6
NpXsnGHxCfOGf3FPbaTlGPfVpIX5IdTxZTRXHe++tDdlonZInM7V/g==
=73ZJ
-END PGP SIGNATURE-

dovecot_conf_hidepwd.diff.bz2
Description: Binary data


Re: [Dovecot] Is replication broken?

2014-03-13 Thread Charles Marcus

On 3/13/2014 10:55 AM, IT geek 31  wrote:

Timo wrote this last month:

mbox format + dsync replication apparently doesn't work because of lock
ordering issues. Might not be easy to fix, or in any case it's pretty low
priority for me for now.

Sorry for "bumping the subject" again but is there any chance this has
moved up the priority list?

I don't know if anyone else feels the same... but replication is number one
on our Christmas wish list right now :-)


I think Timo's point is the fact that this is strictly mbox related.

Maybe switch to mdbox is an option?

--

Best regards,

Charles


Re: [Dovecot] Is replication broken?

2014-03-13 Thread IT geek 31
Timo wrote this last month:

mbox format + dsync replication apparently doesn't work because of lock
ordering issues. Might not be easy to fix, or in any case it's pretty low
priority for me for now.

Sorry for "bumping the subject" again but is there any chance this has
moved up the priority list?

I don't know if anyone else feels the same... but replication is number one
on our Christmas wish list right now :-)


-Mark


On 30 January 2014 15:02, Steffen Kaiser wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Thu, 30 Jan 2014, IT geek 31 wrote:
>
>  Here are the errors on the remote server (the last two are a different
>> mailbox!):
>>
>> Jan 30 13:25:16 Server2 dovecot: dsync-server(MailUser1): Panic: file
>> mbox-lock.c: line 799 (mbox_lock): assertion failed: (lock_type == F_RDLCK
>> || mbox->mbox_lock_type != F_RDLCK)
>>
>> Jan 30 13:25:16 Server2 dovecot: dsync-server(MailUser1): Fatal: master:
>> service(doveadm): child 26627 killed with signal 6 (core not dumped - set
>> service doveadm { drop_priv_before_exec=yes })
>>
>
> follow the advice, set ulimit -c unlimited, get a core dump, then
>
> gdb /usr/.../binary core
> bt full
>
> post the output and use some subject line, e.g.
> dsync-server(MailUser1): Panic: file mbox-lock.c: line 799 with coredump
> to get Timos attension, that you have information for the panic.
>
>  Any help is appreciated.
>>
>
> provide Timo any information about the core dump, give it an useful title,
> e.g. "BUG Panic: file mbox-lock.c: with backtrace" to catch his attention
> during his busy phases of work. Bumping the subject is not useful.
>
> I found only this: http://thr3ads.net/dovecot/
> 2013/05/2645571-dsync-assert-failure-in-2.2.2 which says "Appears to work
> properly again in 2.2.4.".
>
>  On 30 January 2014 14:29, Steffen Kaiser > >wrote:
>>
>>  -BEGIN PGP SIGNED MESSAGE-
>>> Hash: SHA1
>>>
>>> On Thu, 30 Jan 2014, IT geek 31 wrote:
>>>
>>>  On 30 January 2014 12:52, Steffen Kaiser >>
 wrote:
>

  On Thu, 30 Jan 2014, IT geek 31 wrote:

>
>  Apologies for this being my 248th post about replication...
>
>
>> The current error I'm getting is:
>>
>> Jan 30 12:10:54 Server1 dovecot: dsync-local(MailUser1): Error: dsync(
>> Server2.test.com): read() failed: read((fd)) failed: Connection reset
>> by
>> peer
>>
>>
>>  this is a generic network error:
> http://stackoverflow.com/questions/1434451/what-does-
> connection-reset-by-peer-mean
>
> The other side of the communication channel closed the connection. It
> also
> does not neccessarily mean that other end point did it, but it could
> be a
> firewall, router, whatever in between as well.
>
>  Do you know why I am now getting:
>


 Jan 30 12:50:43 Server1 dovecot: dsync-local(MailUser1): Error: read(
 Server2.test.com) failed: EOF


>>> First you get "Connection reset by peer", the system closes the file
>>> descriptot, Dovecot reads further from the handle and gets EOF. It's a
>>> subsequent error, IMHO.
>>>
>>> - -- Steffen Kaiser
>>> -BEGIN PGP SIGNATURE-
>>> Version: GnuPG v1.4.11 (GNU/Linux)
>>>
>>> iQEVAwUBUupTvXD1/YhP6VMHAQJxAggAyeX8kLK1AaoTsGPzIFfVW9GZKKF/eMpT
>>> kgzL1UlY86ht0N3c2mvcOLBqjV15QSjNLaAV7wN4wPflMeescLScPUga21hrKKJV
>>> 077T8ggLZE8Du6qTrkGej48/g6SdE/ZuyKiG/h/7s9OcdHJXHSIaqzVL7i+SNRmp
>>> g0lo2n0axIk9M1mLLHw3SbbKEN1kDcrOGtdqh2Pl2wohLWNTJ+ZN1YpcBzJgOlq2
>>> hIQeuVqvUXHLP8/S7CFngPVeZM+Kxr12HpOOt95/eqf4VEhyF1C1KXFVUXMbGkfX
>>> +6bifTBkoGIzwznGHOIsigmJWrk9a7RM0rk5stFLvyGfdjxyN0VYCg==
>>> =HOzr
>>> -END PGP SIGNATURE-
>>>
>>>
>>
> - -- Steffen Kaiser
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.11 (GNU/Linux)
>
> iQEVAwUBUupbcXD1/YhP6VMHAQIPvwgAt/vLcy5rW9CuUIWuePrK4X3lr9930YM4
> A1gs57G++lLEWkJAYN5uxQ/rODbluAq+7yXfR6HUoeOQu+ZCuxIjSnG5Dqo9iwYE
> eJudAOs7oJIEBASfv3EaYtCCh44M8sZ6u+Y0+VFnNUbpqmr2hQn+OL67srsqnCFQ
> J3xFEHFvdyLK8QrIhtMucSYh6KwmmPjKRNCy6/L71aq7ZCEfG0UR55gnv7XQ/BDF
> kfTaC1pRUcZImO2WyTDwD8jXFjIhoH5bBiEbh7z2EKoKborpLK/hnSSpLvfhBZwf
> A09Ep4fXP/wFmXuDsbrWyc4BZVl1a76Nq21IOPtTL5foP8SjALQHRg==
> =PxdB
> -END PGP SIGNATURE-
>


[Dovecot] quota is exceeded during send mail

2014-03-13 Thread pgala
Hi,

i try configure qouta plugin in dovecot. If i want sent mail to user with
full mailbox all is ok, messege is reject. But if i want sent mail from user
with full mailbox then messege is delivery and save to sent folder so quota
is unlimited in this case.

my dovecot.conf

# 2.2.9: /usr/local/etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-358.el6.x86_64 x86_64 CentOS release 6.4 (Final) ext4
auth_mechanisms = plain login
dict {
  quotadict = mysql:/usr/local/etc/dovecot/dovecot-dict-quota.conf
}
disable_plaintext_auth = no
first_valid_gid = 12
first_valid_uid = 101
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
lmtp_save_to_detail_mailbox = yes
mail_location = maildir:/home/vmail/%d/%n
mail_plugins = quota
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags
copy include variables body enotify environment mailbox date ihave
passdb {
  args = /usr/local/etc/dovecot/dovecot-mysql.conf
  driver = sql
}
plugin {
  acl = vfile:/usr/local/etc/dovecot/acls
  quota = dict:user::proxy::quotadict
  quota_exceeded_message = Quota exceeded.
  quota_grace = 10MB
  trash = /usr/local/etc/dovecot/trash.conf
}
protocols = imap pop3 lmtp sieve
service auth {
  unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0666
user = postfix
  }
  unix_listener auth-userdb {
group = mail
mode = 0666
user = vmail
  }
}
service dict {
  unix_listener dict {
group = mail
mode = 0666
user = vmail
  }
}
service imap-login {
  inet_listener imap {
port = 143
  }
  inet_listener imaps {
port = 993
ssl = yes
  }
}
service imap {
  vsz_limit = 256 M
}
service managesieve-login {
  inet_listener sieve {
port = 4190
  }
  process_min_avail = 0
  service_count = 1
  vsz_limit = 64 M
}
service pop3-login {
  inet_listener pop3 {
port = 110
  }
  inet_listener pop3s {
port = 995
ssl = yes
  }
}
ssl_cert = http://dovecot.2317879.n4.nabble.com/quota-is-exceeded-during-send-mail-tp47149.html
Sent from the Dovecot mailing list archive at Nabble.com.


Re: [Dovecot] Mail server input error: UPDATE-SESSION

2014-03-13 Thread Stéphane Cottin
More info, may be related to antispam plugin 

imap(x...@xyz.xyz): Error: Cached message size smaller than expected (4293 < 
8192)
imap(x...@xyz.xyz): Error: Corrupted index cache file 
/xyz/Maildir/.Junk/dovecot.index.cache: Broken physical size for mail UID 0
imap(x...@xyz.xyz): Error: 
read(zlib(/xyz/Maildir/.Junk/tmp/1394709643.M419216P12667.xyz)) failed: Invalid 
argument (uid=0)


Le 12 mars 2014 à 18:51, Stéphane Cottin  a écrit :

> Hello,
> 
> After upgrading to 2.2.12 and adding stats plugin, got a lot of errors like 
> this : 
> stats: Error: Mail server input error: UPDATE-SESSION x...@xyz.xyz imap: 
> stats shrank: mcache 900988905 < 1039472051
> 
> Stéphane
> 
> 
> 
> 


[Dovecot] quota using wrong limits in user shared mailboxes

2014-03-13 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I have setup a shared namespace to expose user's mailboxes to other users. 
That works well. Via ACLs users can access other users mailboxes.


I have setup a quota for each user, that works well, too. The quota is 
tracked and new messages are denied, if the quota is exceeded. I do not 
find hints, if you need to setup something special for shared namespaces.
http://wiki2.dovecot.org/Quota/Configuration shows how to track the quota 
and http://wiki2.dovecot.org/SharedMailboxes/Shared shows how to setup 
the namespace and ACL.


If user1 shares "mailbox" to user2 and user2 copies a message there, the 
quota is tracked in the quota of user1 correctly.


But to calculate if

* LOGIN user2
...
* COPY 1 users.user1.mailbox

fails with overquota or succeed, the quota limit of user2 is used instead 
of the quota of user1, whom "mailbox" belongs to.


I have tested it with
a. limit(user2) < limit(user1)
b. quota(user1) + sizeof(message) < limit(user1)
if quota(user1) + sizeof(message) > limit(user2), COPY fails with 
overquota. If I raise the quota of user2, the COPY succeeds.


That means, although the target user's quota is not exceeded and won't 
after the copy, COPY fails. That seems to be wrong for me.


The same will apply to the other way round, I guess: If the target user is 
over quota, but copying user's quota limit is greater than that, the COPY 
succeeds. [I have not tested it.] Hence, if you enable sharing, you 
undermine quota, because the other user can copy messages into a mailbox 
of an user overquota.


Does other people see the same issue?

My config:
# 2.2.10 (5432b55a2b87): /usr/local/dovecot-2.2.10/etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-5-amd64 x86_64 Debian 6.0.9 
auth_cache_size = 30 M

auth_mechanisms = plain login
auth_verbose = yes
auth_worker_max_count = 100
base_dir = /var/run/dovecot2.2/
default_vsz_limit = 512 M
deliver_log_format = msgid=%m: %$ %p/%w "%f" "%s"
dict {
  acl = pgsql:/usr/local/dovecot-2.2.10/etc/dovecot/dovecot-dict-sql.conf.ext
  quota = pgsql:/usr/local/dovecot-2.2.10/etc/dovecot/dovecot-dict-sql.conf.ext
}
disable_plaintext_auth = no
instance_name = dovecot2.2
lda_mailbox_autocreate = yes
lmtp_save_to_detail_mailbox = yes
log_path = /var/log/dovecot/dovecot2.2.log
log_timestamp = "%F %H:%M:%S "
mail_gid = vmail
mail_log_prefix = "%Us(%u) [%p]: "
mail_max_userip_connections = 0
mail_plugins = " quota notify mail_log zlib acl stats"
mail_shared_explicit_inbox = yes
mail_uid = vmail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character 
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy 
include variables body enotify environment mailbox date ihave imapflags
namespace {
  list = children
  location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u
  prefix = users.%%u.
  separator = .
  type = shared
}
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
special_use = \Drafts
  }
  mailbox Junk {
special_use = \Junk
  }
  mailbox Sent {
special_use = \Sent
  }
  mailbox "Sent Messages" {
special_use = \Sent
  }
  mailbox Trash {
special_use = \Trash
  }
  prefix = 
}

passdb {
  args = /usr/local/dovecot-2.2.10/etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
plugin {
  acl = vfile
  acl_shared_dict = proxy::acl
  antispam_allow_append_to_spam = yes
  antispam_backend = spool2dir
  antispam_spam = SPAM+ReportAsSPAM
  antispam_spool2dir_notspam = /tmp/spamspool/%%020lu-%%05lu-%u-H
  antispam_spool2dir_spam = /tmp/spamspool/%%020lu-%%05lu-%u-S
  antispam_trash = trash;TRASH;Trash;spam;SPAM;Spam;junk;JUNK;Junk;Deleted 
Items;Deleted Messages;Gel&APY-schte Elemente;Gel&APY-schte Objekte;Junk 
E-mail;Junk-E-Mail;INBOX.Trash;INBOX.TRASH;INBOX.trash
  mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
  mail_log_fields = uid box msgid size vsize from subject
  quota = dict:User quota::proxy::quota
  quota_rule = *:storage=300MB
  quota_rule2 = Trash:storage=+30M
  recipient_delimiter = +
  sieve = ~/.dovecot.sieve
  sieve_dir = ~/sieve
  sieve_extensions = +imapflags
  sieve_max_actions = 0
  sieve_quota_max_storage = 3M
  stats_command_min_time = 1 mins
  stats_domain_min_time = 12 hours
  stats_ip_min_time = 12 hours
  stats_memory_limit = 128 M
  stats_refresh = 30 secs
  stats_session_min_time = 15 mins
  stats_track_cmds = yes
  stats_user_min_time = 1 hours
}
postmaster_address = postmas...@inf.h-brs.de
protocols = imap pop3 lmtp sieve
quota_full_tempfail = yes
service auth {
  unix_listener auth-client {
mode = 0766
  }
  unix_listener auth-userdb {
mode = 0766
user = vmail
  }
}
service dict {
  unix_listener dict {
group = vmail
mode = 0660
user = vmail
  }
}
service doveadm {
  unix_listener doveadm-server {
mode = 0666
  }
}
service imap-login {
  process_min_avail = 4
  service_count = 0
  vsz_limit = 768 M
}
service imap {
  process

Re: [Dovecot] FTS solr : body search gives mysql error

2014-03-13 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 13 Mar 2014, Alexandre Ellert wrote:


I've recently setup FTS solr plugin, following 
http://wiki2.dovecot.org/Plugins/FTS/Solr,  and I have this error in logs when 
I do a body search :

Mar 13 01:46:40 mut-mx-1 dovecot: auth-worker(5808): Warning: mysql: Query 
failed, retrying: Unknown column 'disableindexer' in 'where clause'
Mar 13 01:46:40 mut-mx-1 dovecot: auth-worker(5808): Error: 
sql(u...@domain.com): User query failed: Unknown column 'disableindexer' in 
'where clause'
Mar 13 01:46:40 mut-mx-1 dovecot: indexer-worker: Error: user u...@domain.com: 
Auth USER lookup failed
Mar 13 01:46:40 mut-mx-1 dovecot: indexer-worker: Error: User u...@domain.com 
lookup failed: Internal error occurred. Refer to server log for more 
information.
Mar 13 01:46:40 mut-mx-1 dovecot: imap(u...@domain.com): Error: indexer failed 
to index mailbox INBOX

Anyway, the search result seems good. Should I worry about this error or is 
there other thing I should do (i.e modify mysql schema) ?

I'm using mysql as a backend to store users and password.
According to the documentation, I just added this block of configuration 
(please tell me if need full doveconf -n) :


We always do and include any additional conf files with mysql queries.

- -- 
Steffen Kaiser

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUyF19XD1/YhP6VMHAQIWiwgAzY3ZdKczZu6Mvsq/6zUdX1uhnyiptHaN
0l8NHG8cJxj1gvEAptMAstwsaIga6KbAq9XrwB2Np2H3E+LQ96C9hBeAmA6NDFAM
oifUwi5nzjxYYDIO0TESxhgLCOlLxNbelIcJ+JLPk1uhM4mcHEuhJfJ/FRcwcwTN
PaCyZ8k/bW9HyfyM7+YB9GNCQkLCkz8SuSzifqX2IucTAds24UefB440v1Z/dbjF
0YbheR9QlWc/87/Nzbzid3QB0yebcsBHmKd/u1bQp7A/woYtWum+iKXjlP4Cz5rh
HU5vDzLg/GC5IW5DXs/qFJZ9CJac+V4I6zLWn7acAkJRJg3sIlNo8w==
=D/3o
-END PGP SIGNATURE-


[Dovecot] FTS solr : body search gives mysql error

2014-03-13 Thread Alexandre Ellert
Hello,

I've recently setup FTS solr plugin, following 
http://wiki2.dovecot.org/Plugins/FTS/Solr,  and I have this error in logs when 
I do a body search :

Mar 13 01:46:40 mut-mx-1 dovecot: auth-worker(5808): Warning: mysql: Query 
failed, retrying: Unknown column 'disableindexer' in 'where clause'
Mar 13 01:46:40 mut-mx-1 dovecot: auth-worker(5808): Error: 
sql(u...@domain.com): User query failed: Unknown column 'disableindexer' in 
'where clause'
Mar 13 01:46:40 mut-mx-1 dovecot: indexer-worker: Error: user u...@domain.com: 
Auth USER lookup failed
Mar 13 01:46:40 mut-mx-1 dovecot: indexer-worker: Error: User u...@domain.com 
lookup failed: Internal error occurred. Refer to server log for more 
information.
Mar 13 01:46:40 mut-mx-1 dovecot: imap(u...@domain.com): Error: indexer failed 
to index mailbox INBOX

Anyway, the search result seems good. Should I worry about this error or is 
there other thing I should do (i.e modify mysql schema) ?

I'm using mysql as a backend to store users and password.
According to the documentation, I just added this block of configuration 
(please tell me if need full doveconf -n) :

mail_plugins = fts fts_solr [ my other plugins ]
plugin {
  fts = solr
  fts_solr = url=http://127.0.0.1:8080/solr/
}

Versions :
OS : Debian 7
dovecot : 2.2.12 (from dovecot-ee repo)
solr : 3.6.0 (from distrib repo)

Other recommendations and feedback about using solr FTS in production would be 
greatly appreciated.
Many thanks.

Alexandre


Re: [Dovecot] Connection refused userdb lookup ..dovecot/auth-userdb

2014-03-13 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 13 Mar 2014, Simon wrote:


Ive taken a look at this and cant quite figure out what is going on here. I 
have tested all the SQL permissions, and also changed the unix_listener 
auth-userdb mode to 0666 (as instructed elsewhere to try and solve this issue), 
but cannot seem to work out what the issue is.


what happens if you connect to that socket manually, e.g.:

# sudo -u  socat - UNIX:/usr/local/dovecot/var/run/dovecot/auth-userdb
VERSION 1   1
SPID1746

Maybe first try as root, then with the partucular users.

- -- 
Steffen Kaiser

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUyFkvnD1/YhP6VMHAQJvbwgA2qSvbTK1VnJqTU4ULEhdv7dwzNBpUncL
NJoqJLZRFcLNfiGo8XlX+8yOFWUX7P/7iXArqqMylJVMFheBDFQyALDPw02TqSs3
RuQEpvDFHXkCnJlHqbrkOtLIoGcrWu7OBf1N1zsxHPloGyOymDAEZD2jZvEwUUVO
p2tK7VOmp9v/V1cczNkt+ANDTvUAdgy9smrtBsJOr6/SmWOWtoOUzGvagJlDOklj
2juIhMpIVfNDEWBmDBIy/52uOZGJ+KGx93JktLnyGLq1mSkV2JSCunrQdduxyBuB
iOfgkpwEEuWs9x2HK5bLm1Wv14i2XJTplMkNEvhcSrM89D1Rctjl1Q==
=HUSS
-END PGP SIGNATURE-