Re: [Dovecot] Compile issue Dovecot 2.1.8, OS X 10.6.x

2012-07-17 Thread Jim
Hey Timo. I tried this just now, and that did the trick! I've updated my documentation here to include these additional parameters. Thanks so much! Jim On Jul 18, 2012, at 12:15 AM, Timo Sirainen wrote: > I always use: > > CPPFLAGS='-I/opt/local/include/postgresql85 -I/opt/local/include' \

Re: [Dovecot] Compile issue Dovecot 2.1.8, OS X 10.6.x

2012-07-17 Thread Timo Sirainen
I always use: CPPFLAGS='-I/opt/local/include/postgresql85 -I/opt/local/include' \ LDFLAGS="-L/opt/local/lib/postgresql85 -L/opt/local/lib" \ ./configure Because otherwise system iconv conflicts with macports iconv. But it has been this way in v2.0 as well. On 18.7.2012, at 8.09, Jim wrote: > H

Re: [Dovecot] Compile issue Dovecot 2.1.8, OS X 10.6.x

2012-07-17 Thread Jim
Hey all, I'm still stumped here. No suggestions from anyone on anything I can look at? Has anyone successfully compiled the 2.1.x branch on Mac OS X 10.6.x? Jim On Jul 16, 2012, at 8:10 PM, Jim wrote: > I just did tried building Dovecot 2.1.0, same issue. Dovecot 2.0.21 was able > to buil

[Dovecot] dovecot-lda setting quota rules

2012-07-17 Thread Lazy
Hi, in my setup dovecot-lda reads user and home from environment, and dosn't perform userdb lookup Jul 18 03:09:47 thebe2 dovecot: lda(lazytest_test): Debug: Effective uid=300, gid=300, home=/vmail/la/lazytest_test Jul 18 03:09:47 thebe2 dovecot: lda(lazytest_test): Debug: Quota root: name=User q

Re: [Dovecot] Different LDAP filters for different protocols

2012-07-17 Thread James Devine
nevermind I think I got it, wrapping the ldap userdb in the protocols and making a copy of the ldap configuration files seems to work On Tue, Jul 17, 2012 at 5:04 PM, James Devine wrote: > Is it possible to query LDAP differently for different protocols? I am > using dovecot for both pop3/imap

[Dovecot] Different LDAP filters for different protocols

2012-07-17 Thread James Devine
Is it possible to query LDAP differently for different protocols? I am using dovecot for both pop3/imap and lmtp deliveries and there are different enable flags in ldap for them. I tried wrapping user_filter inside the protocols in the file dovecot-ldap.conf.ext as shown below but this didn't see

Re: [Dovecot] outlook and redirect sieve

2012-07-17 Thread Lazy
2012/7/16 Stephan Bosch : > On 7/16/2012 5:00 PM, Lazy wrote: >> >> 2012/7/16 Lazy : >> >> >> i have got it >> >> if ( recipient != NULL ) >> rfc2822_header_field_write(f, >> "X-Sieve-Redirected-From", recipient); >> >> was adding crlf in the headers, and it made whole email

Re: [Dovecot] Selective TLS per local IP

2012-07-17 Thread Robert Blayzor
On Jul 17, 2012, at 8:28 AM, Timo Sirainen wrote: >> No, they do not. It would be nice if it did. Or at least some way to >> disable TLS offering/advertisement if disabling the SSL socket is not >> possible. > > Here: http://hg.dovecot.org/dovecot-2.1/rev/258c2e231357 Works perfectly, thank

Re: [Dovecot] Dovecot-2.1.8 process imap crashed

2012-07-17 Thread Timo Sirainen
On 17.7.2012, at 17.15, Marcin Mirosław wrote: > Hello! > I've just upgraded dovecot from 2.0.18 to 2.1.8 and configured impac. I > notice dovecot/imap throws segfault from time to time. I'm not sure i > know what steps are needed to reproduce problem. .. > #3 0x02d0fbf6208a in imapc_connecti

[Dovecot] Dovecot-2.1.8 process imap crashed

2012-07-17 Thread Marcin Mirosław
Hello! I've just upgraded dovecot from 2.0.18 to 2.1.8 and configured impac. I notice dovecot/imap throws segfault from time to time. I'm not sure i know what steps are needed to reproduce problem. I'm using gentoo, hardened-kernel-3.4.2. Namespaces (and settings for imapc) are keept in database s

