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

2008-02-07 Thread Koen Vermeer
On Thu, 2008-01-31 at 16:33 +0200, Timo Sirainen wrote: > Either verify the user's existence in Postfix (I don't really know how, > more of a postfix-users list question), or use something else than > passdb pam + userdb static. There's just no way to ask from PAM if a > user exists or not, and us

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

2008-01-29 Thread Koen Vermeer
user: postfix group: postfix master: path: /var/run/dovecot/auth-master mode: 384 user: vmail group: vmail I have setup pam with auth required pam_listfile.so onerr=fail item=user sense=allow file=/srv/mail/mailusers Best, Koen On Fri, 2008-01-18 at 10:46 +01

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

2008-01-18 Thread Koen Vermeer
is off the top of my head > and I havent tested it, but we do something very similar with other pam > authentications, such as from vsftpd, to restrict user access. > > Regards, > Rob > > On Fri, 2008-01-18 at 10:04 +0100, Koen Vermeer wrote: > > Hi, > > > >

[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 Dovec

Re: [Dovecot] Log data on dovecot-auth socket

2007-05-11 Thread Koen Vermeer
Op vr, 11-05-2007 te 16:01 +0300, schreef Timo Sirainen: > A bit late, but auth_debug_passwords=yes makes it log most of the > traffic I think. If not, then I guess there aren't any easy ways. Thanks for the reply! I needed a real log of the conversation. Anyway, I got it working without the log,

Re: [Dovecot] busy still for a week

2007-05-02 Thread Koen Vermeer
On Wed, 2007-05-02 at 16:46 +0300, Timo Sirainen wrote: > This school year is pretty much finished next thursday (for the classes > I intended to pass). After that I should again have enough energy to > read and answer the 150 mails in this list .. :) And maybe release > v1.0.1 fixing the newly fou

[Dovecot] Master auth: what is 'client-id'?

2007-04-19 Thread Koen Vermeer
Hi, I am trying to get some useful data from the master auth socket. On the wiki, I found that I need to do: M: "REQUEST" TAB TAB TAB M: "USER" TAB TAB TAB service= [TAB ] However, what should I specify for ? I cannot find a definition on the Wiki. Thanks! Koen

[Dovecot] Log data on dovecot-auth socket

2007-04-19 Thread Koen Vermeer
Hi, Is there any way I can monitor or log the data that is being received/sent on the dovecot-auth socket? I'm trying to debug some authentication stuff, and monitoring the conversation would be very useful. Thanks! Koen

Re: [Dovecot] MANAGESIEVE patch v3 for dovecot 1.0.rc28

2007-03-26 Thread Koen Vermeer
Op ma, 26-03-2007 te 15:12 -0400, schreef John Peacock: > You should probably give up trying to use the debian package method if > you are applying third-party patches like this. In particular, you will > need to run autogen.sh, which isn't in the source tarballs, but is only > available with y

Re: [Dovecot] MANAGESIEVE patch v3 for dovecot 1.0.rc28

2007-03-26 Thread Koen Vermeer
Op ma, 26-03-2007 te 22:04 +0300, schreef Timo Sirainen: > ./autogen.sh (re)creates the Makefile.in files. You might also need some > extra packages for that to work. See compiling from CVS in > http://wiki.dovecot.org/CompilingSource OK, I tried it again. I applied the patch, ran chmod 744 autoge

Re: [Dovecot] MANAGESIEVE patch v3 for dovecot 1.0.rc28

2007-03-26 Thread Koen Vermeer
Op ma, 26-03-2007 te 18:34 +0200, schreef Stephan Bosch: > - Updated source to compile with dovecot 1.0.rc28, tested with rc27 >(debian package) I downloaded the rc28 Debian source package, ran dpkg-source -x dovecot-1.0.rc28-1.dsc, applied the patch and ran dpkg-buildpackage -uc -us -rfakeroo

Re: [Dovecot] deliver to subfolder with dovecot's LDA

2007-03-22 Thread Koen Vermeer
Op do, 22-03-2007 te 00:10 +0200, schreef Timo Sirainen: > You need to tell Postfix's pipe not to send the "+mailbox" part to > Dovecot, since Dovecot just treats "user+mailbox" as a username. I don't > know how though. Just an update: It seems that postfix doesn't first try 'user [EMAIL PROTECTED

Re: [Dovecot] deliver to subfolder with dovecot's LDA

2007-03-21 Thread Koen Vermeer
Op do, 22-03-2007 te 00:10 +0200, schreef Timo Sirainen: > You need to tell Postfix's pipe not to send the "+mailbox" part to > Dovecot, since Dovecot just treats "user+mailbox" as a username. I don't > know how though. The Postfix doc says that it will first try to deliver to "user +mailbox", the

Re: [Dovecot] deliver to subfolder with dovecot's LDA

2007-03-21 Thread Koen Vermeer
Op wo, 21-03-2007 te 22:13 +0200, schreef Timo Sirainen: > On Mon, 2007-03-19 at 19:28 +0100, Koen Vermeer wrote: > > The required data is there: The shadow-file contains a list of valid > > usernames. It would be nice to have something like an extra option for > > userdb stat

Re: [Dovecot] deliver to subfolder with dovecot's LDA

2007-03-19 Thread Koen Vermeer
Op ma, 19-03-2007 te 15:50 +0200, schreef Timo Sirainen: > So you are using static userdb? I'm not sure how this could be fixed. > Especially if you're using passdb PAM + userdb static it could be > impossible for Dovecot to verify if the user exists (I don't think > PAM_USER_UNKNOWN reply can be r

Re: [Dovecot] deliver to subfolder with dovecot's LDA

2007-03-18 Thread Koen Vermeer
Op zo, 18-03-2007 te 23:13 +0200, schreef Timo Sirainen: > On Sun, 2007-03-18 at 21:58 +0100, Koen Vermeer wrote: > > > > A new folder with the name "joe+spam" into the virtual domains folder. > > I > > guess that's what you call a new user. The mail d

Re: [Dovecot] deliver to subfolder with dovecot's LDA

2007-03-18 Thread Koen Vermeer
Op zo, 18-03-2007 te 17:39 +0200, schreef Timo Sirainen: > > I have this setup like that, although without the -f and -m options. > > Anyway, it seems that postfix first tries to run deliver with > > $recipient=joe+spam, and deliver happily creates a new mailbox 'joe > > +spam'. Any idea how to sol

Re: [Dovecot] deliver to subfolder with dovecot's LDA

2007-03-17 Thread Koen Vermeer
Op vr, 16-03-2007 te 22:41 -0400, schreef Bill Boebel: > So for the example above, you can call it like this: > deliver -d [EMAIL PROTECTED] -m spam > To do this from Postfix, /etc/postfix/master.cf: > dovecot unix - n n -- pipe > flags=DRhu user=virtual argv=/us