How can I call a specific script when a user connects to the server or does any other stuff (like read or erase mail)?
At the current time, the only way would be to modify the c-client source code. There is no such feature in c-client today.
-- Mark --
http://staff.washington.edu/mrc Science does not emerge from voting, party politics, or public debate. Si vis pacem, para bellum.