From owner-freebsd-questions@FreeBSD.ORG Mon Aug 7 17:41:13 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 F3EB216A4DA for ; Mon, 7 Aug 2006 17:41:12 +0000 (UTC) (envelope-from frankstaals@gmx.net) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 0DB9A43D49 for ; Mon, 7 Aug 2006 17:41:11 +0000 (GMT) (envelope-from frankstaals@gmx.net) Received: (qmail invoked by alias); 07 Aug 2006 17:41:10 -0000 Received: from ip176-173-59-62.adsl.versatel.nl (EHLO [192.168.5.2]) [62.59.173.176] by mail.gmx.net (mp020) with SMTP; 07 Aug 2006 19:41:10 +0200 X-Authenticated: #25365336 Message-ID: <44D77B38.7020002@gmx.net> Date: Mon, 07 Aug 2006 19:41:12 +0200 From: Frank Staals User-Agent: Thunderbird 1.5.0.4 (X11/20060706) MIME-Version: 1.0 To: questions@FreeBSD.org References: <44D3C56A.60806@gmx.net> In-Reply-To: <44D3C56A.60806@gmx.net> X-Y-GMX-Trusted: 0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: 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 17:41:13 -0000 Frank Staals wrote: > I tried to setup my own mail and smtp-server with help from this > webpage: http://www.puresimplicity.net/~hemi/freebsd/sendmail.html . > I sucessfully installed imap-uw and I got it up successfully. > Allthough the stmp-part doesn't work for 100% yet: I can send mail as > root : > Thanks in advance Jonathan Horne wrote: > greetings frank, this reply is out of the list. > > you need to at a minimum take a look at the file /etc/mail/access, or, as an > even better alternative, consider installing/configuring sasl2-saslauthd and > have people who send thru authenticate via plain. > > if you would like to see an article i wrote on this, if you follow it line by > line, you should have no problems getting it to work. > > http://dfwlpiki.dfwlp.org/index.php/Deploying_a_FreeBSD_Server#Configuring_Mail_Services > > if i can be of any assistance with my article, feel free to drop me a line. i > can be reached via this email address, or on aim/yahoo as LoudRedZ71. > > cheers and good luck, > jonathan > > On Friday 04 August 2006 17:08, you wrote: > >> I tried to setup my own mail and smtp-server with help from this >> > > > 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 : Aug 5 11:40:36 FStaals sm-mta[101]: k759eEva000101: Riza.FStaals.LAN [192.168.2.5] did not issue MAIL/EXPN/VRFY/ETRN during connection to IPv4 When I googled if I could find a solution I came to this page : http://www.issociate.de/board/post/246978/did_not_issue_MAIL/EXPN/VRFY/ETRN_during_connection_to_MTA.html The solution oppered there was to add ' mech_list: login plain' to /usr/local/lib/sasl2/Sendmail.conf . So I did and it kind of worked, allthough now I can only send e-mail to other users at my server ( for example root ), when I try to mail to an external adress my log 'says' my message is rejected: Aug 5 13:10:30 FStaals sm-mta[1495]: k75BATko001495: ruleset=check_rcpt, arg1=< frankstaals@gmx.net>, relay=Riza.FStaals.LAN [192.168.2.5], reject=550 5.7.1 ... Relaying denied Aug 5 13:10:34 FStaals sm-mta[1495]: k75BATko001495: lost input channel from Ri za.FStaals.LAN [192.168.2.5] to IPv4 after rcpt Aug 5 13:10:34 FStaals sm-mta[1495]: k75BATko001495: from=, size=373, class=0, nrcpts=0, proto=ESMTP, daemon=IPv4, relay=Riza.FStaals.LAN [1 92.168.2.5] I'm not sure what I have to do to get working correctly and I was hoping someone could give me some hints what I'm doing wrong. Also I'm not sure if it's a good idea to add the 'mech_list: login plain' to sasl2's Sendmail.conf ? Last but not least : I want sendmail to use SSL and listen to port 465. sockstat shows It isn't listening to that port, but I think it should, does anyone happen to know what it is I'm doing wrong at that point: root@FStaals$ sockstat -4 | grep sendmail root sendmail 1410 3 tcp4 *:25 *:* root sendmail 1410 5 tcp4 *:587 *:* root@FStaals$ cat /etc/mail/FStaals.net.cf | grep smtps O DaemonPortOptions=Port=smtps, Name=TLSMTA, M=s Many thanks, -- -Frank Staals -- -Frank Staals