From owner-freebsd-questions@FreeBSD.ORG Tue Dec 14 12:49:10 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 5F94216A4CE for ; Tue, 14 Dec 2004 12:49:10 +0000 (GMT) Received: from catflap.slightlystrange.org (cpc2-cmbg1-3-0-cust94.cmbg.cable.ntl.com [213.107.104.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBB5643D55 for ; Tue, 14 Dec 2004 12:49:09 +0000 (GMT) (envelope-from danielby@slightlystrange.org) Received: from danielby by catflap.slightlystrange.org with local (Exim 4.43 (FreeBSD)) id 1CeC73-000NqH-50 for freebsd-questions@freebsd.org; Tue, 14 Dec 2004 12:49:09 +0000 Date: Tue, 14 Dec 2004 12:49:09 +0000 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20041214124908.GB57285@catflap.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <41BE887E.8090704@socal.rr.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1LKvkjL3sHcu1TtY" Content-Disposition: inline In-Reply-To: <41BE887E.8090704@socal.rr.com> User-Agent: Mutt/1.4.2.1i Subject: Re: ssmtp fails to open smtp server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2004 12:49:10 -0000 --1LKvkjL3sHcu1TtY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 13, 2004 at 10:30:22PM -0800, Gary Schenk wrote: > I need help, I'm out of ideas. I've just installed 5.3: >=20 > bash-2.05b$ uname -a > FreeBSD fuzz.socal.rr.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5= =20 > 04:19:18 UTC 2004=20 > root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >=20 > My email is working fine with Mozilla, however I'd like to get mutt=20 > working. The problem is sending email with mutt. I first tried to make a= =20 > custom sendmail.cf file as outlined in the handbook vol.II page 334. I=20 > wrote the file, and then tried to follow the instructions on page 332 to= =20 > make a valid sendamil.cf file. When I tried the command: >=20 > 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 This is actually to be found in /usr/src/contrib/sendmail/cf/cf/ > The handbook on the web was no different. So that had me stuck. Reading= =20 > further I saw ssmtp might be the solution to my problems. As shown in=20 > the handbook I installed ssmtp with 'make install replace clean' Then=20 > did 'make replace' as per the message after installing. I then edited=20 > the rc.conf file: >=20 [---snip---] > sendmail_enable=3D"NONE" >=20 > And then created a ssmtp.conf file thusly: >=20 > su-2.05b# more /usr/local/etc/ssmtp/ssmtp.conf > root=3Dgwschenk@socal.rr.com > mailhub=3Dsmtp-server@socal.rr.com > rewriteDomain=3Dsocal.rr.com > hostname=3Dfuzz.socal.rr.com >=20 > When I installed, I gave my machine a hostname that I thought might help= =20 > me fool sendmail into working for me. >=20 > su-2.05b# hostname > fuzz.socal.rr.com >=20 > When I try to send mail from mutt I get these errors in /var/log/maillog: >=20 > 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 >=20 > I've botched something up, but don't know what. Any ideas? It looks to me as if mailhub should be an fqdn of a mail relay server, not an email address... Dan --=20 Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3B9D 8BBB EB03 BA83 5DB4 3B88 86FC F03A 90A1 BE8F _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --1LKvkjL3sHcu1TtY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBvuFEhvzwOpChvo8RAtWsAKCrxXkqKQmj3iucFb1yx4o1RQ87WgCcDRSo nucxKAJjAl1K1NSsoWIOhmA= =dFsA -----END PGP SIGNATURE----- --1LKvkjL3sHcu1TtY--