Re: [Dovecot] files missed from install

2012-07-17 Thread Tim Dickson
thanks very much, Tim On 17/07/2012 13:31, Timo Sirainen wrote: On 4.7.2012, at 19.17, Tim Dickson wrote: version: using dovecot 2.1.8 or 2.0.12 bug: installation - some files missed details: dovecot-openssl.cnf and mkcert.sh are not copied from the src/doc folder to the installation doc f

Re: [Dovecot] [PATCH] Interop problem with Cyrus SASL and GSSAPI

2012-07-17 Thread Timo Sirainen
On Sat, 2012-07-14 at 19:17 +0100, Ben Morrow wrote: > I have been trying to get a Postfix mail server using Dovecot SASL to > accept GSSAPI AUTH from another Postfix server using Cyrus SASL, and I > believe I have found a couple of bugs in Dovecot's GSSAPI > implementation. Committed: http://hg.d

Re: [Dovecot] Timeout (180s) while waiting for lock for transaction log file

2012-07-17 Thread Timo Sirainen
On Mon, 2012-07-09 at 10:45 +0200, Angel L. Mateo wrote: > We still have problems with our updated dovecot servers... The problem > now is that we are having errors like: > > Jul 9 10:22:02 myotis31 dovecot: lmtp(15431, ): Error: Timeout > (180s) while waiting for lock for transaction log

Re: [Dovecot] quota fs: Support for hardlimit quotas (where softquota is unset)

2012-07-17 Thread Timo Sirainen
On Sun, 2012-07-08 at 09:42 +0200, Jan Friesse wrote: > Hi, > included is patch which adds support for calculating fs quota from hardlimit > where softlimit is unset. I'm usually not setting softlimit on my server > causing dovecot work incorrectly (not reporting quota at all). Committed to v2.2

Re: [Dovecot] MySQL dict issues

2012-07-17 Thread Timo Sirainen
On 11.7.2012, at 21.10, l...@airstreamcomm.net wrote: > Testing using the mysql dict for quota storage (dovecot-2.0.12-2_127.el5), > and ran into a couple issues. First is a permissions issue: > > dovecot: lmtp(26786, d...@test.tld): Error: > net_connect_unix(/var/run/dovecot/dict) failed: Pe

Re: [Dovecot] Feature request

2012-07-17 Thread Timo Sirainen
On 7.7.2012, at 17.26, Malloc Kilobyte wrote: > Appreciating all Dovecot rich features, I lack just one. And this is the > ability to customize the "quota exceeded, message rejected" message. I know > I can set it's default content using quota_exceeded_message parameter, but > i would also like to

Re: [Dovecot] LDAP.conf filter issue

2012-07-17 Thread Timo Sirainen
On 5.7.2012, at 16.45, Tony Hlabse wrote: > We are trying to use the user_filter options to limit authentication to a > single user group. The cusotmer has security rules that they want to only > have users belonging to a group to have access. Sample we have tried. > > auth_bind = yes > auth_bi

Re: [Dovecot] files missed from install

2012-07-17 Thread Timo Sirainen
On 4.7.2012, at 19.17, Tim Dickson wrote: > version: using dovecot 2.1.8 or 2.0.12 > > bug: installation - some files missed > > details: dovecot-openssl.cnf and mkcert.sh are not copied from the src/doc > folder to the installation doc folder on installation (make install) > both are referred

Re: [Dovecot] Selective TLS per local IP

2012-07-17 Thread Timo Sirainen
On 17.7.2012, at 15.20, Robert Blayzor wrote: > On Jul 17, 2012, at 6:59 AM, Timo Sirainen wrote: >> On 17.7.2012, at 1.35, Robert Blayzor wrote: >> >>> So is there any way possible to turn off advertising of TLS on port or turn >>> it off/on per IP? >>> >>> Something like: >> >> If those work

Re: [Dovecot] dovecot 2.1.8 still tries to touch any mountpoint

2012-07-17 Thread Timo Sirainen
On 17.7.2012, at 15.12, Reindl Harald wrote: >> v2.1.9+ log message will point to http://wiki2.dovecot.org/Mountpoints > > Dovecot already internally filters out many mountpoints and filesystems that > are pretty much guaranteed not to contain any emails > > i bet /sys/fs/cgroup will never conta

