From owner-freebsd-questions@FreeBSD.ORG Wed Jun 30 22:29:30 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 14A3816A4CE for ; Wed, 30 Jun 2004 22:29:30 +0000 (GMT) Received: from grog.secure-computing.net (front-door.secure-computing.net [63.228.14.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6018843D49 for ; Wed, 30 Jun 2004 22:29:29 +0000 (GMT) (envelope-from ecrist@secure-computing.net) Received: from Nomad (nat-server.secure-computing.net [63.228.14.245]) (authenticated bits=0)i5UMS2ei017216; Wed, 30 Jun 2004 17:28:02 -0500 (CDT) (envelope-from ecrist@secure-computing.net) From: "Eric Crist" To: "'Chris Sechiatano'" Date: Wed, 30 Jun 2004 16:59:33 -0500 Message-ID: <000001c45eed$89500780$6501a8c0@Nomad> X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <20040630221547.GA55151@chris-s.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 cc: freebsd-questions@freebsd.org Subject: RE: SASL and Sendmail 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: Wed, 30 Jun 2004 22:29:30 -0000 The idea behind this is to prevent the all-too common "Relaying Denied" message when sending a message from a location outside my network. While there are a number of solutions to this, from VPN to using the local SMTP server for where I am, smtp_auth seemed to fit the bill. It allows me to send mail via my server from where ever I happen to be. Now to make this an SSL/TLS connection instead. Thanks again for everyone's help. Eric F Crist President AdTech Integrated Systems, Inc (612) 998-3588 > -----Original Message----- > From: 'Chris Sechiatano' [mailto:chris@chris-s.com] > Sent: Wednesday, June 30, 2004 5:16 PM > To: Eric Crist > Subject: Re: SASL and Sendmail > > > the authinfo file is for making sendmail into a auth client. > you put your username and password info in that file to > authenticate you against a smtp server. this is only for > relaying mail through another smtp server. > > i'm not sure if you want to sendmail to be an auth client or > auth server, but those lines are basically what you need in > your .mc file. > > > On Wed, Jun 30, 2004 at 04:27:58PM -0500, Eric Crist > wrote: > > What is the stuff at the end about authinfo? > > > > Eric F Crist > > President > > AdTech Integrated Systems, Inc > > (612) 998-3588 > > > > > > > > > -----Original Message----- > > > From: Chris Sechiatano [mailto:chris@chris-s.com] > > > Sent: Wednesday, June 30, 2004 11:20 AM > > > To: Eric Crist > > > Subject: Re: SASL and Sendmail > > > > > > > > > Here's what I added to my .mc file to get AUTH to finally > work. I > > > had to do this to send mail to this list through my SBC DSL SMTP > > > server. > > > > > > sendmail.mc file: > > > -------------------------------------------------------------- > > > --------- > > > FEATURE(`authinfo')dnl > > > FEATURE(`authinfo',`hash -o /etc/mail/authinfo') > > > define(`confAUTH_OPTIONS', `A') define(`confAUTH_MECHANISMS', > > > `DIGEST-MD5 CRAM-MD5 LOGIN PLAIN') TRUST_AUTH_MECH(`DIGEST-MD5 > > > CRAM-MD5 LOGIN PLAIN') > > > > > > authinfo file: > > > -------------------------------------------------------------- > > > --------- > > > AuthInfo:smtp.domain.com "U:smtp_username" > > > "P:smtp_password" "M:PLAIN" > > > > > > Your mileage may vary... > > > > > > > > > > > > On Tue, Jun 29, 2004 at 07:53:54PM -0500, Eric Crist > > > wrote: > > > > How, more specifically, do I enable TLS/SSL in > sendmail, and where > > > > does the 'p' go? > > > > > > > > Thanks for your help. > > > > > > > > Eric F Crist > > > > President > > > > AdTech Integrated Systems, Inc > > > > (612) 998-3588 > > > > > > > > > > > > > > > > > > > -- > Chris Sechiatano > chris@chris-s.com > www.chris-s.com > > PGP Key 0x0021EFA0 >