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

smail



Hola de nuevo:
Hace un par de dias pedi ayuda sobre el smail. He recibido alguna
respuesta
pero sigue sin funcionar. Os dare mas datos.


Estoy en una tipica red local, con ip 172.27.50.245
Existe una maquina smtp.intranet.ts.es o telsis2.intranet.ts.es o
pop3... 
 con ip 192.168.80.3 con la que tengo configurado netscape y funciona.

Existe telsis2.ts.es con ip 192.101.1.13 
desde mi casa me bajo el correo de esta maquina. (tambien es servidor
DNS)


traceroute to telsis2.intranet.ts.es (192.168.80.3), 30 hops max, 40
byte packets
 1  172.27.48.1 (172.27.48.1)  2.735 ms  2.52 ms  2.513 ms
 2  172.27.186.1 (172.27.186.1)  41.027 ms  50.75 ms  40.859 ms
 3  telsis2.intranet.ts.es (192.168.80.3)  51.692 ms *  51.426 ms

traceroute to telsis2.ts.es (192.101.1.13), 30 hops max, 40 byte packets
 1  172.27.48.1 (172.27.48.1)  96.433 ms  74.248 ms  8.685 ms
 2  172.27.194.1 (172.27.194.1)  48.901 ms  58.702 ms  48.785 ms
 3  agamenon.intranet.ts.es (192.168.80.2)  115.545 ms *  60.446 ms
 4  telsis2.ts.es (192.101.1.13)  66.375 ms *  60.418 ms


os adjunto los ficheros de /etc/smail/ y /etc/resolv.conf

el problema es que no puedo mandar correo a ninguna direccion xxx@ts.es
y si a otras maquinas de internet (usando mail logicamente, no netscape)

Puse en visible_name=telsis2.ts.es ya que si no existia el host en
cuestion
no enviaba los mensajes.

he puesto en hostnames=telsis2.ts.es:celemin ya que si no pongo telsis2
no
envia mensajes a nadie

(celemin logicamente es un nombre arbitrario solo conocido por mi host)
(he probado poniendo otras maquinas en vez de telsis2.ts.es pero tampoco
funciona)


/var/log/smail/logfile

02/05/1999 08:52:16: [m108g37-000YkkC] Delivered VIA:roble.pntic.mec.es
TO:asain
z@roble.pntic.mec.es ORIG-TO:asainz@roble.pntic.mec.es ROUTER:inet_hosts
TRANSPO
RT:smtp                                                                         
02/05/1999 08:52:16: [m108g37-000YkkC] Completed.
...
...
02/05/1999 10:03:03: [m107y3O-000YkjC] Deferred TO:fsainz@ts.es
ROUTER:inet_hosts TRANSPORT:smtp ERROR:(ERR151) transport smtp: 421
Invalid host(telsis2.ts.es), closing connection



¿Cual es el problema ?
Alguien con alguna configuracion parecida podria enviarme sus archivos
de
configuracion.


Saludos.


