From owner-freebsd-questions@FreeBSD.ORG Tue Dec 14 06:30:34 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5645C16A4CE for ; Tue, 14 Dec 2004 06:30:34 +0000 (GMT) Received: from ms-smtp-02-eri0.socal.rr.com (ms-smtp-02-qfe0.socal.rr.com [66.75.162.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1714243D46 for ; Tue, 14 Dec 2004 06:30:34 +0000 (GMT) (envelope-from gwschenk@socal.rr.com) Received: from [192.168.1.103] (cpe-66-74-147-103.socal.rr.com [66.74.147.103])iBE6UV6V017539 for ; Mon, 13 Dec 2004 22:30:32 -0800 (PST) Message-ID: <41BE887E.8090704@socal.rr.com> Date: Mon, 13 Dec 2004 22:30:22 -0800 From: Gary Schenk User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: ssmtp fails to open smtp server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2004 06:30:34 -0000 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