Re: [Dovecot] Compiling v1.3 on different OSes

2009-04-07 Thread Alan Ferrency
> On Mon, 2009-04-06 at 14:08 -0400, Timo Sirainen wrote: > > http://dovecot.org/tmp/dovecot-1.3.UNSTABLE.tar.gz > > OK, updated the URL once more. Now iconv problems should be gone? And > everyone else is happy with it too? :) It worked fine in FreeBSD 6.2. Thanks, Alan Ferr

Re: [Dovecot] Compiling v1.3 on different OSes

2009-04-06 Thread Alan Ferrency
-lcrypt -lpam -Wl,-rpath -Wl,/usr/local/lib/dovecot ../lib-dovecot/.libs/libdovecot.so: undefined reference to `libiconv_open' ../lib-dovecot/.libs/libdovecot.so: undefined reference to `libiconv_close' ../lib-dovecot/.libs/libdovecot.so: undefined reference to `libiconv' My libiconv is

Re: [Dovecot] Compiling v1.3 on different OSes

2009-04-06 Thread Alan Ferrency
On Mon, 6 Apr 2009, Timo Sirainen wrote: > On Mon, 2009-04-06 at 17:12 -0400, Alan Ferrency wrote: > > lib-signals.c: In function `lib_signal_code_to_str': > > lib-signals.c:47: error: `SEGV_MAPERR' undeclared (first use in this > > function) > > Can you f

Re: [Dovecot] Compiling v1.3 on different OSes

2009-04-06 Thread Alan Ferrency
.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06) % gcc --version gcc (GCC) 3.4.4 [FreeBSD] 20050518 I hope this helps, and I'd be happy to perform further compilation tests. Alan Ferrency pair Networks, Inc.

Re: [Dovecot] failed assertion in 1.1.8: istream.c: line 81

2009-03-05 Thread Alan Ferrency
The patch fixes everything. Thanks! Alan Ferrency pair Networks, Inc. On Thu, 5 Mar 2009, Timo Sirainen wrote: > On Thu, 2009-03-05 at 13:51 -0500, Alan Ferrency wrote: > > Thanks! > > > > Is this going into the 1.1 branch for a future release, curiously? > > Yes. &g

Re: [Dovecot] failed assertion in 1.1.8: istream.c: line 81

2009-03-05 Thread Alan Ferrency
Thanks! Is this going into the 1.1 branch for a future release, curiously? And do I still need the previous patch(es) you sent? I expect not. Alan Ferrency pair Networks, Inc. On Thu, 5 Mar 2009, Timo Sirainen wrote: > On Tue, 2009-03-03 at 15:35 -0500, Alan Ferrency wrote: > > Ma

Re: [Dovecot] failed assertion in 1.1.8: istream.c: line 81

2009-03-04 Thread Alan Ferrency
Hi. I applied the patch, and the assertion did move to istream-raw-mbox.c. I've attached a script of the gdb session with the prints you requested. Thanks, Alan Ferrency pair Networks, Inc. On Tue, 3 Mar 2009, Timo Sirainen wrote: > On Tue, 2009-03-03 at 15:42 -0500, Alan Ferren

Re: [Dovecot] failed assertion in 1.1.8: istream.c: line 81

2009-03-03 Thread Alan Ferrency
On Tue, 3 Mar 2009, Timo Sirainen wrote: > On Tue, 2009-03-03 at 15:35 -0500, Alan Ferrency wrote: > > I have a core dump available for deliver; here's a backtrace: > > Could you also do: > > > #6 0x080bb8a1 in i_stream_read (stream=0x8102e28) at istream.

[Dovecot] failed assertion in 1.1.8: istream.c: line 81

2009-03-03 Thread Alan Ferrency
c=5, argv=0xbfbfec14) at deliver.c:1093 Does anyone have any clues on how to debug this further? I wonder if the original bug reporter removed both the mailbox and the index files at the same time; the current explanation is less than satisfactory. Thanks, Alan Ferrency pair Networks, Inc.

Re: [Dovecot] pop3_lock_session question

2009-02-13 Thread Alan Ferrency
On Fri, 13 Feb 2009, Timo Sirainen wrote: > On Fri, 2009-02-13 at 14:49 -0500, Alan Ferrency wrote: > > > Do you think the "idle process holds a lock open forever" problem that > > you recently patched for pop3 could also affect imap? > > It shouldn't. The

Re: [Dovecot] pop3_lock_session question

2009-02-13 Thread Alan Ferrency
imap, only > with pop3. Timo, Do you think the "idle process holds a lock open forever" problem that you recently patched for pop3 could also affect imap? I've started to get some reports of customers' local mail delivery being hung up by imap processes now, and not just pop processes as we saw previously. Thanks, Alan Ferrency pair Networks, Inc. a...@pair.com

Re: [Dovecot] pop3_lock_session question

