If this is a new installation, you should consider a "vacation" solution that enables the user itself to enable/disable this feature, easily, otherwise it's under Administrator control to setup this information when needed, for all users.
Check squirrelmail, vacation plugins, and the requirements.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?