A better solution would be to modify the line mailhub=mail in /etc/ssmtp/ssmtp.conf such that mailhub points to your smtp server.
-- Bernhard > Hey, that's why i had no idea how to spot the glitch... I added a line in > my /etc/hosts file for "mail" aimed at my SMTP server, all better now. > > Thanks! > > Nick > > > -- > Nick Ellson > CCDA, CCNP, CCSP, CCAI, > MCSE 2000, Security+, Network+ > Network Hobbyist, VFR Private Pilot. > > > On Sun, 10 Sep 2006, C F wrote: > >> Take this to sendmail list. this is not an asterisk problem. In any >> case it looks like it's trying to send email to host mail on port 25 >> and it's failing. Try doing a telnet mail 25 and see what happens. >> >> On 9/10/06, Nick Ellson <grimm at nickellson.com> wrote: >>> >>> OK, help.. Am not sure where this is not configured right. I followed the >>> voicemail.conf directions, even tried specifying sendmail -t directly. >>> >>> My sendmail mail log shows: >>> >>> Sep 10 17:19:26 goonie sSMTP[4439]: Unable to locate mail >>> Sep 10 17:19:26 goonie sSMTP[4439]: Cannot open mail:25 >>> >>> Nick >>> >>> >>> >>> -- >>> Nick Ellson >>> CCDA, CCNP, CCSP, CCAI, >>> MCSE 2000, Security+, Network+ >>> Network Hobbyist, VFR Private Pilot. >>> >>> _______________________________________________ >>> --Bandwidth and Colocation provided by Easynews.com -- >>> >>> asterisk-users mailing list >>> To UNSUBSCRIBE or update options visit: >>> http://lists.digium.com/mailman/listinfo/asterisk-users >>> >> _______________________________________________ >> --Bandwidth and Colocation provided by Easynews.com -- >> >> asterisk-users mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users