UUCP plus Sendmail problem

Michal Toth tothlist na bigfoot.com
Středa Červenec 7 22:40:38 CEST 1999


Hi,

I am trying to setup Sendmail on mail2 host (LAN)
recieve and send all mail using UUCP connection to
mail1 host which is connected to INTERNET.

mail1 and mail2 hosts are connected by nullmodem.

I encounter endless loop, even though I would like
mail2 host to deliver the mail to /var/spool/mail/user :

>From mail2.landomain.com!root na mail1.landomain.com  Tue Jul  6 19:25:39
1999 Received: from mail1.landomain.com (uucp na localhost)
      by mail2.landomain.com (8.9.3/8.9.3) with UUCP id TAA01040
      for mail2!user; Tue, 6 Jul 1999 19:25:39 +0200
Received: from mail2.landomain.com (uucp na localhost)
      by mail1.landomain.com (8.9.3/8.9.3) with UUCP id SAA00756
      for mail2!user; Wed, 7 Jul 1999 18:31:56 +0200
Received: from mail1.landomain.com (uucp na localhost)
      by mail2.landomain.com (8.9.3/8.9.3) with UUCP id TAA00991
      for mail2!user; Tue, 6 Jul 1999 19:24:00 +0200
Received: from mail2.landomain.com (uucp na localhost)
      by mail1.landomain.com (8.9.3/8.9.3) with UUCP id SAA00734
      for mail2!user; Wed, 7 Jul 1999 18:31:04 +0200
Received: from mail1.landomain.com (uucp na localhost)
      by mail2.landomain.com (8.9.3/8.9.3) with UUCP id TAA00958
      for mail2!user; Tue, 6 Jul 1999 19:23:19 +0200
Received: (from uucp na localhost)
      by mail1.landomain.com (8.9.3/8.9.3) with UUCP id SAA00709
      for mail1!user; Wed, 7 Jul 1999 18:30:16 +0200
Received: (from root na localhost)
      by mail2.landomain.com (8.9.3/8.9.3) id TAA00908
      for mail1!user; Tue, 6 Jul 1999 19:22:47 +0200
From: root <mail2.landomain.com!root na mail1.landomain.com>
Message-Id: <199907061722.TAA00908 na mail2.landomain.com>
Subject: test
To: user na mail1.landomain.com
Date: Tue, 6 Jul 1999 19:22:47 +0200 (CEST)
X-Mailer: ELM [version 2.5 PL0pre8]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

test mail from mail2

Can anybody help me with Sendmail.mc file so that mail2 host would
keep the mail which goes to mail2!user?

Thanx

Mike

My Sendmail.mc:

divert(-1)
include(`../m4/cf.m4')
VERSIONID(`landomain.com setup with uucp  --no dns ')dnl
OSTYPE(`linux')
FEATURE(nocanonify)dnl
FEATURE(always_add_domain)dnl
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')
FEATURE(mailertable, hash /etc/mailertable)dnl
FEATURE(local_procmail)
MAILER(procmail)
MAILER(smtp)
MAILER(local)dnl
MAILER(uucp)
define(`SMART_HOST', uucp-dom:mail1)


/etc/mailertable  :

landomain.com	local:
.landomain.com	local:

P.S.
When I send mail from mail1 host to user na landomain.com everything is
fine, but user na mail2.landomain.com cycles as well.

M.




Další informace o konferenci Linux