calling post-login script with doveadm

Héctor Moreno Blanco hmoreno at gmv.com
Wed Nov 5 12:18:29 UTC 2014


Nevermind, I found the solution  :)

        -o namespace/NAMESPACE_NAME/location=/new/namespace/mail/location

Thank you anyway.
Kind regards.

Héctor Moreno.


-----Mensaje original-----
De: dovecot [mailto:dovecot-bounces at dovecot.org] En nombre de Héctor Moreno Blanco
Enviado el: miércoles, 05 de noviembre de 2014 12:35
Para: dovecot at dovecot.org
Asunto: calling post-login script with doveadm

Hello everyone,

I'm trying to execute some commands with doveadm but I need some information loaded in a post-login script before running these commands.

Is possible to run the post-login script while executing doveadm?

I've found how to do something similar with -o key=value to override settings, but I want to change a namespace location, as done in the post-login script:

...
export USERDB_KEYS="$USERDB_KEYS namespace/archivo/location"
exec env "NAMESPACE/ARCHIVO/LOCATION=$location" "$@"
...

Thank you very much in advanced.
Kind regards.

Héctor Moreno

P Please consider the environment before printing this e-mail.

______________________
This message including any attachments may contain confidential information, according to our Information Security Management System,  and intended solely for a specific individual to whom they are addressed.
 Any unauthorised copy, disclosure or distribution of this message  is strictly forbidden. If you have received this transmission in error,  please notify the sender immediately and delete it.

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,  puede contener informacion clasificada por su emisor como confidencial  en el marco de su Sistema de Gestion de Seguridad de la Informacion siendo para uso exclusivo del destinatario, quedando prohibida su divulgacion copia o distribucion a terceros sin la autorizacion expresa del remitente. Si Vd. ha recibido este mensaje  erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.

______________________

P Please consider the environment before printing this e-mail.

______________________
This message including any attachments may contain confidential 
information, according to our Information Security Management System,
 and intended solely for a specific individual to whom they are addressed.
 Any unauthorised copy, disclosure or distribution of this message
 is strictly forbidden. If you have received this transmission in error,
 please notify the sender immediately and delete it.

______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
 puede contener informacion clasificada por su emisor como confidencial
 en el marco de su Sistema de Gestion de Seguridad de la 
Informacion siendo para uso exclusivo del destinatario, quedando 
prohibida su divulgacion copia o distribucion a terceros sin la 
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje 
 erroneamente, se ruega lo notifique al remitente y proceda a su borrado. 
Gracias por su colaboracion.

______________________



More information about the dovecot mailing list