Date: Mon, 13 Dec 2004 22:30:22 -0800 From: Gary Schenk <gwschenk@socal.rr.com> To: freebsd-questions@freebsd.org Subject: ssmtp fails to open smtp server Message-ID: <41BE887E.8090704@socal.rr.com>
next in thread | raw e-mail | index | archive | help
I need help, I'm out of ideas. I've just installed 5.3: bash-2.05b$ uname -a FreeBSD fuzz.socal.rr.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 My email is working fine with Mozilla, however I'd like to get mutt working. The problem is sending email with mutt. I first tried to make a custom sendmail.cf file as outlined in the handbook vol.II page 334. I wrote the file, and then tried to follow the instructions on page 332 to make a valid sendamil.cf file. When I tried the command: su-2.05b# cd /usr/src/usr.sbin/sendmail/cf/cf su: cd: /usr/src/usr.sbin/sendmail/cf/cf: No such file or directory The handbook on the web was no different. So that had me stuck. Reading further I saw ssmtp might be the solution to my problems. As shown in the handbook I installed ssmtp with 'make install replace clean' Then did 'make replace' as per the message after installing. I then edited the rc.conf file: # -- sysinstall generated deltas -- # Fri Dec 10 06:18:23 2004 # Created: Fri Dec 10 06:18:23 2004 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. defaultrouter="***.**.**.**" hostname="fuzz.socal.rr.com" ifconfig_rl0="inet **.**.**.** netmask 255.255.255.0" linux_enable="YES" lpd_enable="YES" moused_enable="YES" named_enable="YES" ntpdate_enable="YES" ntpdate_flags="ntp.ucsd.edu" saver="blank" sshd_enable="YES" svr4_enable="YES" usbd_enable="YES" sendmail_enable="NONE" And then created a ssmtp.conf file thusly: su-2.05b# more /usr/local/etc/ssmtp/ssmtp.conf root=gwschenk@socal.rr.com mailhub=smtp-server@socal.rr.com rewriteDomain=socal.rr.com hostname=fuzz.socal.rr.com When I installed, I gave my machine a hostname that I thought might help me fool sendmail into working for me. su-2.05b# hostname fuzz.socal.rr.com When I try to send mail from mutt I get these errors in /var/log/maillog: Dec 13 21:55:44 fuzz sSMTP[525]: Unable to locate smtp-server@socal.rr.com Dec 13 21:55:44 fuzz sSMTP[525]: Cannot open smtp-server@socal.rr.com:25 Dec 13 22:00:25 fuzz sSMTP[629]: Unable to locate smtp-server@socal.rr.com Dec 13 22:00:25 fuzz sSMTP[629]: Cannot open smtp-server@socal.rr.com:25 I've botched something up, but don't know what. Any ideas? Thanks! Gary
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41BE887E.8090704>