From owner-freebsd-questions@FreeBSD.ORG Wed Dec 3 00:59:15 2003 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 7A43A16A4CE for ; Wed, 3 Dec 2003 00:59:15 -0800 (PST) Received: from pmesmtp02.wcom.com (pmesmtp02.wcom.com [199.249.20.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D7EF43FA3 for ; Wed, 3 Dec 2003 00:59:14 -0800 (PST) (envelope-from Nelson.keith.Headley@mci.com) Received: from pmismtp05.wcomnet.com ([166.38.62.53]) by firewall.wcom.com (Iplanet MTA 5.2) with ESMTP id <0HPB00E739OGUT@firewall.wcom.com> for questions@FreeBSD.org; Wed, 03 Dec 2003 08:45:52 +0000 (GMT) Received: from pmismtp05.wcomnet.com by pmismtp05.wcomnet.com (iPlanet Messaging Server 5.1 HotFix 0.7 (built May 7 2002)) questions@FreeBSD.org; Wed, 03 Dec 2003 08:45:52 +0000 (GMT) Received: from XS476V7234040 ([166.38.166.10])(built May 7 2002)) with SMTP id <0HPB00B339OF14@pmismtp05.wcomnet.com> for questions@FreeBSD.org; Wed, 03 Dec 2003 08:45:52 +0000 (GMT) Date: Wed, 03 Dec 2003 00:45:48 -0800 From: Nelson Headley To: questions@FreeBSD.org Message-id: <003401c3b979$da83fbd0$0aa626a6@wcomnet.com> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Subject: My SENDMAIL is not working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nelson.keith.Headley@mci.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2003 08:59:15 -0000 I have a FreeBSD system running as a server for a demo network. It is not connected to any ISP network. The system has domain voiprs.com and the hostname set to server.voiprs.com. The IP addresses are localhost 127.0.0.1, server.voiprs.com 192.168.2.100. I have the following applications running: Apache Web Server running OK. PHP version 4 running OK. MySQL running OK. SER (VOIP SIP Server) 0.8.10 running OK. SENDMAIL is running NAMED is running When I try to send mail locally, I get a "localhost.voiprs.com timed out" failure. I'm typing mail -v sipserver@voiprs.com (a username on the system, and a valid mailbox) Subject: test test The system tries to relay the message once it can connect to local.voiprs.com, but times out after 5 mintues. If I try to connect via TELNET (voiprs.com port 25) from a PC running Windows 98 on the network, I can connect (HELO) voiprs.com, MAIL From: keith@voiprs.com, RCPT To: root@voiprs.com, DATA, type in a test message, and it sends it. The server.voiprs.com reports a relay error and the message is discarded. I believe I have the DNS set up OK. NAMED.CONF // $FreeBSD$ // options { directory "/etc/namedb"; /* forwarders { 127.0.0.1; }; */ /* host { any; } { topology { 127.0.0.0/8; }; }; */ zone "voiprs.com" { type master; file "voiprs.com"; }; zone "2.168.192.IN-ADDR.ARPA" { type master; file "voiprs.com.rev"; }; zone "." { type hint; file "named.root"; }; zone "0.0.127.IN-ADDR.ARPA" { type master; file "localhost.rev"; }; zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.INT" { type master; file "localhost.rev"; }; /* zone "example.com" { type slave; file "s/example.com.bak"; masters { 192.168.1.1; }; }; zone "0.168.192.in-addr.arpa" { type slave; file "s/0.168.192.in-addr.arpa.bak"; masters { 192.168.1.1; }; }; */ ZONE FILE (voiprs.com) $TTL 3600 voiprs.com. IN SOA server.voiprs.com. root.voiprs.org. ( 5 ; Serial 10800 ; Refresh 3600 ; Retry 604800 ; Expire 86400 ) ; Minimum TTL ; DNS Servers @ IN NS server.voiprs.com. ; Machine Names localhost IN A 127.0.0.1 server IN A 192.168.2.100 mail IN A 192.168.2.100 @ IN A 192.168.2.100 ; Aliases www IN CNAME @ ; MX Record @ IN MX 10 mail.voiprs.com. ZONE FILE for ARPA (voiprs.com.rev) $TTL 3600 2.168.192.in-addr.arpa. IN SOA server.voiprs.com. root.voiprs.com, ( 5 ; Serial 10800 ; Refresh 3600 ; Retry 604800 ; Expire 3600 ) ; Minimum @ IN NS server.voiprs.com. 100 IN PTR server.voiprs.com RESOLV.conf search voiprs.com nameserver 127.0.0.1 nameserver 192.168.2.100 I set up the SENDMAIL program per the instructions on the FreeBSD web site. I did the following: rc.conf has sendmail_enable="YES" make cf (no changes to FreeBSD.mc) make install editted access to allow 192.168 relay and did make maps make aliases (no changes) made file /etc/mail/local-host-names and added voiprs.com and mail.voiprs.com did make restart Nelson Headley DMG/DMI/DOH Operations INET 723-1931 (310) 894-1931