From owner-freebsd-questions@FreeBSD.ORG Thu Oct 28 15:39:56 2010 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 24746106566B for ; Thu, 28 Oct 2010 15:39:56 +0000 (UTC) (envelope-from ws@au.dyndns.ws) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by mx1.freebsd.org (Postfix) with ESMTP id 9D5068FC27 for ; Thu, 28 Oct 2010 15:39:55 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApEBAE80yUyWZWdv/2dsb2JhbAAH4jaDDgGCOQQ Received: from ppp103-111.static.internode.on.net (HELO [192.168.1.144]) ([150.101.103.111]) by ipmail07.adl2.internode.on.net with ESMTP; 29 Oct 2010 02:09:54 +1030 From: Wayne Sierke To: Christopher Illies In-Reply-To: References: Content-Type: text/plain; charset="ASCII" Date: Fri, 29 Oct 2010 02:09:50 +1030 Message-ID: <1288280390.32933.128.camel@predator-ii.buffyverse> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: Sendmail as client via smarthost and ssl 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: Thu, 28 Oct 2010 15:39:56 -0000 On Thu, 2010-10-28 at 14:49 +0200, Christopher Illies wrote: > Not knowing much about sendmail, I tried google and more or less > blindly followed suggestions. Here is what I have done so far, but > sending email still does not work: > > 1. recompiled sendmail with sasl by adding the following lines to > /etc/make.conf + installing security/cyrus-sasl2 + recompiling > sendmail: > > SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2 > SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 > > 2. Adding the following line to my mc file (+ make all install > restart): > > define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 > LOGIN PLAIN')dnl FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl > > dnl Set port define(`RELAY_MAILER_ARGS', `IPC $h 587') I can't speak to the validity of the technique that you're attempting to use, however the 'dnl' directive is an instruction to ignore the rest of the line (c.f. '#' in shell scripts, etc., in fact I believe 'dnl' is a mnemonic for something like "delete to newline" or "discard to newline"). In which case these are probably intended to be: define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl FEATURE(`authinfo',`hash /etc/mail/auth/client-info')dnl dnl Set port define(`RELAY_MAILER_ARGS', `IPC $h 587')dnl Wayne