Re: [Dovecot] dovecot is working, sort of

2013-08-15 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 15 Aug 2013, LuKreme wrote: Him. I did put userdb { driver = static args = uid=vpopmail gid=postfix } into dovecot.conf, but that's made no difference er, what do you want to do? first you write: userdb { driver = passwd } userdb

Re: [Dovecot] Maildirmake equiv?

2013-08-15 Thread Rob Sterenborg (lists)
On 08/16/2013 06:53 AM, LuKreme wrote: Since I am using dovecot I do not have courier installed, but Courier had a very handy tool for making maildir folders called `maildirmake` which I used in some automated backup scripts. How do I duplicate maildirmake in dovecot? Dovecot can autocreate m

Re: [Dovecot] Nee assistance with migrating/copying a virtual user's maildir to another virtual user

2013-08-15 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 15 Aug 2013, David Varela wrote: I am trying to move/copy a virtual user's maildir to another virtual user but am running into problems with dsync and doveadm. I'm trying to move the maildir of a user who is no longer with the company to a

Re: [Dovecot] Maildirmake equiv?

2013-08-15 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 15 Aug 2013, LuKreme wrote: Since I am using dovecot I do not have courier installed, but Courier had a very handy tool for making maildir folders called `maildirmake` which I used in some automated backup scripts. How do I duplicate maild

[Dovecot] Maildirmake equiv?

2013-08-15 Thread LuKreme
Since I am using dovecot I do not have courier installed, but Courier had a very handy tool for making maildir folders called `maildirmake` which I used in some automated backup scripts. How do I duplicate maildirmake in dovecot? for example: #!/bin/bash # v1.2a Testing for new dovecot install

Re: [Dovecot] lda and home directory

2013-08-15 Thread Bob Miller
Hi Rick, > I had/have the same issue. In Dovecot 1.x I was able to use LDA with > vpopmail and only environment variables to deliver to a home directory. I > was never able to get it to work with Dovecot 2.x - don't know if using > environment variables is depricated, but I ended up having to s

[Dovecot] dovecot solr position index

2013-08-15 Thread duonut
Hi I am currently running dovecot 2.2.5 and solr 4.4.0 I am using the pre supplied schema.xml with dovecot with a single change f field type from test to text_general to get it running. When I do a multi word search in a mailbox, solr complains that a position index has not been built, throws a

Re: [Dovecot] Couldn't drop privileges

2013-08-15 Thread LuKreme
On 15 Aug 2013, at 14:37 , LuKreme wrote: > /home/user/Maildir, otoh, is correct. > > Should I simply mkdir a Maildir for every user and move everything into it? While that works, of course new mail uses the path from the sql database and puts mail into /usr/local/virtual/u...@example.com/ne

Re: [Dovecot] IMAP Proxying and SSL Certificates on OpenBSD

2013-08-15 Thread Reindl Harald
Am 15.08.2013 23:43, schrieb d...@quantentunnel.de: > Sorry, seem to have missed that ... It's working now. Still any ideas on the > SSL thing? > > STARTLS is not available and dovecot have you configured ssl? > is not listening on 993 has nothiung to do with STARTTLS > There is no info i

Re: [Dovecot] IMAP Proxying and SSL Certificates on OpenBSD

2013-08-15 Thread dago
Thank you..   Sorry, seem to have missed that ... It's working now. Still any ideas on the SSL thing?    STARTLS is not available and dovecot is not listening on 993. There is no info in the logs, even with verbose_ssl ... Certificates are working in postfix ...   Thanks in advance!   Best regard

Re: [Dovecot] Couldn't drop privileges

2013-08-15 Thread LuKreme
On 15 Aug 2013, at 14:28 , LuKreme wrote: > but still having issues with blank mailboxes on the virtual users. OK, I am having blank mailboxes because dovecot is adding Maildir to the home for the virtual users: Debug: maildir++: root=/usr/local/virtual/lists@*munged*//Maildir, The correct d

Re: [Dovecot] Couldn't drop privileges

2013-08-15 Thread LuKreme
On 15 Aug 2013, at 14:18 , LuKreme wrote: > user_query = select 89 as uid, 125 as gid, '/usr/local/virtual/' as home, > concat('/usr/local/virtual/', maildir) from mailbox where username = '%u' user_query = select 89 as uid, 125 as gid, concat('/usr/local/virtual/', maildir) as home from mail

