I have recently set up an old box with Ubuntu 12.10 and LAMP running on it. I am using php as my cron jobs and would like to send an email as part of the scripts. I have set up sSMTP / Sendmail instead of a full mail server because there is already an Outlook 2010 server running on the network and do not want to cause any issues with that in regards to receiving mail.
I have input the correct details into ssmtp.conf but I keep getting the error: 'Cannot open ip:25'
In the conf file I believe it is the mailhub setting, within this setting I have tried using the local and external IP address for the exchange server, I have also tried using the domain mail.*.co.uk
I have searched and searched but cannot find any help in regards to this problem, everyone seems to forward there smtp to google but the data I will email will be private and would much rather do it locally for security reasons.
Thank you so much for reading,