Dear Timo, Thanks for your response I will use the script you mention.
I have another query in the dovecot -n output displays a parameter which I have doubts: args: uid = 89 gid = 89 home = /usr/vpopmail/domains/%d/%u Some accounts created through vpopmail are in the directory: /usr/vpopmail/domains/example.com/0/user10 /usr/vpopmail/domains/example.com/1/user20 there is a problem with this configuration because accounts are created in a subdirectory 0 or 1 within the domain example.com? Thanks Jose Luis > Subject: Re: [Dovecot] Asked about Dovecot Logging > From: [email protected] > To: [email protected] > CC: [email protected] > Date: Tue, 23 Jun 2009 18:39:20 -0400 > > On Tue, 2009-06-23 at 17:16 -0500, Jose Luis Marin Perez wrote: > > passdb: > > driver: checkpassword > > args: /usr/vpopmail/bin/vchkpw > > It's vchkpw. You could work around it with something like: > > args = /usr/vpopmail/bin/vchkpw /usr/local/bin/vchkpw-wrapper.sh > > and the vchkpw-wrapper.sh would contain: > > #!/bin/sh > > unset USER > exec $* > > Hmm. Can you check if vchkpw returns the domain in some environment > variable (temporarily add "set > /tmp/log" to the wrapper script)? If it > does, I could change Dovecot to use it and this wrapper wouldn't be > necessary. > _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us
