Re: [Dovecot] dovecot imap permission denied

2011-08-31 Thread Daminto Lie
Thanks Timo for your reply. It now works fine with Passdb LDAP with password lookups. Users can now login with no problem.  However, when trying to do LDAP authentication with Authentication binds, I received the following errors from mail.log Sep  1 15:34:22 server1 dovecot: auth(default): cl

Re: [Dovecot] Proprietary mail storage.

2011-08-31 Thread Timo Sirainen
Should work fine. On 31.8.2011, at 22.19, Alex Cherniak wrote: > Thanks, Timo. > Technically, it's not a Maildir, but my plan is to re-create one with > folders containing hard or symbolic links pointing to the real > storage. Is it going to be a problem? > > On Wed, Aug 31, 2011 at 10:52 AM, Ti

Re: [Dovecot] thunderbird and subscriptions with sieve

2011-08-31 Thread Timo Sirainen
On 31.8.2011, at 23.48, Kristen J. Webb wrote: > Is there any way to automatically add folders created by sieve > (GNU Mailutils 2.1) to the subscriptions file for a user? You mean you're using Mailutils Sieve, not Dovecot Sieve? The only reasonable solution I can think of is: Mailutils Sieve w

[Dovecot] sorting order changed during migration from courier

2011-08-31 Thread Micah Anderson
Hello, I've been working to migrate to dovecot (debian stable: 1:1.2.15-7) from courier (debian old-stable: 4.4.0-2). I've setup everything and migrated a test user over to the new system, and ran the courier-dovecot-migrate.pl script. The user is using alpine (the free version of pine) and the

Re: [Dovecot] Multiple domains to one inbox and temporary redirects...

2011-08-31 Thread Thomas Harold
On 8/31/2011 12:41 PM, Nick Rosier wrote: I'm using Postfixadmin to manage users and have server alias-domains. All mail sent to an alias-domain is delivered to the other domain. Quite easy if you've got postfixadmin already setup. Otherwise I think you could configure virtual_alias_maps in post

Re: [Dovecot] thunderbird and subscriptions with sieve

2011-08-31 Thread Thomas Harold
On 8/31/2011 7:15 PM, Stephan Bosch wrote: If you set lda_mailbox_autosubscribe to yes, it will subscribe folders created by Sieve automatically. However, afaik Thunderbird will not notice the subscription at first. You need to reconnect for that to be noticed. That's been my experience. So

Re: [Dovecot] thunderbird and subscriptions with sieve

2011-08-31 Thread Stephan Bosch
On 8/31/2011 10:48 PM, Kristen J. Webb wrote: Hi All, I'm a newbie trying to move mail out of my ISP onto a ubuntu (lucid) dovecot 1.2.9 server. Is there any way to automatically add folders created by sieve (GNU Mailutils 2.1) to the subscriptions file for a user? I'm currently testing spam,

[Dovecot] [PATCH] Allow verification of user's hash in doveadm-pw

