[Dovecot] Help please- Post - Login Script--- Migration
sethm at rollernet.us
Tue Jun 2 21:56:54 EEST 2009
> Hi all
> I am in the process of migrating Courier to Dovecot, am using
> works fine. I want to migrate each user as they login using post-login
> script (As i have huge no of users). We are using NFS storage, users are
> authenticated using mysql, User home directories as passed using variable
> mail ( usign mysql query).
> I am trying to execute postlogin script which does the conversion but
> unable to pass the user home directories .
> mail_executable = /usr/libexec/dovecot/postloginscript.sh %h
> %h ---- for home directory.
> /usr/libexec/dovecot/courier-dovecot-migrate.pl --quiet --to-dovecot
> --recursive --convert $1
> # This is for pop3
> exec /usr/libexec/dovecot/pop3
> When i pass %h as argument its creating "%h" directory and writing
> dovecot-uidlist and rest the files in %h directory. Its not interpreting the
> %h and not passing the home directory. Its just passing as it is.
I could be wrong, but I don't think you can do that. The mail_executable
setting is for the location of the binary.
More information about the dovecot