From owner-freebsd-questions@FreeBSD.ORG Mon Aug 7 17:50:35 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 7CD9416A590 for ; Mon, 7 Aug 2006 17:50:35 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-142-072.chi1.dsl.speakeasy.net [64.81.142.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EA8043D5D for ; Mon, 7 Aug 2006 17:50:20 +0000 (GMT) (envelope-from derek@computinginnovations.com) Received: from p17.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.6/8.12.11) with ESMTP id k77HnmtL095552; Mon, 7 Aug 2006 12:49:50 -0500 (CDT) Message-Id: <6.0.0.22.2.20060807124414.0266faa8@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Mon, 07 Aug 2006 12:49:30 -0500 To: Frank Staals , questions@freebsd.org From: Derek Ragona In-Reply-To: <44D77B38.7020002@gmx.net> References: <44D3C56A.60806@gmx.net> <44D77B38.7020002@gmx.net> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed 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:50:35 -0000 Make sure you have the following files in /etc/mail setup: local-host-names domaintable mailertable These last two need a database file too which is make by: /usr/sbin/makemap hash domaintable < domaintable /usr/sbin/makemap hash mailertable < mailertable -Derek At 12:41 PM 8/7/2006, Frank Staals wrote: >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 ankstaals@gmx.net>... 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 > > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.