On Friday 13 June 2003 02:10 am, Ako Ito wrote:
> only problem which my boss sees on .forward
> is we have to create it manually whenever a new user is created.. 
> or could this be automatically done whenever a new a new user is 
> created on the openldap database.

i haven't used openldap myself.  i would say though that, in general,
there should be hooks in there so that you could add scripts so that
the .forward could be created (sorry, can't test or look around, it's not
installed on my notebook).  even if you can't do that, you can have a 
cron job which creates the .forward file if it doesn't exist yet.

note: there are still complications.  if the forwarding email address in
openldap is *changed* you also need to trap that event and modify
the user's .forward.  and there are the race conditions you'd expect if
you tried to do the updating in batch mode, and there are the
(possible) performance issues if you try to do runtime openldap
lookup of the destination email address.

good luck.

tiger

-- 
Gerald Timothy Quimpo  gquimpo*hotmail.com tiger*sni*ph
Public Key: "gpg --keyserver pgp.mit.edu --recv-keys 672F4C78"
    The liar at any rate recognizes that recreation, not instruction, is
     the aim of conversation, and is a far more civilised being than the
     blockhead who loudly expresses his disbelief in a story which is
     told simply for the amusement of the company.
                                Oscar Wilde
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to