From owner-freebsd-questions@FreeBSD.ORG Mon Aug 7 18:46:29 2006 Return-Path: X-Original-To: questions@FreeBSD.org 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 34D2216A4DA for ; Mon, 7 Aug 2006 18:46:29 +0000 (UTC) (envelope-from frankstaals@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 67D6643D45 for ; Mon, 7 Aug 2006 18:46:27 +0000 (GMT) (envelope-from frankstaals@gmx.net) Received: (qmail invoked by alias); 07 Aug 2006 18:46:27 -0000 Received: from ip176-173-59-62.adsl.versatel.nl (EHLO [192.168.5.2]) [62.59.173.176] by mail.gmx.net (mp034) with SMTP; 07 Aug 2006 20:46:27 +0200 X-Authenticated: #25365336 Message-ID: <44D78A85.8000301@gmx.net> Date: Mon, 07 Aug 2006 20:46:29 +0200 From: Frank Staals User-Agent: Thunderbird 1.5.0.4 (X11/20060706) MIME-Version: 1.0 To: Greg Groth References: <44D3C56A.60806@gmx.net> <44D77B38.7020002@gmx.net> <44D785C6.10605@gregs-garage.com> In-Reply-To: <44D785C6.10605@gregs-garage.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: questions@FreeBSD.org Subject: Re: Sendmail Question; unable to send mail as normal user 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, 07 Aug 2006 18:46:29 -0000 Greg Groth wrote: >> I've gotten a bit further this weekend but I'm not 'there' yet. I >> could sucessfully send a e-mail by using 'mail' as normal user at my >> server. Allthough when I tried to send an e-mail from my laptop with >> my server as smtp server it kept prompting for my password and this >> is what was displayed in /var/log/maillog : >> >> >> Many thanks, >> > > Telnet to port 25 on the mail server. Once connected, issue an EHLO > command and look for the AUTH line - for example: > > # telnet localhost 25 > Trying ::1... > Connected to localhost.servername.com. > Escape character is '^]'. > 220 mail.servername.com ESMTP Sendmail 8.13.4/8.13.4; Mon, 7 Aug 2006 > 13:11:37 -0500 (CDT) > > EHLO localhost > > 250-mail.servername.com Hello localhost.servername.com [127.0.0.1], > pleased to meet you > 250-ENHANCEDSTATUSCODES > 250-PIPELINING > 250-8BITMIME > 250-SIZE > 250-DSN > 250-ETRN > 250-AUTH PLAIN LOGIN > 250-DELIVERBY > 250 HELP > > If you don't see PLAIN LOGIN, you have a problem in how Sendmail was > compiled. Hmm I guess that sould be the problem then: root@Fstaals$ telnet localhost 25 Trying ::1... Trying 127.0.0.1... Connected to localhost.eu.org Escape character is '^]'. 220 Fstaals.net ESMTP Sendmail 8.13.3/8.13.3; Mon, 7 Aug 2006 20:31:30 +0200 (CE ST) EHLO localhost 250-Fstaals.net Hello localhost.eu.org [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 250-DSN 250-ETRN 250-DELIVERBY 250 HELP I compiled sendmail with the following options: root@Fstaals$ cat /etc/make.conf # SASL (cyrus-sasl v2) sendmail build flags... SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2 SENDMAIL_LDFLAGS=-L/usr/local/lib SENDMAIL_LDADD=-lsasl2 # Adding to enable alternate port (smtps) for sendmail... SENDMAIL_CFLAGS+= -D_FFR_SMTP_SSL # added by use.perl 2006-03-02 22:35:07 PERL_VER=5.8.8 PERL_VERSION=5.8.8 What should I do fix this ? Appart from those lines in /etc/make.conf I didn't change anything regarding to the build of sendmail Regards, -- -Frank Staals