2011-08-31 Thread Spack
Hi, It may be useful for testing purpose to know if a generated password hash correspond to a given clear password. This can be useful to check if a hash generated by another program can be verified by Dovecot without any errors. This patch adds the ability the verify a password hash using `dovea

Re: [Dovecot] Kerberos GSSAPI - proper item name in keytab

2011-08-31 Thread Jerry
On Wed, 31 Aug 2011 14:39:56 -0600 Jason Gunthorpe articulated: > On Wed, Aug 31, 2011 at 09:28:50AM -0600, Trever L. Adams wrote: > > > I have only followed part of this. It the original poster's problem > > is that the LDAP database is not being able to be accessed with an > > SPN ticket, this

[Dovecot] thunderbird and subscriptions with sieve

2011-08-31 Thread Kristen J. Webb
Hi All, I'm a newbie trying to move mail out of my ISP onto a ubuntu (lucid) dovecot 1.2.9 server. Is there any way to automatically add folders created by sieve (GNU Mailutils 2.1) to the subscriptions file for a user? I'm currently testing spam, and if sieve created the folder with the first

Re: [Dovecot] mail spool filesystem

2011-08-31 Thread Rick Romero
Quoting Nick Rosier : Kelsey Cummings wrote: On Fri, Aug 19, 2011 at 03:48:00AM -0500, Stan Hoeppner wrote: On 8/17/2011 9:42 AM, Adrian Ulrich wrote: I read that XFS is a good choice, but is not too reliable... Are you using Maildir or MBOX? In any case: XFS would be my last choice: XFS

Re: [Dovecot] Kerberos GSSAPI - proper item name in keytab

2011-08-31 Thread Jason Gunthorpe
On Wed, Aug 31, 2011 at 09:28:50AM -0600, Trever L. Adams wrote: > I have only followed part of this. It the original poster's problem is > that the LDAP database is not being able to be accessed with an SPN > ticket, this is because SPNs are not allowed to log in in AD. You need > to use a user a

Re: [Dovecot] mail spool filesystem

2011-08-31 Thread Nick Rosier
Kelsey Cummings wrote: On Fri, Aug 19, 2011 at 03:48:00AM -0500, Stan Hoeppner wrote: On 8/17/2011 9:42 AM, Adrian Ulrich wrote: I read that XFS is a good choice, but is not too reliable... Are you using Maildir or MBOX? In any case: XFS would be my last choice: XFS is nice if you are workin

Re: [Dovecot] mail spool filesystem

2011-08-31 Thread Kelsey Cummings
On Fri, Aug 19, 2011 at 03:48:00AM -0500, Stan Hoeppner wrote: > On 8/17/2011 9:42 AM, Adrian Ulrich wrote: > >> I read that XFS is a good choice, but is not > >> too reliable... > > > > Are you using Maildir or MBOX? > > > > In any case: XFS would be my last choice: > > > > XFS is nice if you

Re: [Dovecot] Thunderbird caching problem

2011-08-31 Thread Nick Rosier
Chris Cappuccio wrote: Dave McGuire [mcgu...@neurotica.com] wrote: On 08/31/2011 02:59 PM, Chris Cappuccio wrote: Using a fairly simple dovecot config (which obviously needs some max limit tweaking) we have problems with IMAP synchronization between thunderbird clients. Two TB clients in the s

Re: [Dovecot] Thunderbird caching problem

2011-08-31 Thread Chris Cappuccio
Dave McGuire [mcgu...@neurotica.com] wrote: > On 08/31/2011 02:59 PM, Chris Cappuccio wrote: > >Using a fairly simple dovecot config (which obviously needs some max > >limit tweaking) we have problems with IMAP synchronization between > >thunderbird clients. > > > >Two TB clients in the same IMAP m

Re: [Dovecot] Thunderbird caching problem

2011-08-31 Thread Dave McGuire
On 08/31/2011 02:59 PM, Chris Cappuccio wrote: Using a fairly simple dovecot config (which obviously needs some max limit tweaking) we have problems with IMAP synchronization between thunderbird clients. Two TB clients in the same IMAP mailbox will, from time to time, show different views of the

Re: [Dovecot] OT - small hd recommendation

2011-08-31 Thread Thomas Harold
On 8/30/2011 5:43 PM, Daniel L. Miller wrote: A little OT - but I've seen a few opinions voiced here by various admins and I'd like to benefit. RAID-10 is fine (note that the default mdadm RAID10 isn't actually RAID10, but it works well enough). RAID-6 won't be faster (and will probably be w

Re: [Dovecot] Proprietary mail storage.

2011-08-31 Thread Alex Cherniak
Thanks, Timo. Technically, it's not a Maildir, but my plan is to re-create one with folders containing hard or symbolic links pointing to the real storage. Is it going to be a problem? On Wed, Aug 31, 2011 at 10:52 AM, Timo Sirainen wrote: > On 31.8.2011, at 17.24, Alex Cherniak wrote: > >> I hav

[Dovecot] Thunderbird caching problem

2011-08-31 Thread Chris Cappuccio
Using a fairly simple dovecot config (which obviously needs some max limit tweaking) we have problems with IMAP synchronization between thunderbird clients. Two TB clients in the same IMAP mailbox will, from time to time, show different views of the same INBOX folders, when TB caching is enable

Re: [Dovecot] Kerberos GSSAPI - proper item name in keytab

2011-08-31 Thread Trever L. Adams
On 08/31/2011 10:30 AM, Nikolay Shopik wrote: > > Can you do kinit -k imap/imap/efim.test.lo...@romashka.lan and then > klist, does it work for you? > > I do recommend tcpdump kerberos traffic between your client and > server, this is usually helps me much better then any logging, flow > easy to re

Re: [Dovecot] Multiple domains to one inbox and temporary redirects...

2011-08-31 Thread Simon Brereton
> -Original Message- > From: Nick Rosier [mailto:nick+dove...@bunbun.be] > > Simon Brereton wrote: > > Hi > > > > Can anyone point me to a howto to arrange for multiple domains to > > deliver to one inbox with Dovecot? For example, us...@example.com > and > > us...@example.net should bot

Re: [Dovecot] Multiple domains to one inbox and temporary redirects...

2011-08-31 Thread Albert E. Whale
I'm using Sendmail, sample config below: On 8/31/2011 12:41 PM, Nick Rosier wrote: Simon Brereton wrote: Hi Can anyone point me to a howto to arrange for multiple domains to deliver to one inbox with Dovecot? For example, us...@example.com and us...@example.net should both be delivered to

Re: [Dovecot] Multiple domains to one inbox and temporary redirects...

2011-08-31 Thread Nick Rosier
Simon Brereton wrote: Hi Can anyone point me to a howto to arrange for multiple domains to deliver to one inbox with Dovecot? For example, us...@example.com and us...@example.net should both be delivered to /var/spool/mail/virtual/example.net/user1 Currently, I have the dovecot LDA set as:

Re: [Dovecot] Kerberos GSSAPI - proper item name in keytab

2011-08-31 Thread Nikolay Shopik
On 31.08.2011 18:55, Stanislav Klinkov wrote: Thank you for sharing a very interesting experience, David. It seemed like running ktpass multiple times invalidated the previous keytabs. OK. Let us assume. But then how can you explain the fact that the setting<> in dovecot config solves all me

[Dovecot] Multiple domains to one inbox and temporary redirects...

2011-08-31 Thread Simon Brereton
Hi Can anyone point me to a howto to arrange for multiple domains to deliver to one inbox with Dovecot? For example, us...@example.com and us...@example.net should both be delivered to /var/spool/mail/virtual/example.net/user1 Currently, I have the dovecot LDA set as: dovecot unix -

Re: [Dovecot] Kerberos GSSAPI - proper item name in keytab

2011-08-31 Thread David Warden
On Aug 31, 2011, at 10:55 AM, Stanislav Klinkov wrote: > > Thank you for sharing a very interesting experience, David. > >> It seemed like running ktpass multiple times invalidated the previous >> keytabs. > OK. Let us assume. But then how can you explain the fact that the > setting <> in dovec

Re: [Dovecot] Password query returned multiple matches

2011-08-31 Thread Simon Brereton
> -Original Message- > From: Timo Sirainen [mailto:t...@iki.fi] > > On 31.8.2011, at 18.19, Simon Brereton wrote: > > > Aug 30 22:41:45 mail dovecot: auth-worker(default): > sql(sbrere...@domain.co.uk,64.88.168.84): Password query returned > multiple matches > .. > > password_query = SELE

Re: [Dovecot] Kerberos GSSAPI - proper item name in keytab

2011-08-31 Thread Trever L. Adams
On 08/31/2011 07:35 AM, Stanislav Klinkov wrote: > > >> and added the SPN for smtp using LDAP/setspn and used ktutil on the dovecot >> host to add an entry to my keytab with the same key and kvno > Sorry, I'm not sure in realizing what you mean. What is "LDAP/setspn"? > > I have only followed part

Re: [Dovecot] Proprietary mail storage.

2011-08-31 Thread Robert Schetterer
Am 31.08.2011 17:21, schrieb Timo Sirainen: > On 31.8.2011, at 18.17, Robert Schetterer wrote: > > Is it otherwise a Maildir? If yes, you could base your code on the zlib > plugin, or perhaps more easily you could use mail-filter plugin: > http://dovecot.org/patches/2.0/mail-filter.t

Re: [Dovecot] Password query returned multiple matches

2011-08-31 Thread Timo Sirainen
On 31.8.2011, at 18.19, Simon Brereton wrote: > Aug 30 22:41:45 mail dovecot: auth-worker(default): > sql(sbrere...@domain.co.uk,64.88.168.84): Password query returned multiple > matches .. > password_query = SELECT EmailAdd AS user, Password AS password, > concat('/var/spool/mail/virtual/',Ma

Re: [Dovecot] Proprietary mail storage.

2011-08-31 Thread Timo Sirainen
On 31.8.2011, at 18.17, Robert Schetterer wrote: Is it otherwise a Maildir? If yes, you could base your code on the zlib plugin, or perhaps more easily you could use mail-filter plugin: http://dovecot.org/patches/2.0/mail-filter.tar.gz >>> >>> are there any examples or how too on

[Dovecot] Password query returned multiple matches

2011-08-31 Thread Simon Brereton
Hi After successfully setting up dovecot, I see this error in the logs. Aug 30 22:41:45 mail dovecot: auth-worker(default): sql(sbrere...@domain.co.uk,64.88.168.84): Password query returned multiple matches Aug 30 22:41:52 mail dovecot: pop3-login: Aborted login (auth failed, 1 attempts): use

Re: [Dovecot] Proprietary mail storage.

2011-08-31 Thread Robert Schetterer
Am 31.08.2011 17:14, schrieb Timo Sirainen: > On 31.8.2011, at 18.04, Robert Schetterer wrote: > >>> Is it otherwise a Maildir? If yes, you could base your code on the zlib >>> plugin, or perhaps more easily you could use mail-filter plugin: >>> http://dovecot.org/patches/2.0/mail-filter.tar.gz

Re: [Dovecot] Proprietary mail storage.

2011-08-31 Thread Timo Sirainen
On 31.8.2011, at 18.04, Robert Schetterer wrote: >> Is it otherwise a Maildir? If yes, you could base your code on the zlib >> plugin, or perhaps more easily you could use mail-filter plugin: >> http://dovecot.org/patches/2.0/mail-filter.tar.gz > > are there any examples or how too online for m

Re: [Dovecot] Proprietary mail storage.

2011-08-31 Thread Robert Schetterer
Am 31.08.2011 16:52, schrieb Timo Sirainen: > On 31.8.2011, at 17.24, Alex Cherniak wrote: > >> I have a large existing read-only collection of mails packaged in >> individual zip files as +. Is it >> possible (and how difficult) to create a proprietary plugin (like >> gzip) which will open a zip

Re: [Dovecot] Kerberos GSSAPI - proper item name in keytab

2011-08-31 Thread Stanislav Klinkov
Thank you for sharing a very interesting experience, David. > It seemed like running ktpass multiple times invalidated the previous keytabs. OK. Let us assume. But then how can you explain the fact that the setting <> in dovecot config solves all mentioned troubles at once? As well I just have r

Re: [Dovecot] Proprietary mail storage.

2011-08-31 Thread Timo Sirainen
On 31.8.2011, at 17.24, Alex Cherniak wrote: > I have a large existing read-only collection of mails packaged in > individual zip files as +. Is it > possible (and how difficult) to create a proprietary plugin (like > gzip) which will open a zip file, extract mail and pass it back to > Dovecot? Wh

Re: [Dovecot] Proprietary mail storage.

2011-08-31 Thread Robert Schetterer
Am 31.08.2011 16:24, schrieb Alex Cherniak: > I have a large existing read-only collection of mails packaged in > individual zip files as +. Is it > possible (and how difficult) to create a proprietary plugin (like > gzip) which will open a zip file, extract mail and pass it back to > Dovecot? Wher

[Dovecot] Proprietary mail storage.

2011-08-31 Thread Alex Cherniak
I have a large existing read-only collection of mails packaged in individual zip files as +. Is it possible (and how difficult) to create a proprietary plugin (like gzip) which will open a zip file, extract mail and pass it back to Dovecot? Where do I start? If plugin is not the right approach, wha

Re: [Dovecot] Kerberos GSSAPI - proper item name in keytab

2011-08-31 Thread David Warden
On Aug 31, 2011, at 9:35 AM, Stanislav Klinkov wrote: > >> How did you generate those keys and put them into krb5.keytab? > I logged onto my domain controller via RDP and issued the following > commands: > > keytabs generation * > ktpass -princ imap/efim.tes

Re: [Dovecot] Kerberos GSSAPI - proper item name in keytab

2011-08-31 Thread Stanislav Klinkov
> How did you generate those keys and put them into krb5.keytab? I logged onto my domain controller via RDP and issued the following commands: keytabs generation * ktpass -princ imap/efim.test.lo...@romashka.lan -mapuser dovecot -pass megasuperpassword -ptype

Re: [Dovecot] [PATCH] Indexing mail attachments with Dovecot + Solr

2011-08-31 Thread Timo Sirainen
On Mon, 2011-05-23 at 13:11 +0200, Antonio Perez-Aranda wrote: > Indexing mail attachments with Dovecot + Solr. I've been looking at this and wondering about a few things: The example solrconfig.xml contains: >class="org.apache.solr.handler.extraction.ExtractingRequestHandler" > startup="la

Re: [Dovecot] Kerberos GSSAPI - proper item name in keytab

2011-08-31 Thread David Warden
On Aug 31, 2011, at 8:27 AM, Stanislav Klinkov wrote: > >> Why such hostility? > > I beg you pardon, sir. Nothing personal, but to the question like "My > car does not move" you provide the answer "Try to wipe screen and kick > wheels". How do you think, if one digs into source code, has not he

Re: [Dovecot] Kerberos GSSAPI - proper item name in keytab

2011-08-31 Thread Stanislav Klinkov
> Why such hostility? I beg you pardon, sir. Nothing personal, but to the question like "My car does not move" you provide the answer "Try to wipe screen and kick wheels". How do you think, if one digs into source code, has not he attempted more simple ways? Yes, I have read the manuals and wiki'

Re: [Dovecot] lmtp bouncing -- Invalid parameters (in reply to MAIL FROM command)

2011-08-31 Thread Timo Sirainen
On Wed, 2011-08-31 at 13:21 +0200, Jan-Frode Myklebust wrote: > mail from:<"a b"@no.no> > 501 5.5.4 Invalid parameters This is fixed in v2.0.14.

Re: [Dovecot] lmtp bouncing -- Invalid parameters (in reply to MAIL FROM command)

2011-08-31 Thread Jan-Frode Myklebust
On Wed, Aug 31, 2011 at 01:03:07PM +0200, Jan-Frode Myklebust wrote: > I just configured postfix' virtual_transport to point at my dovecot > director, but am seeing occational problems like this: > > Aug 31 11:50:06 smtpgw postfix/lmtp[5339]: 69E2F5410D: > to=, relay=loadbalancers.example.n

[Dovecot] lmtp bouncing -- Invalid parameters (in reply to MAIL FROM command)

2011-08-31 Thread Jan-Frode Myklebust
I just configured postfix' virtual_transport to point at my dovecot director, but am seeing occational problems like this: Aug 31 11:50:06 smtpgw postfix/lmtp[5339]: 69E2F5410D: to=, relay=loadbalancers.example.net[192.168.42.17]:24, delay=0.15, delays=0.14/0.01/0/0, dsn=5.5.4, status=bo

Re: [Dovecot] auth: Error: LDAP: Connection lost to LDAP server, reconnecting

2011-08-31 Thread Angel L. Mateo
El 31/08/11 12:31, Angel L. Mateo escribió: * When openldap closes the connection because of the idle timeout, it sends a FIN packet. When dovecot needs the connections, it simply opens a new connection (without any log message). * When my load balancer closes the connection, it doesn't send an

Re: [Dovecot] auth: Error: LDAP: Connection lost to LDAP server, reconnecting

2011-08-31 Thread Angel L. Mateo
El 31/08/11 08:54, Angel L. Mateo escribió: El 30/08/11 11:41, Timo Sirainen escribió: Yeah, that happens if the disconnection is noticed at the time when user is trying to authenticate. But if the disconnection is noticed immediately when there are no user requests, there is also no message lo

Re: [Dovecot] : error while loading shared libraries: libdovecot.so.0 (arm cross compile)

2011-08-31 Thread Stephen Feyrer
Hi. Sorry! I was thinking of Postfix (and Exim). That was my mistake, sorry again. Sadly Exim isn't available on my target platform. Thanks. -- Stephen Feyrer. On Wed, 31 Aug 2011 02:28:00 +0100, Timo Sirainen wrote: On 31.8.2011, at 3.00, Stephen Feyrer wrote: So it's still not working