[Dovecot] Static list of users with passdb pam

2008-01-18 Thread Koen Vermeer
Hi, On my system, I want to provide imap access for some of the users listed in /etc/passwd. The list of users should be provided by me, and should just be a list in a text file. All the userdb options are static (uid, gid, home directory). Unfortunately, I cannot think of a way to configure

Re: [Dovecot] Static list of users with passdb pam

2008-01-18 Thread Rob Coward
If you are using pam already, why not add to /etc/pam.d/dovecot something like: authrequiredpam_listfile.so onerr=fail item=user sense=allow file=/etc/dovecot/allowed_users The syntax may not be quite correct as this is off the top of my head and I havent tested it, but we do

[Dovecot] Squirrel Mail (unknown date) in subject and zero size of messages shown

2008-01-18 Thread Niki Spassov
Hello, I'm having the following problems with a Squirrelmail and Dovecot. with option SERVER SIDE SORTING in Squirrel, only the first page with e-mails is shown in user's inbox, the mails in all the next pages are listed with subject: (unknown date) and size 0. The other similar problem,

Re: [Dovecot] Static list of users with passdb pam

2008-01-18 Thread Koen Vermeer
Thanks for the pointer. I guess I need to change the userdb entry as well. I now have userdb static { args = uid=xxx gid=xxx home=whatever allow_all_users=yes } which seems to do what I want. I'll test some more, but I guess this works fine. Thanks again! Best, Koen On Fri, 2008-01-18 at

[Dovecot] Patch for assertion failure in 1.0.10

2008-01-18 Thread Richard Platel
Hi FETCHing a largish (~30K) zlib compressed maildir message causes an assertion failure on an attempt to grow the stream buffer to smaller than its current size. I believe the attached patch fixes this. istream-zlib.c.patch Description: Binary data

Re: [Dovecot] Patch for assertion failure in 1.0.10

2008-01-18 Thread Timo Sirainen
On Fri, 2008-01-18 at 19:04 -0500, Richard Platel wrote: Hi FETCHing a largish (~30K) zlib compressed maildir message causes an assertion failure on an attempt to grow the stream buffer to smaller than its current size. I believe the attached patch fixes this. I fixed it a bit