[Dovecot] 2.0.12 ipwd.c does not compile under solaris

2011-04-17 Thread Roger Fujii
the new src/lib/ipwd.c introduced in 2.0.12 no longer compiles on 
solaris.   Under solaris,
the *_r routines doesn't pass in result as the last parameter and return 
errno - it just returns result.

obviously a job for configure.

--

Roger Fujii



Re: [Dovecot] 2.0.12 ipwd.c does not compile under solaris

2011-04-17 Thread Timo Sirainen
On 17.4.2011, at 11.29, Roger Fujii wrote:

> the new src/lib/ipwd.c introduced in 2.0.12 no longer compiles on solaris.   
> Under solaris,
> the *_r routines doesn't pass in result as the last parameter and return 
> errno - it just returns result.
> obviously a job for configure.

http://hg.dovecot.org/dovecot-2.0/rev/b60d73301c08



[Dovecot] logs show two connections to database even though using static driver

2011-04-17 Thread Gary Chodos
hi,

im using:

---
passdb {
  driver = sql
  args = /etc/dovecot/dovecot-sql.conf.ext
}

userdb {
  driver = static
  args = uid=vmail gid=vmail home=/home/vmail/%d/ mail=mdbox:/home/vmail/%d/%n
}
--

this works fine on a test machine but i still see *2* instead of 1
connections to the pgsql db before a successful login is logged.. how
can i avoid these extra connections?:

Apr 17 11:34:49 merlin dovecot: auth: pgsql(localhost): Connected to
database users
Apr 17 11:34:50 merlin dovecot: auth: pgsql(localhost): Connected to
database users
Apr 17 11:34:50 merlin dovecot: imap-login: Login: user=, ...


Re: [Dovecot] pop3-login segfaults (new backtrace)

2011-04-17 Thread interfaSys sàrl
Just a quick update to let you know that this isn't an issue anymore
when using gcc 4.6.

On 09/04/2011 11:40, Timo Sirainen wrote:
> On 9.4.2011, at 13.36, interfaSys sàrl wrote:
> 
>>> What happens if you run the pop3-login binary directly from command line? 
>>> Does it still crash?
>>>
>> #./pop3-login
>> Segmentation fault: 11 (core dumped)
> 
> I can't think of anything else than a buggy compiler/linker. Try talking to 
> the gold people.
> 
> 


Re: [Dovecot] Dovecot v2.0.12 OpenBSD - getpwuid() error

2011-04-17 Thread LEVAI Daniel
On p, ápr 15, 2011 at 10:14:31 +0200, LEVAI Daniel wrote:
> Hi!
> 
> 
> I've upgraded from 2.0.11 to 2.0.12. I've experienced errors during
> delivery with dovecot-lda. The error log attached contains the errors.
> Since then I had to downgrade to 2.0.11, to make it work again.
> When starting 2.0.12, it couldn't chown() the files under /var/dovecot
> (eg.: dict) to the user specified in the configuration file.

Probably something to do with getpwuid() -> i_getpwuid() changes, and
the new functions in src/lib/ipwd.c?



Daniel

-- 
LÉVAI Dániel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F


Re: [Dovecot] 2.0.12 ipwd.c does not compile under solaris

2011-04-17 Thread Joseph Tam

From: Roger Fujii 

the new src/lib/ipwd.c introduced in 2.0.12 no longer compiles on
solaris.   Under solaris,
the *_r routines doesn't pass in result as the last parameter and return
errno - it just returns result.
obviously a job for configure.


This was solved several Emails back about forcing the use of POSIX threading
models (a workaround path is provided):

http://www.dovecot.org/list/dovecot/2011-April/058602.html

Joseph Tam