9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Ish Rattan <ishwar@pali.cps.cmich.edu>
To: <9fans@cse.psu.edu>
Subject: [9fans] Re: Incoming mail..
Date: Thu, 16 May 2002 11:15:54 -0400	[thread overview]
Message-ID: <Pine.LNX.4.33L2.0205161113230.3392-100000@pali.cps.cmich.edu> (raw)
In-Reply-To: <Pine.LNX.4.33L2.0205161100260.3338-100000@pali.cps.cmich.edu>

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'"
> ---
>
>



  reply	other threads:[~2002-05-16 15:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-16 15:06 [9fans] " Ish Rattan
2002-05-16 15:15 ` Ish Rattan [this message]
2002-05-16 16:00 [9fans] " Russ Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.33L2.0205161113230.3392-100000@pali.cps.cmich.edu \
    --to=ishwar@pali.cps.cmich.edu \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).