-- 
Fernando.
{:-{D>

   "Hackers do it with fewer instructions."
# This is the main Smail configuration file.
# Debian Config Version 2
# 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 Thu Nov 26 14:27:31 CET 1998
# Please modify the above line, if you change this file by hand.
# See smail-config (5) for details of the things that can be configured here.


visible_name=telsis2.ts.es
more_hostnames=localhost
-domains
hostnames=telsis2.ts.es:celemin

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


# Debian Config Version 2.1
#               ----------Begin-----------
# You really should know what you do here!
#WARNING:  You will have to add a correct local definition for
#        smtp_remote_allow if you have many local networks, or unset it
#        if you wish to disable this feature (default).
#WARNING:  The current implementation of this feature blocks
#        relay from incoming SMTP to *any* outgoing transport.  This
#        means that even UUCP gateways require explicit permission if
#        this feature is enabled.  
# it's no longer off by default, so all hosts can relay mails over this host.
# as internet get more and more on the dark side .... 
# only mails from the localnet are relayed
smtp_remote_allow=localnet

#       This flag tells smail to verify the hostnames given in
#       HELO or EHLO SMTP commands.
# it's off by default
# example to switch it on:
#+smtp_hello_verify

# more  helo/ehlo verify switches, see manpages for details
#smtp_hello_verify_literal
#smtp_hello_verify_ptr


#       A colon-separated list of host IP patterns that are
#       allowed to deliver mail even though they have broken
#       DNS or give incorrect or invalid HELO or EHLO SMTP
#       greetings.
# it's off by default, which mean smtp_hello_broken_allow=*
# example to switch it on:
#smtp_hello_broken_allow=192.168.100.*


# Vixie / MAPS RBL (http://maps.vix.com/rbl)
# switch to turn on the Mail Abuse Protection System (MAPS)
# it's off by default
# example to switch it on:
#+vixie_rbl
#vixie_rbl_force_allow="192.168.100.10:[your local ip#]"

# Do not do dns lookups for MAIL FROM: address
# This is debian-Smail only feature... it WILL BE DELETED in the future
# It's only use is for local systems with no working dns System
# It's off by default
# example to switch it on:
#+smtp_sender_verify

received_field="Received: ${if def:sender_host\
         {from $sender_host${if def:sender_host_addr\
         { (really [$sender_host_addr])}} }\
          else {${if def:sender_host_addr\
          {from [$sender_host_addr] }}}}\
         by $visible_name\n\t\
         ${if def:sender_program\
          {via $sender_program }}\
         ${if def:sender_proto\
          {with $sender_proto}\
          else {from stdin}}\
         ${if def:ident_sender\
          { (ident $ident_sender using $ident_method)}}\n\t\
         id <$message_id@$primary_name> (Debian Smail$version)\n\t\
         ${if def:input_addr\
          {for ${top:input_addr}}\
          else {for <unknown>}}\
         ; $spool_date "
# 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 Thu Nov 26 14:27:31 CET 1998
# Please modify the above line, if you change this file by hand.
# See smail-config (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=telsis2.ts.es

# 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 Thu Nov 26 14:27:31 CET 1998
# Please modify the above line, if you change this file by hand.
# See smail-config (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,		# append message to a file
	from, 				# supply a From_ envelope line
	local, 				# use local forms for delivery
	inet, 				# use route-addr addresses for routing
	return_path, 			# include a Return-Path: field
	unix_from_hack;			# insert > before From in body
	append_as_user, 		
	check_user, 			# use user-id associated with address
	file=/var/spool/mail/${lc:strip:user}, # location of mailbox files
	group=mail, 			# group to own file 
	mode=0660, 
	suffix="\n"			# append an extra newline

smtp:	driver=tcpsmtp, 		
	max_addrs=100, 			# limit on number of addresses
	-max_chars,			 
	inet;				# use route-addr addresses for routing
	use_bind, 			# resolve MX and multiple A records
	defer_no_connect, 		# try again if the nameserver is down
	-local_mx_okay, 		# fail an MX to the local host
	defnames			# use standard domain searching

uux:	driver=pipe, 			
	uucp, 				# use UUCP-style addressing forms
	from, 				# supply a From_ envelope line
	max_addrs=5, 			
	max_chars=200;
	cmd="/usr/bin/uux - -r $host!rmail $(($user)$)",
	pipe_as_sender, 		# have uucp logs contain caller
	log_output			# save error output for bounce messages


pipe:	driver=pipe, 
	from,				# supply a From_ envelope line 
	local, 				# use local forms for delivery
	inet, 				# use route-addr addresses for routing
	return_path, 			# include a Return-Path: field
	unix_from_hack;			# insert > before From in body
	cmd="/bin/sh -c $user", 
	-ignore_status, 		# ignore a non-zero exit status
	-ignore_write_errors,		# ignore write errors, i.e., broken pipe
	log_output, 			# save error output for bounce messages
	parent_env,			# environment info from parent addr 
	pipe_as_user, 			# use user-id associated with address
	umask=0077

file:	driver=appendfile, 
	from, 				# supply a From_ envelope line
	local, 				# use local forms for deliver
	return_path, 			# include a Return-Path: field
	unix_from_hack;			# insert > before From in body
	append_as_user, 		# use user-id associated with addres
	file=$user, 			# file is taken from address
	expand_user,			# expand ~ and $ within addres
	mode=0660, 
	suffix="\n"			# append an extra newline
# domain ts.es
# search celemin.es
# search es
nameserver 192.101.1.13
nameserver 194.224.30.2

Reply to: