From owner-freebsd-questions@FreeBSD.ORG Tue Oct 5 12:22:14 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 3A7CE16A4ED for ; Tue, 5 Oct 2004 12:22:14 +0000 (GMT) Received: from mx1.sohotech.ca (mx1.sohotech.ca [64.26.169.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id A23E043D58 for ; Tue, 5 Oct 2004 12:22:13 +0000 (GMT) (envelope-from ebudd@grokking.org) Received: from [192.168.1.3] (heinlein.sohotech.ca [192.168.1.3]) (authenticated bits=0) by mx1.sohotech.ca (8.12.10/8.12.10) with ESMTP id i95CMC7n000112; Tue, 5 Oct 2004 08:22:12 -0400 (EDT) (envelope-from ebudd@grokking.org) Message-ID: <416291F4.5040005@grokking.org> Date: Tue, 05 Oct 2004 08:22:12 -0400 From: Ed Budd User-Agent: Mozilla Thunderbird 0.8 (X11/20040916) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Andreas_Wider=F8e_Andersen?= References: <6.1.2.0.2.20041005133806.02180e20@malibu.wideroe.net> In-Reply-To: <6.1.2.0.2.20041005133806.02180e20@malibu.wideroe.net> X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.44 cc: freebsd-questions@freebsd.org Subject: Re: Mail auth and FreeBSD/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: Tue, 05 Oct 2004 12:22:14 -0000 Andreas Widerĝe Andersen wrote: > Hi all, > I'm running FreeBSD 4.7 Stable on one of my servers and Sendmail > 8.12.10. I'm trying to get mail auth to work so that my users can send > mail (smtp port 25) through this server no matter which net they are > connected to. I have installed cyrus-sasl-1.5.28_3 and followed the > description given on this page > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html. > Everything seems to work and all tests give the expected results. > > I have also looked at this page > http://www.sendmail.org/~ca/email/auth.html and done the initial test: > > #telnet localhost 25 > Trying ::1... > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > 220 my.server.com ESMTP Sendmail 8.12.10/8.12.10; Tue, 5 Oct 2004 > 13:31:13 +0200 (CEST) > ehlo localhost > 250-my.server.com Hello localhost [127.0.0.1], pleased to meet you > 250-ENHANCEDSTATUSCODES > 250-PIPELINING > 250-8BITMIME > 250-SIZE > 250-DSN > 250-ETRN > 250-AUTH DIGEST-MD5 CRAM-MD5 LOGIN > 250-DELIVERBY > 250 HELP > > When I'm testing sending mail through this server (as smtp server) I use > Eudora 6.1 from my WinXP PC. I always get relaying denied and it doesn't > seem to check username/password. > > Here's what my logfile and Eudora log says: > > Oct 5 13:35:18 myserver sendmail[59394]: i95BZIow059394: > ruleset=check_rcpt, arg1=, > relay=my.ip.address.domain.com [x.x.x.x], reject=550 5.7.1 > ... Relaying denied. Proper authentication required. > > I would be very grateful for any help here. I'm stuck and I don't know > what to check next. > Try adding 'PLAIN' to the list of allowed authentications in your sendmail *.mc file, rebuild, and restart sendmail. Then test to see that it's advertised like you did above... Hope that helps, EB