Add/change settings in config_local.php
 # vi /etc/squirrelmail/config_local.php

 $smtpServerAddress  = 'localhost';
 $smtpPort           = 25;