2009-02-13 Thread Alan Ferrency
A small update regarding this patch: We've patched 1.1.8 with the primary pop3 lock timeout change, and it's in use on several hundred FreeBSD servers without any known problems so far. Thanks for the solution! Alan Ferrency pair Networks, Inc. a...@pair.com On Thu, 5 Feb 2009, Tim

Re: [Dovecot] pop3_lock_session question

2009-02-05 Thread Alan Ferrency
th both POP and IMAP, so we turned it off. Thanks, Alan Ferrency pair Networks, Inc. a...@pair.com On Wed, 4 Feb 2009, Timo Sirainen wrote: > On Feb 4, 2009, at 9:02 PM, Mark Costlow wrote: > > >> http://hg.dovecot.org/dovecot-1.2/rev/6f29380ba3a0 > >> http://hg.dovecot.org/d

Re: [Dovecot] pop3_lock_session question

2009-02-04 Thread Alan Ferrency
Thanks! Do you mean you will probably apply it to 1.1, or only that it will probably also work on the 1.1 branch? I'll try to get this tested soon. Alan Ferrency pair Networks, Inc. a...@pair.com On Wed, 4 Feb 2009, Timo Sirainen wrote: > On Wed, 2009-02-04 at 15:06 -0500, Alan

Re: [Dovecot] pop3_lock_session question

2009-02-04 Thread Alan Ferrency
ilable for customer use, but they use IMAP. With the frequency we're seeing this problem, I'd expect it's more likely to be something newer or more commonly used. Alan Ferrency pair Networks, Inc. a...@pair.com

Re: [Dovecot] pop3_lock_session question

2009-02-04 Thread Alan Ferrency
onnection, even when no one is actively doing anything with it? The "unlock after a few seconds" option would be great. Do you have any documentation or hints on how to identify or debug connecting pop clients without involving the end user? Thanks, Alan Ferrency pair Networks, Inc. a...@pair.com

Re: [Dovecot] pop3_lock_session question

2009-02-04 Thread Alan Ferrency
pop3 do what imap does? Even if it's inefficient, it's better than hanging all incoming mail delivery while deliver eats up our local concurrency limits. Thanks! Alan Ferrency pair Networks, Inc. a...@pair.com

Re: [Dovecot] Master user with "user="?

2009-01-09 Thread Alan Ferrency
That did the trick. Thanks! Alan On Fri, 9 Jan 2009, Timo Sirainen wrote: > On Tue, 2008-12-16 at 12:16 -0500, Alan Ferrency wrote: > > > > However, it seems that if we use the master user to log into a > > > > username that is in the passdb with a "user="

Re: [Dovecot] Master user with "user="?

2008-12-16 Thread Alan Ferrency
Timo, Thanks for your response. On Sun, 14 Dec 2008, Timo Sirainen wrote: > On Thu, 2008-11-20 at 15:42 -0500, Alan Ferrency wrote: > > Hello, > > > > In our configuration, we are using a "passdb passwd-file", with > > "user=" directives in each u

[Dovecot] Master user with "user="?

2008-11-20 Thread Alan Ferrency
"user=" field, dovecot looks in the userdb for the original username, and not for the "user=" username specified in the passdb passwd-file. Is this a known bug? Maybe I'm doing something wrong? Thanks! Alan Ferrency pair Networks, Inc. [EMAIL PROTECTED]

Re: [Dovecot] Unit testing

2007-11-07 Thread Alan Ferrency
g more of those tests, so > if you've ever wanted to get your own code to Dovecot, now would be a > great time to do it! :) With a 5 month old and a 4 year old on hand, "copious free time" isn't my strong point, but I'll at least attempt to provide tests with any future bug reports. Thanks! Alan Ferrency

Re: [Dovecot] Dovecot push imap/imap notify support?

2007-10-31 Thread Alan Ferrency
nation with IMAP. Wacky. (If you aren't talking about iPhone compatibility, I'm less knowledgeable, but dovecot does support IDLE-style "imap push" style notification.) Alan Ferrency

Re: [Dovecot] 1.0.5: many pop3-login processes?

2007-10-29 Thread Alan Ferrency
On Sat, 27 Oct 2007, Timo Sirainen wrote: > On Thu, 2007-10-11 at 14:36 -0400, Alan Ferrency wrote: > > On this particular server we have exactly 2 different users who log in > > via POP, and they seem to be set up to log in automatically once every > > 10 minutes. >

Re: [Dovecot] 1.0.5: many pop3-login processes?

2007-10-11 Thread Alan Ferrency
re unrelated. Still digging. Alan > Thanks! > Alan Ferrency > pair Networks, Inc. > [EMAIL PROTECTED] > > > On Sun, 30 Sep 2007, Timo Sirainen wrote: > > > On Fri, 2007-09-28 at 17:22 -0400, Alan Ferrency wrote: > > > We are running dovecot 1.0.5 on a test se

