9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Incoming mail..
@ 2002-05-16 15:06 Ish Rattan
  2002-05-16 15:15 ` [9fans] " Ish Rattan
  0 siblings, 1 reply; 3+ messages in thread
From: Ish Rattan @ 2002-05-16 15:06 UTC (permalink / raw)
  To: 9fans


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



^ permalink raw reply	[flat|nested] 3+ messages in thread
* Re: [9fans] Re: Incoming mail..
@ 2002-05-16 16:00 Russ Cox
  0 siblings, 0 replies; 3+ messages in thread
From: Russ Cox @ 2002-05-16 16:00 UTC (permalink / raw)
  To: 9fans

The following needs to produce your sysname.

	ndb/query ether `{cat /net/ether0/addr} sys

That is, you need in your ndb files an entry containing

	ether=your.ether.addr
	sys=your.sys.name

so that ndb/cs can figure out your system name.

Russ


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-05-16 16:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-16 15:06 [9fans] Incoming mail Ish Rattan
2002-05-16 15:15 ` [9fans] " Ish Rattan
2002-05-16 16:00 Russ Cox

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).