Re: [Dovecot] Selective TLS per local IP

2012-07-17 Thread Robert Blayzor
On Jul 17, 2012, at 6:59 AM, Timo Sirainen wrote: > On 17.7.2012, at 1.35, Robert Blayzor wrote: > >> So is there any way possible to turn off advertising of TLS on port or turn >> it off/on per IP? >> >> Something like: > > If those work, then yes. If they don't, then no. I'd think they would

Re: [Dovecot] dovecot 2.1.8 still tries to touch any mountpoint

2012-07-17 Thread Reindl Harald
Am 17.07.2012 13:59, schrieb Timo Sirainen: > On 10.7.2012, at 14.00, Reindl Harald wrote: > >> why does dovecot touch any ever used fuse-mountpoint >> and scream at the next start that is no longer mounted? >> >> "If this is intentional, remove it with doveadm mount" >> why if i never called "d

Re: [Dovecot] doveadm director status username != doveadm director status username@mailserver

2012-07-17 Thread Timo Sirainen
On 17.7.2012, at 13.54, Timo Sirainen wrote: > On 17.7.2012, at 13.43, Joseba Torre wrote: > >> I've almost finished my new director based setup, but in the first test I >> discovered that imap and lmtp connections were not always being proxied to >> the same server. After some research now I

Re: [Dovecot] doveadm director status username != doveadm director status username@mailserver

2012-07-17 Thread Joseba Torre
El 17/07/12 12:51, Charles Marcus escribió: First, my imap connections/logins show the full username (u...@example.com) in the logs. I'm not using LMTP (yet), but don't think that affects imap logins... Second, since, in a virtual setup, it is very likely that you will have a collision of the

Re: [Dovecot] dovecot 2.1.8 still tries to touch any mountpoint

2012-07-17 Thread Timo Sirainen
On 10.7.2012, at 14.00, Reindl Harald wrote: > why does dovecot touch any ever used fuse-mountpoint > and scream at the next start that is no longer mounted? > > "If this is intentional, remove it with doveadm mount" > why if i never called "doveadm" on any setup at all? > > Jul 10 09:10:56 rh d

Re: [Dovecot] doveadm director status username != doveadm director status username@mailserver

2012-07-17 Thread Joseba Torre
El 17/07/12 13:34, Lee Standen escribió: One thing that stands out to me is the lack of passdb. One of the recommendations I got from the passdb documentation was to override the user field, so the user is always logged in consistently. Without this, "BOB", "bob" and "b...@mydomain.com

Re: [Dovecot] different mail_max_userip settings

2012-07-17 Thread Timo Sirainen
On 10.7.2012, at 10.24, Federico Bianchi wrote: > Is it possible to have mail_max_userip set to a value for localhost (webmail) > and to another value for everything else? mail_max_userip_connections = 10 remote 127.0.0.1 { mail_max_userip_connections = 0 }

Re: [Dovecot] Seq-range order in sequence-set are matter?