Re: [Dovecot] 1.0.5: many pop3-login processes?

2007-10-11 Thread Alan Ferrency
ike it may be related to a misbehaving POP client, but I'd expect the pop3-login processes to die off anyway. I'm using the default login_* settings. Any more insight on this? Thanks! Alan Ferrency pair Networks, Inc. [EMAIL PROTECTED] On Sun, 30 Sep 2007, Timo Sirainen wrote: &

Re: [Dovecot] 1.0.5: many pop3-login processes?

2007-10-01 Thread Alan Ferrency
On Sun, 30 Sep 2007, Timo Sirainen wrote: > On Fri, 2007-09-28 at 17:22 -0400, Alan Ferrency wrote: > > Hello, > > > > We are running dovecot 1.0.5 on a test server, with FreeBSD 6.2 > > (though I have noticed the same problem since dovecot versions in the > > 0

[Dovecot] 1.0.5: many pop3-login processes?

2007-09-28 Thread Alan Ferrency
such processes. We have 11 imap-login processes, but only a few actual imap processes running. Is this normal? Can we stop it? Is anyone else successfully running dovecot on FreeBSD 6.2? Thanks for your help. Alan Ferrency pair Networks, Inc. [EMAIL PROTECTED]

Re: [Dovecot] IP based virtual users: stripping login domain?

2007-09-17 Thread Alan Ferrency
. > I removed the special casing of %d from v1.1. I think this is the best long-term move. I would've been concerned about making the 1.0 -> 1.1 migration path more difficult. But since I haven't gone to dovecot at all yet, it sounds like a good idea to me :) Thanks again, Alan Ferrency pair Networks, Inc. [EMAIL PROTECTED]

Re: [Dovecot] IP based virtual users: stripping login domain?

2007-09-17 Thread Alan Ferrency
username_format=%u /etc/imap.passwd.%d } Does this provide the full username, or does the %d still truncate at the '@'? Although I'm curious how you implemented these points, it's easy to do the right thing in both cases once you know how it works, so it's not a big probl

Re: [Dovecot] IP based virtual users: stripping login domain?

2007-09-14 Thread Alan Ferrency
On Fri, 14 Sep 2007, Alan Ferrency wrote: > I have a likely unusual request regarding IP based virtual > dovecot users. > > When you specify a passdb passwd-file name containing "%d", then the > domain portion is stripped from the login username, before the user is >

[Dovecot] IP based virtual users: stripping login domain?

2007-09-14 Thread Alan Ferrency
already be done, and I patched dovecot to do one of these things, how likely would it be to have that patch merged into the project? Thanks, Alan Ferrency pair Networks, Inc. [EMAIL PROTECTED]

Re: [Dovecot] Multiple passdb/userdb ambiguity

2007-09-13 Thread Alan Ferrency
n a non-virtual user logs in, because the per-IP names are always looked up with their canonical domain even if they match system usernames. Thanks for your time, Alan Ferrency pair Networks, Inc. [EMAIL PROTECTED] On Thu, 13 Sep 2007, Alan Ferrency wrote: > On Mon, 10 Sep 2007, Timo Si

[Dovecot] Multiple passdb/userdb ambiguity

2007-09-13 Thread Alan Ferrency
On Mon, 10 Sep 2007, Timo Sirainen wrote: > On Mon, 2007-09-10 at 11:42 -0400, Alan Ferrency wrote: (Snip: I use userdb prefetch and a bunch of userdb_* settings in the passdb file, and Timo suggested it was not necessary. I then recalled an incorrect explanation for why I might have done t

Re: [Dovecot] dirsize quota assertion problem

2007-09-10 Thread Alan Ferrency
> On Mon, 2007-09-10 at 10:55 -0400, Alan Ferrency wrote: > > > On Fri, 2007-08-31 at 17:42 -0400, Alan Ferrency wrote: > > > > [EMAIL > > > > PROTECTED]::3007:1000::/usr/boxes/username/example.com::userdb_mail=mbox:~/test^/.imap:INBOX=~/test >

Re: [Dovecot] dirsize quota assertion problem

2007-09-10 Thread Alan Ferrency
Hello, Thanks for the patch! On Sun, 9 Sep 2007, Timo Sirainen wrote: > On Fri, 2007-08-31 at 17:42 -0400, Alan Ferrency wrote: > > [EMAIL > > PROTECTED]::3007:1000::/usr/boxes/username/example.com::userdb_mail=mbox:~/test^/.imap:INBOX=~/test > > userdb_uid

[Dovecot] dirsize quota assertion problem

2007-08-31 Thread Alan Ferrency
t/mailbox does not contain/usr/home/test/mailbox_folders, and this condition should fail. If some other code were to enforce that /usr/home/test/mailbox be terminated with a directory separator, then this is not a problem and my patch should work. I hope this makes sense. Thanks, Alan Ferrency pair Networks, Inc. [EMAIL PROTECTED]