From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] SMTP mail From: nigel@9fs.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-dgtqwzufmmdgoeziaziuiuiyao" Message-Id: Date: Tue, 19 Dec 2000 10:05:30 +0000 Topicbox-Message-UUID: 3a265f64-eac9-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-dgtqwzufmmdgoeziaziuiuiyao Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit OK. So your listener is working. So /rc/bin/service/tcp25 is the next place to look. What does it say? You could put 'echo tcp25 running >>/sys/log/whatever' before the smtpd line to prove that tcp25 is executed. It's likely though that there is a problem running upas/smtpd. If you read the code (src smtpd works well) you will see that before smtpd writes to the /sys/log/smtpd file it checks the incoming IP address to see if it is banned. It then opens the log file. If that fails then you get no logging. Go play! Take advantage of having the source code. Nigel --upas-dgtqwzufmmdgoeziaziuiuiyao Content-Type: message/rfc822 Content-Disposition: inline Received: from mail.cse.psu.edu ([130.203.4.6]) by cpu; Tue Dec 19 09:36:42 GMT 2000 Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.18.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 76598199DC; Tue, 19 Dec 2000 04:34:07 -0500 (EST) Received: from localhost.local (localhostnl.demon.nl [195.11.248.215]) by mail.cse.psu.edu (CSE Mail Server) with SMTP id 09388199D5 for <9fans@cse.psu.edu>; Tue, 19 Dec 2000 04:33:48 -0500 (EST) Received: (qmail 261 invoked by uid 1001); 19 Dec 2000 09:30:26 -0000 From: "William Staniewicz" To: 9fans@cse.psu.edu Subject: Re: [9fans] SMTP mail Message-ID: <20001219103026.A223@localhost.local> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from nigel@9fs.org on Tue, Dec 19, 2000 at 07:39:28AM +0000 Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Help: List-Post: List-Subscribe: , List-Id: Fans of the O/S Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Unsubscribe: , List-Archive: Date: Tue, 19 Dec 2000 10:30:26 +0100 On Tue, Dec 19, 2000 at 07:39:28AM +0000, nigel@9fs.org wrote: > Yes, it is obvious that > > 1) your listener is not running (check for existence of /rc/bin/service/tcp25) yes, it exists > 2) the listener cannot launch /rc/bin/service/tcp25 > 3) upas/smtpd fails to run to the point at which it writes out the banner > > > Make sure the file /sys/log/listen exists and is append only and world read/write. Here is part of the content of "/sys/log/listen" as I was trying to start aux/listen via different combinations. "aux/listen tcp" looks like worked OK. Dec 19 00:43:58 started Dec 19 00:47:10 tcp call for tcp25 on chan /net/tcp/18 (194.159.73.25) Dec 19 00:52:12 tcp call for tcp25 on chan /net/tcp/18 (194.159.73.25) Dec 19 00:56:24 started Dec 19 00:57:10 tcp call for tcp25 on chan /net/tcp/18 (194.159.73.25) Dec 19 01:30:56 started Dec 19 01:43:35 started Dec 19 01:48:54 started Maybe my /ndb/local is missing something (or badly written by me) causing nothing to connect right? (speculation) Bill --upas-dgtqwzufmmdgoeziaziuiuiyao--