Configuring outgoing emails: http://osticket.com/wiki/Email_Settings#Outgoing_Emails(http://osticket.com/wiki/Email_Settings#Outgoing_Emails)
Then turn on the appropriate autoresponders and alerts in admin panel > settings (which you can override at the department level, should you desire).