Re: [Dovecot] Couldn't drop privileges

2013-08-15 Thread LuKreme
On 15 Aug 2013, at 13:38 , LuKreme wrote: > select 89 as uid, 125 as gid, concat('/usr/local/virtual/', maildir) from > mailbox where username = '%u' user_query = select 89 as uid, 125 as gid, '/usr/local/virtual/' as home, concat('/usr/local/virtual/', maildir) from mailbox where username =

Re: [Dovecot] lda and home directory

2013-08-15 Thread Rick Romero
Quoting Bob Miller : Hello, I am using qmail and lda configured such that lda should not have to do a lookup for delivery.  I set my defaultdelivery like so: |HOME=/home/mail/$USER /var/qmail/bin/preline -f /usr/local/libexec/dovecot/dovecot-lda Given that the email address being delivered t

Re: [Dovecot] Error: dict client sent broken reply

2013-08-15 Thread Gedalya
On 08/15/2013 04:00 PM, Timo Sirainen wrote: On 15.8.2013, at 22.58, Gedalya wrote: On 08/05/2013 01:54 PM, Timo Sirainen wrote: There are a few fixes in lib-dict since v2.1.12. Also v2.2 has one more fix, which I just added to v2.1 hg. Would be helpful to know if one of those fixes the pro

Re: [Dovecot] IMAP Proxying and SSL Certificates on OpenBSD

