[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Strange Behavior of smail?



Hi all,

I installed isdn4linux and connect to our ISDN router via Euro
ISDN/SyncPPP. IP addresses are assigned dynamically.

When I establich a connection, smail appears to be unable to resolve
domain addresses (but e.g. telnet does!). I get the sent mail back
with "Unknown Host". If I understand the documentation right, smail
first looks up the address in /etc/hosts and then in the DNSs (both
seem to be set up right -- otherwise no remote service at all would
run!?)

When I set the smart host to our mail server, sending mail works
fine. 

Is this OK? Or is there a configuration bug? I attach my configuration
files. 

Another strange thing: When I telnet to another host in our network
and try to send a mail to user@${REMOTEHOST} (i.e. the dynamically
assigned host address), mail arrives at the host, but mail delivery
runs into a loop ending with "maximum hop count exceeded":

 ...

Received: from palme-pc.urz.Uni-Wuppertal.DE ([132.195.23.50]) by palme-pc.urz.Uni-Wuppertal.DE
	 with esmtp (ident root using rfc1413) id m0wbW4A-001MjlC
	(Debian Smail-3.2 1996-Jul-4 #2); Tue, 10 Jun 1997 20:54:50 +0200 (MET DST)
Received: from palme-pc.urz.Uni-Wuppertal.DE ([132.195.23.50]) by palme-pc.urz.Uni-Wuppertal.DE
	 with esmtp (ident root using rfc1413) id m0wbW4A-001MjpC
	(Debian Smail-3.2 1996-Jul-4 #2); Tue, 10 Jun 1997 20:54:50 +0200 (MET DST)
Received: from wrin27.urz.uni-wuppertal.de ([132.195.20.107]) by palme-pc.urz.Uni-Wuppertal.DE
	 with esmtp id m0wbW49-001MjlC
	(Debian Smail-3.2 1996-Jul-4 #2); Tue, 10 Jun 1997 20:54:49 +0200 (MET DST)
Received: (from palme@localhost) by wrin27.urz.uni-wuppertal.de (8.8.4/8.8.3) id UAA11546 for hubert@isdn50.dialin.uni-wuppertal.de; Tue, 10 Jun 1997 20:51:24 +0200 (MDT)
Date: Tue, 10 Jun 1997 20:51:24 +0200 (MDT)
From: Hubert Palme <palme@wrin27.urz.uni-wuppertal.de>
Message-Id: <199706101851.UAA11546@wrin27.urz.uni-wuppertal.de>
To: hubert@isdn50.dialin.uni-wuppertal.de

(OK, normally I get my mail via POP3 protocol from our server, and
that works fine :-)

Thanks in advance for any hints!

-- 
======================================================================
Hubert Palme         Bergische Universitaet-Gesamthochschule Wuppertal
                                      Computing  Center
                                      D-42097 Wuppertal
Email: palme@uni-wuppertal.de             (Germany)
http://www.uni-wuppertal.de/hrz/daten/adressen/h.palme.html

config:
=======

# This is the main Smail configuration file.
# It was originally generated by `smailconfig', part of the Smail package
# distributed with Debian, but it may edited by the mail system administrator.
# It was originally generated by smailconfig at Tue Jun 10 20:40:04 MET DST 1997
# Please modify the above line, if you change this file by hand.
# See smailconf(5) for details of the things that can be configured here.


visible_name=uni-wuppertal.de
-domains
hostnames=palme-pc.urz.Uni-Wuppertal.DE:uni-wuppertal.de

max_load_ave=5
smtp_accept_max=20
smtp_accept_queue=10
rfc1413_query_timeout=15

require_configs
-second_config_file
-qualify_file
-retry_file
copying_file=/usr/doc/smail/copyright
max_message_size=10M

received_field="Received: \
    ${if def:sender_host\
       {from $sender_host ${if def:sender_host_addr ([$sender_host_addr]) }}\
       {${if def:sender_host_addr:from [$sender_host_addr] }}}\
    by $primary_name\n\t\
    ${if def:sender_proto: with $sender_proto }\
    ${if def:ident_sender:(ident $ident_sender using $ident_method) }\
    id $message_id\n\t\
    (Debian $version_string); $spool_date"
routers:
========

# This is the Smail routers file, which says what to do with mail destined for
# remote hosts.  This configuration is for Internet and satellite systems.
# It was originally generated by `smailconfig', part of the Smail package
# distributed with Debian, but it may edited by the mail system administrator.
# It was originally generated by smailconfig at Tue Jun 10 20:40:04 MET DST 1997
# Please modify the above line, if you change this file by hand.
# See smailconf(5) for details of the things that can be configured here.

inet_addrs:
	driver=gethostbyaddr, transport=smtp;
	check_for_local, fail_if_error

inet_hosts:
	driver=bind, transport=smtp;
	defer_no_connect, -local_mx_okay, defnames,
	ignore_domains=uucp:bitnet

smart_host:
	driver=smarthost, transport=smtp;
	path=mailgate.uni-wuppertal.de

directors:
==========

# This is the Smail directors file, which deals with mail for
# local users (ie, mail which is destined for a user of this system).
# It was originally generated by `smailconfig', part of the Smail package
# distributed with Debian, but it may edited by the mail system administrator.
# It was originally generated by smailconfig at Tue Jun 10 20:40:04 MET DST 1997
# Please modify the above line, if you change this file by hand.
# See smailconf(5) for details of the things that can be configured here.

aliases:
	driver=aliasfile, owner=postmaster, sender_okay;
	file=/etc/aliases, proto=lsearch,
	modemask=002, owners=root:mail:daemon, owngroups=root:mail:daemon

dotforward:
	driver=forwardfile, owner=postmaster, nobody, sender_okay;
	file=~/.forward,
	checkowner, modemask=022, owners=root,
	unsecure=0-99:~ftp:~uucp:/tmp:/var/tmp,

user:
	driver=user;
	transport=local

real_user:
	driver=user;
	transport=local,
	prefix=real-

# lists - expand local mailing lists stored in a list directory
# mailing lists can be created simply by creating a file in the
# /etc/smail/lists directory.  To get local error bounces sent
# to the listowner put their name in /etc/smail/lists/owner-whatever.
lists:
	driver=forwardfile, sender_okay, owner=owner-$user,
        caution, nobody;
	file=lists/${lc:user}
transports:
===========

# This is the Smail transports file, which gives details of how
# to actually do the various kinds of delivery specified by the
# directors and routers.
# It was originally generated by `smailconfig', part of the Smail package
# distributed with Debian, but it may edited by the mail system administrator.
# It was originally generated by smailconfig at Tue Jun 10 20:40:04 MET DST 1997
# Please modify the above line, if you change this file by hand.
# See smailconf(5) for details of the things that can be configured here.
# Not all of the following are used by all configurations;
# pipe and file may be called implicitly by Smail when delivering
# to local addresses looking like |... /... ~/... .

local:	driver=appendfile, from, local, inet, return_path, unix_from_hack;
	append_as_user, check_user, file=/var/spool/mail/${lc:strip:user},
	group=mail, mode=0660, notify_comsat, suffix="\n"

smtp:	driver=tcpsmtp, max_addrs=100, -max_chars, inet;
	use_bind, defer_no_connect, -local_mx_okay, defnames

uux:	driver=pipe, uucp, from, max_addrs=5, max_chars=200;
	cmd="/usr/bin/uux - -r $host!rmail $(($user)$)",
	pipe_as_sender, log_output

pipe:	driver=pipe, from, local, inet, return_path, unix_from_hack;
	cmd="/bin/sh -c $user", -ignore_status, -ignore_write_errors,
	log_output, parent_env, pipe_as_user, umask=0077

file:	driver=appendfile, from, local, return_path, unix_from_hack;
	append_as_user, file=$user, expand_user,
	mode=0660, suffix="\n"

Reply to: