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

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

2008-01-29 Thread Koen Vermeer
: /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 +0100, Koen Vermeer wrote: Thanks for the pointer. I guess I

[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 Koen Vermeer
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, On my system, I want to provide imap access for some of the users listed in /etc

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,

[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

[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 id TAB client-pid TAB client-id M: USER TAB id TAB userid TAB service=service [TAB parameters] However, what should I specify for client-id? I cannot find a definition on

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]' and

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 static to tell it to have a look

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