From owner-freebsd-questions@FreeBSD.ORG Mon Feb 13 15:29:06 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AF0B1065676 for ; Mon, 13 Feb 2012 15:29:06 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id D94698FC16 for ; Mon, 13 Feb 2012 15:29:05 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q1DFSw8G012174 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 13 Feb 2012 15:28:58 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.3 smtp.infracaninophile.co.uk q1DFSw8G012174 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1329146938; bh=jhlplKO7Ly/tqpnKYlHJYZZ7XZMM2ayx2oHpiT9P6So=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=Mqvjg96kJi73DZNd9w+7Yz7uY1IfufWXlk8qD3N4nCjI/yvIzhRJWxaDHfKKnSMmn QeDnIZEATzm6mMBLg2228qbw4v9yAnnfVVKkNMnNURQJ8WzgBiBjiRFvzk9rv94uMw ylGV1IS4+2cA9+MZ/bht9g893elhz4Vb+Ll8yRJI= Message-ID: <4F392C2D.70900@infracaninophile.co.uk> Date: Mon, 13 Feb 2012 15:28:45 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4F39278A.8040502@bananmonarki.se> In-Reply-To: <4F39278A.8040502@bananmonarki.se> X-Enigmail-Version: 1.3.5 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig220DAA64F3CE3557C1E7AD86" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: Using sendmail as a client with auth X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Feb 2012 15:29:06 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig220DAA64F3CE3557C1E7AD86 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 13/02/2012 15:08, Bernt Hansson wrote: > Is this is OT then i'm sorry. >=20 > Trying to get sendmail act as a mua, following this tutorial >=20 > http://www.sendmail.org/~ca/email/auth.html >=20 > Scroll down a bit to Using send.... >=20 > Is it really necessary to install cycrus-sasl2? >=20 > How do one make sendmail to pick sasl2 up when building sendmail. > Is there a make.conf line I must add? When telnetting auth works > but using telnet to send mail has a very low WAF. >=20 > I've installed cyrus-sasl2 but then what. Yes -- you do need cyrus-sasl2 for this purpose. To build sendmail with SASL, either use the ports version in mail/sendmail, where you can select SASL as one of the options, or add: SENDMAIL_CFLAGS=3D-I/usr/local/include -DSASL=3D2 SENDMAIL_LDFLAGS=3D-L/usr/local/lib SENDMAIL_LDADD=3D-lsasl2 to /etc/make.conf -- see /usr/share/examples/etc/make.conf for more details. This will give you a SASL-enabled base system sendmail once you rebuild it. Note that the second choice makes your base system dependent on stuff external to it, which may or may not be desirable. Oh, and before anyone else chimes in with a knee-jerk reaction about using sendmail: there are other MTAs that can provide this functionality. As an alternative, either postfix or exim could do what you want too. Sendmail works just fine for me though. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig220DAA64F3CE3557C1E7AD86 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk85LDkACgkQ8Mjk52CukIxS7QCfVQ1E4Zkn0OzbSsy8r3ikqPxo SAYAnRgUNGPo27JIhQlzpwrR58/FiT4S =dXYx -----END PGP SIGNATURE----- --------------enig220DAA64F3CE3557C1E7AD86--