From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ish Rattan To: <9fans@cse.psu.edu> In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [9fans] Re: Incoming mail.. Date: Thu, 16 May 2002 11:15:54 -0400 Topicbox-Message-UUID: 9457a4ce-eaca-11e9-9e20-41e7f4b1d025 Problem seems to be due to sysname not being set by /rc/bin/cpurc. If I do ndb/cs after the box has booted, the name is set as confirmed by cat /dev/sysname and incoming mail also works! -ishwar On Thu, 16 May 2002, Ish Rattan wrote: > > I am trying mail. I am using the /mail/lib files remotemail, rewrite > and smtpd.conf from v3 (as it works correctly there). Sending mail > out from box works but incoming mail has a problem shown below. > Rewrite file is also included. > > -ishwar > --- > Mail to `shardi.cps.cmich.edu!bootes' from 'pali.cps.cmich.edu!ishwar' failed. > The error message was: > possible forward loop > The message began: > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:19 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:19 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:19 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:18 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:18 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:18 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:17 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:17 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:17 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:16 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:16 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:16 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:16 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:15 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:15 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:15 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:14 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:14 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:14 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:14 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:14 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:14 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:14 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:14 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:13 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:13 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:13 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:13 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:13 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:13 EDT 2002 > Received: from 141.209.131.87 ([141.209.131.87]) by kremvax; Thu May 16 18:36:13 EDT 2002 > Received: from pali.cps.cmich.edu ([141.209.131.81]) by kremvax; Thu May 16 18:36:12 EDT 2002 > --- > > /mail/lib/rewrite -> > > # > # sample rewrite file for systems that send and receive mail directly. > # replace YOURDOMAIN.DOM in the following rules with your domain name. > > # translate local aliases from /mail/lib/namefiles > [^!@.]+ translate "/bin/upas/aliasmail '&'" > > # deliver mail without a domain locally > local!(.*) >> /mail/box/\1/mbox > > # your local names > \l!(.*) alias \1 > \l\.cps\.cmich\.edu!(.*) alias \1 > > # convert source domain address to a chain a@b@c@d... > @([^@!,]*):([^!@]*)@([^!]*) alias \2@\3@\1 > @([^@!]*),@([^!@,]*):([^!@]*)@([^!]*) alias @\1:\3@\4@\2 > > # convert a chain a@b@c@d... to ...d!c!b!a > ([^@]+)@([^@]+)@(.+) alias \2!\1@\3 > ([^@]+)@([^@]+) alias \2!\1 > > # queue all mail for delivery > ([^!]*)!(.+) | "/mail/lib/qmail '\s' 'net!\1'" "'\2'" > --- > >