From owner-freebsd-questions Sat Jan 18 10:40:47 2003 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 6D14E37B401 for ; Sat, 18 Jan 2003 10:40:44 -0800 (PST) Received: from chimera.noanet.net (chimera.noanet.net [66.119.192.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id D35A943F5B for ; Sat, 18 Jan 2003 10:40:43 -0800 (PST) (envelope-from mksmith@noanet.net) Received: from mkssony ([64.146.175.72]) by chimera.noanet.net (8.12.2/8.12.2) with SMTP id h0IIecVT059632; Sat, 18 Jan 2003 10:40:38 -0800 (PST) Reply-To: From: "Michael K. Smith" To: "'Cowz Rule'" Cc: Subject: RE: Internal mail not working Date: Sat, 18 Jan 2003 10:40:35 -0800 Organization: NoaNet Message-ID: <000101c2bf21$1703b4a0$5e015140@mkssony> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 In-Reply-To: <1042884066.401.2.camel@bathory> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG You should add the following to your /etc/hosts file: 127.0.0.1 localhost localhost.my.domain You don't have any reference between the name "localhost" and the 127 address. Mike Michael K. Smith NoaNet 206.219.7116 (work) 206.579.8360 (cell) mksmith@noanet.net http://www.noanet.net -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Cowz Rule Sent: Saturday, January 18, 2003 2:01 AM To: FreeBSD-Questions@FreeBSD.ORG Subject: Internal mail not working #uname -a FreeBSD bathory.aria 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jun 11 06:14:12 GMT 2002 =20 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386 I'm having problems getting my internal mail working. What I'm trying to = do is email another internal user. #mail cowz Subject: Test Testing... . EOT # It never makes it to the user. After some investigation i found /var/log/maillog: Jan 18 01:34:53 bathory sm-mta[90]: starting daemon (8.12.3): SMTP+queueing@00:30:00 Jan 18 01:34:53 bathory sm-msp-queue[93]: starting daemon (8.12.3): queueing@00:30:00 Jan 18 01:35:32 bathory sendmail[155]: h0I9ZW0D000155: from=3Droot, size=3D33, class=3D0, nrcpts=3D1, msgid=3D<200301180935.h0I9ZW0D000155@bathory.aria>, = relay=3Droot@localhost Jan 18 01:35:32 bathory sendmail[155]: h0I9ZW0D000155: to=3Dcowz, = ctladdr=3Droot (0/0), delay=3D00:00:00, xdelay=3D00:00:00, mailer=3Drelay, pri=3D30025, relay=3D[localhost], dsn=3D4.0.0, stat=3DDeferred: Name server: [localhost]: host name lookup failure Jan 18 01:35:33 bathory sm-msp-queue[95]: h0I9U923000154: to=3Dcowz, ctladdr=3Droot (0/0), delay=3D00:05:24, xdelay=3D00:00:00, = mailer=3Drelay, pri=3D120027, relay=3D[localhost], dsn=3D4.0.0, stat=3DDeferred: Name = server: [localhost]: host name lookup failure I assume the localhost is the problem but i cant figure out where to = change that setting. My /etc/hosts looks: 127.0.0.1 bathory bathory.aria ::1 bathory bathory.aria 192.168.0.203 bathory bathory.aria And in my /etc/rc.conf i have hostname=3D"bathory.aria" My sendmail configuration looks like this(/etc/rc.conf): mta_start_script=3D"/etc/rc.sendmail" sendmail_enable=3D"YES" sendmail_flags=3D"-L sm-mta -bd -q30m" # Flags to sendmail (as a server) sendmail_submit_enable=3D"YES" # Start a localhost-only MTA for mail submission sendmail_submit_flags=3D"-L sm-mta -bd -q30m -ODaemonPortOptions=3DAddr=3Dlocalhost`" sendmail_outbound_enable=3D"YES" sendmail_outbound_flags=3D"-L sm-queue -q30m" sendmail_msp_queue_enable=3D"YES"=09 sendmail_msp_queue_flags=3D"-L sm-msp-queue -Ac -q30m" This is the default configureation with 4.6 i assumed it would work. The = one possible sollution i came up with was chaging the=20 sendmail_submit_flags=3D"-L sm-mta -bd -q30m -ODaemonPortOptions=3DAddr=3Dlocalhost" to sendmail_submit_flags=3D"-L sm-mta -bd -q30m -ODaemonPortOptions=3DAddr=3Dbathory.aria" but that doesnt work. Will someone please help me out. I have no idea = what to do ` To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message