2013-08-15 Thread Timo Sirainen
On 15.8.2013, at 20.23, d...@quantentunnel.de wrote: > dovecot: imap(username): Error: user username: Initialization failed: > Initializing mail storage from mail_location setting failed: imapc: missing > imapc_password .. > passdb { > args = /etc/dovecot/dovecot-ldap.conf > default_fields =

[Dovecot] lda and home directory

2013-08-15 Thread Bob Miller
Hello, I am using qmail and lda configured such that lda should not have to do a lookup for delivery. I set my defaultdelivery like so: |HOME=/home/mail/$USER /var/qmail/bin/preline -f /usr/local/libexec/dovecot/dovecot-lda Given that the email address being delivered to is bob.mil...@computeri

Re: [Dovecot] Couldn't drop privileges

2013-08-15 Thread Timo Sirainen
On 15.8.2013, at 22.38, LuKreme wrote: > select 89 as uid, 125 as gid, concat('/usr/local/virtual/', maildir) from > mailbox where username = '%u' concat('/usr/local/virtual/', maildir) as home from .. > Aug 15 13:34:05 imap(lists@*munged*): Error: user lists@*munged*: > Initialization failed

Re: [Dovecot] Error: dict client sent broken reply

2013-08-15 Thread Timo Sirainen
On 15.8.2013, at 22.58, Gedalya wrote: > On 08/05/2013 01:54 PM, Timo Sirainen wrote: >> There are a few fixes in lib-dict since v2.1.12. Also v2.2 has one more fix, >> which I just added to v2.1 hg. Would be helpful to know if one of those >> fixes the problem before I spend a lot of time test

Re: [Dovecot] Error: dict client sent broken reply

2013-08-15 Thread Gedalya
On 08/05/2013 01:54 PM, Timo Sirainen wrote: There are a few fixes in lib-dict since v2.1.12. Also v2.2 has one more fix, which I just added to v2.1 hg. Would be helpful to know if one of those fixes the problem before I spend a lot of time testing this.. Timo, can you provide any hints on how

Re: [Dovecot] Couldn't drop privileges

2013-08-15 Thread LuKreme
On 15 Aug 2013, at 13:26 , LuKreme wrote: > What is not shown is the full path to the maildir, just the maildir value > returned from the sql query. It really really looks like this should be > working and like the > > userdb { > driver = static > args = uid=vpopmail gid=postfix home=/usr/

Re: [Dovecot] Couldn't drop privileges

2013-08-15 Thread LuKreme
On 15 Aug 2013, at 11:29 , LuKreme wrote: > attempts to login result in: > > dovecot: imap-login: Login: user=, method=PLAIN, > rip=ip.xx.yy.zz, lip=75.148.117.91, mpid=75104, TLS, > session= > dovecot: imap(lists@*munged*): Error: user lists@*munged*: Couldn't drop > privileges: User is mis

Re: [Dovecot] Sieve-storage: couldn't find storage root directory

2013-08-15 Thread Asai
For some reason, this error has disappeared. Maybe I forgot to restart Dovecot or something after I changed the config. --Asai On 8/12/13 11:56 AM, Timo Sirainen wrote: On 12.8.2013, at 18.16, Asai wrote: Using Dovecot 2.2.4. In my DSync logs, I'm getting the error message: Error: sieve-

[Dovecot] Couldn't drop privileges

2013-08-15 Thread LuKreme
attempts to login result in: dovecot: imap-login: Login: user=, method=PLAIN, rip=ip.xx.yy.zz, lip=75.148.117.91, mpid=75104, TLS, session= dovecot: imap(lists@*munged*): Error: user lists@*munged*: Couldn't drop privileges: User is missing UID (see mail_uid setting) dovecot: imap(lists@*munged*

[Dovecot] IMAP Proxying and SSL Certificates on OpenBSD

2013-08-15 Thread dago
Hi list,   I am currently trying to configure dovecot to act as a imap proxy in front of a Groupwise server. Because of a policy no services of the gw server may be directly served to the web. So currently this is only a security measure. Dovecot was previously used for providing sasl-auth capa

Re: [Dovecot] dovecot is working, sort of

2013-08-15 Thread LuKreme
On 15 Aug 2013, at 04:32 , Rob Sterenborg (lists) wrote: > userdb { > driver = static > args = uid=vmail gid=vmail home=/var/mail/virtual/%d/%n > } > > I guess you should be able to adapt this to your SQL config. Him. I did put userdb { driver = static args = uid=vpopmail gid=postfix }

[Dovecot] Quota to use limits from LDAP and usage from FS

2013-08-15 Thread Frank Steinberg
Hi, I'm new to Dovecot (switching from Cyrus). I'm using Dovecot 2.1.7 from Ubuntu 13.04. Maildir data is stored on a Linux ext4 filesystem with quotas. I would like to use mail quota in a way, so that the usage values are taken from the filesystem's quota system by the "fs" backend, while the

[Dovecot] Nee assistance with migrating/copying a virtual user's maildir to another virtual user

2013-08-15 Thread David Varela
Hello, I am trying to move/copy a virtual user's maildir to another virtual user but am running into problems with dsync and doveadm. I'm trying to move the maildir of a user who is no longer with the company to a manager's maildir. For doveadm I am using the command: doveadm move -u s

Re: [Dovecot] INBOX protected foldername?

2013-08-15 Thread Hajo Locke
Hello, Since 2.1.17 fixes a lot of bugs of 2.1.7, I would propose you to open a bug report on the dovecot package in bugs.debian.org and list some of the bugs which have been fixed in the meantime. The >> easiest way to do so is to use the "reportbug" tool in Debian. hmm, upgrading should

Re: [Dovecot] dovecot is working, sort of

2013-08-15 Thread Rob Sterenborg (lists)
On 08/15/2013 10:50 AM, LuKreme wrote: "Error: user lists@*munged*: Couldn't drop privileges: User is missing UID (see mail_uid setting)" These are all virtual users with a hid of 89. How do I tell dovecot that? $ cat /etc/dovecot/dovecot-sql.conf.ext driver = mysql connect = host=localhost

Re: [Dovecot] dovecot is working, sort of

2013-08-15 Thread LuKreme
On 15 Aug 2013, at 02:05 , LuKreme wrote: > I think I'll wait on my next stupid question until morning. Or not. "Error: user lists@*munged*: Couldn't drop privileges: User is missing UID (see mail_uid setting)" These are all virtual users with a hid of 89. How do I tell dovecot that? $ cat

Re: [Dovecot] dovecot is working, sort of

2013-08-15 Thread LuKreme
On 15 Aug 2013, at 01:14 , Tom Hendrikx wrote: > I see a typo there, and the error message is referring to it. Maybe try > password=dovecot? You'll never believe this, but I *just* saw this less than a minute ago and came over to my mail to post my 'doh' message. Sigh. I think I'll wait on m

Re: [Dovecot] dovecot is working, sort of

2013-08-15 Thread Tom Hendrikx
On 08/15/2013 07:13 AM, LuKreme wrote: > I have dovecot setup and authenticating away for local users, but > when I try to add MySQL users from postfix admin, not only does that > fail, but all authentication fails. > > and I get the following errors for *ALL* attempts to connect, not > just sql