2012-07-17 Thread Timo Sirainen
I can reproduce this in v1.0 and v1.1, but not with v1.2 or newer. So this has been fixed 3 years ago. On 12.7.2012, at 14.13, Lay András wrote: > Hi! > > I have a mailbox with 12 messages. Theese two commands: > > x fetch 5,8:12 (UID) > * 5 FETCH (UID 10) > * 8 FETCH (UID 13) > * 9 FETCH (UID

Re: [Dovecot] Override userdb=passwd gid

2012-07-17 Thread Timo Sirainen
On 12.7.2012, at 16.43, Veiko Kukk wrote: > I have problem with Dovecot 2.1.1 writing maildir files as users primary > group. Tried to override gid value, but probably i'm missing something... > > userdb { > args = blocking=no gid=mail > driver = passwd > } > > Also tried using 'override_fiel

Re: [Dovecot] Difference between proxy_refresh and proxy_timeout in director

2012-07-17 Thread Timo Sirainen
On 13.7.2012, at 11.52, Angel L. Mateo wrote: > I know proxy_timeout is the timeout for the director operation. But > what is the purpose for proxy_refresh? Director returns proxy_refresh to login process. The login process then tells director this often that the user's connection still e

Re: [Dovecot] SQLite dovecot query caching

2012-07-17 Thread Timo Sirainen
On 13.7.2012, at 8.30, Dominic Malolepszy wrote: >> It caches the passdb lookup. The cache key consists of the given % >> variables in the SQL query. So if your SQL query doesn't contain %n/%u >> then the cache doesn't add per-user entries. > > I had a chance to play around with this in the lab.

Re: [Dovecot] imapc: Restrict the number of connections

2012-07-17 Thread Timo Sirainen
On 13.7.2012, at 15.39, René Neumann wrote: > One problem remains: Though there is only one account that is allowed to > use this imapc-connection, each imap-process opens a connection to the > imapc'd server. > > Is this caused directly by the imapc_*-definitions in the config? Or is > there a w

Re: [Dovecot] Selective TLS per local IP

2012-07-17 Thread Timo Sirainen
On 17.7.2012, at 1.35, Robert Blayzor wrote: > So is there any way possible to turn off advertising of TLS on port or turn > it off/on per IP? > > Something like: If those work, then yes. If they don't, then no. I'd think they would work. > ssl = yes > ssl_cert = ssl_key = > local 10.1.1.1

Re: [Dovecot] bcypt availability

2012-07-17 Thread Timo Sirainen
On 12.7.2012, at 13.32, Nick Edwards wrote: > Do you intend to introduce bcrypt into the built in password schemes? No, but I would accept a patch for that.

Re: [Dovecot] doveadm director status username != doveadm director status username@mailserver

2012-07-17 Thread Timo Sirainen
On 17.7.2012, at 13.43, Joseba Torre wrote: > I've almost finished my new director based setup, but in the first test I > discovered that imap and lmtp connections were not always being proxied to > the same server. After some research now I think that the main problem is > that in imap connect

Re: [Dovecot] doveadm director status username != doveadm director status username@mailserver

2012-07-17 Thread Charles Marcus
On 2012-07-17 6:43 AM, Joseba Torre wrote: Is there any way to redirect connections based only in the local part of the address? Or there is a way to get rid of the @mailserver in the postfix -> lmtp connection? First, my imap connections/logins show the full username (u...@example.com) in th

[Dovecot] doveadm director status username != doveadm director status username@mailserver

2012-07-17 Thread Joseba Torre
Hi, I've almost finished my new director based setup, but in the first test I discovered that imap and lmtp connections were not always being proxied to the same server. After some research now I think that the main problem is that in imap connections users connect as 'username' while lmtp co

Re: [Dovecot] Issues with Plus addressing and detail part of subaddress.

2012-07-17 Thread Charles Marcus
On 2012-07-17 6:18 AM, Charles Marcus wrote: lda_original_recipient_header = X-Original-To lmtp_save_to_detail_mailbox = yes Ok, I think this is the problem... Dovecot's LMTP currently does NOT preserve the x-original-to header... in fact, brought this up recently (I was one of the ones inte

Re: [Dovecot] Issues with Plus addressing and detail part of subaddress.

2012-07-17 Thread Charles Marcus
On 2012-07-17 3:32 AM, Sean Kamath wrote: I was sure it wasn't a bug, it was a screwup on my part in the configuration, so I didn't read the bugreport page. Actually, although it is called 'bugreport', you get to it via the 'Troubleshooting' link on the wiki... But no worries, you've now pr

Re: [Dovecot] incremental backups of maildir via rsync

2012-07-17 Thread Wojciech Puchar
but --detect-renamed fixes it. This did not work: # rsync -SHa --detect-renamed /etc/motd /var/tmp rsync: --detect-renamed: unknown option rsync 3.0.9 FreeBSD ports with option "enable detect renamed" it uses rsync-patches-3.0.9.tar.gz in addition to main source. patch for renaming files de

Re: [Dovecot] Issues with Plus addressing and detail part of subaddress.

2012-07-17 Thread Sean Kamath
On Jul 16, 2012, at 3:44 AM, Charles Marcus wrote: >>> dovecot -n output maybe > >> Certainly (wasn't on the list of "things to put in a post" on the web >> site, so I missed it): > > Which website? http://www.dovecot.org/mailinglists.html And I missed it, it says "use dovecot -n when showing