[postfix-es] Nuevamente postfix.

Ariel Martin Estévez ariel en papasco.co.cu
Jue Abr 19 15:36:01 CEST 2012


Quiero agradecer a todos lo que han aportado ideas, las cuales he tomado muy
convenientemente. Estoy experimentando utilizando máquinas virtuales antes
de poner en caliente el servidor postfix, tengo 2 mdaemon respondiendo a
Yahoo.es y papasco.co.cu (mi dominio) y entre ellos postfix con los
respectivos DNS y demás.

 

Al enviar un mensaje desde “papasco.co.cu” a “Yahoo.es” ocurre la siguiente
conversación entre los servidores. Esto también pasa en el sentido inverso.
Es decir  postfix al parecer no está aceptando el mensaje.

 

La red virtual es:

 

Postfix -> 192.163.1.2,  200.55.135.13

“Yahoo.es” -> 200.55.135.9

“papasco.co.cu” -> 192.163.1.1

 

--- Session Transcript ---
Wed 2012-04-18 22:35:40: Parsing message
<xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\pd90000000001.msg>
Wed 2012-04-18 22:35:40: * From: admin en papasco.co.cu
<javascript:openWin('/WorldClient.dll?Session=XJKNEZD&View=Compose&New=Yes&T
o=admin%40papasco.co.cu','Compose',800,600,'yes');> 
Wed 2012-04-18 22:35:40: * To: admin en yahoo.es
<javascript:openWin('/WorldClient.dll?Session=XJKNEZD&View=Compose&New=Yes&T
o=admin%40yahoo.es','Compose',800,600,'yes');> 
Wed 2012-04-18 22:35:40: * Subject: Re: [***SPAM*** Score/Req: 06.4/5.0]
test
Wed 2012-04-18 22:35:40: * Size (bytes): 2077
Wed 2012-04-18 22:35:40: * Message-ID:
<WC20120412032142.300002 en papasco.co.cu
<javascript:openWin('/WorldClient.dll?Session=XJKNEZD&View=Compose&New=Yes&T
o=WC20120412032142.300002%40papasco.co.cu','Compose',800,600,'yes');> >
Wed 2012-04-18 22:35:40: Attempting SMTP connection to [192.163.1.2]
Wed 2012-04-18 22:35:40: Attempting to send message to smart host
Wed 2012-04-18 22:35:40: Attempting SMTP connection to [192.163.1.2:25]
Wed 2012-04-18 22:35:40: Waiting for socket connection...
Wed 2012-04-18 22:35:40: * Connection established (192.163.1.1:1171 ->
192.163.1.2:25)
Wed 2012-04-18 22:35:40: Waiting for protocol to start...
Wed 2012-04-18 22:35:50: <-- 220 com-2.papasco.co.cu ESMTP Postfix
(Debian/GNU)
Wed 2012-04-18 22:35:50: --> EHLO mxsrv.papasco.co.cu
Wed 2012-04-18 22:35:50: <-- 250-com-2.papasco.co.cu
Wed 2012-04-18 22:35:50: <-- 250-PIPELINING
Wed 2012-04-18 22:35:50: <-- 250-SIZE 2097152
Wed 2012-04-18 22:35:50: <-- 250-VRFY
Wed 2012-04-18 22:35:50: <-- 250-ETRN
Wed 2012-04-18 22:35:50: <-- 250-STARTTLS
Wed 2012-04-18 22:35:50: <-- 250-ENHANCEDSTATUSCODES
Wed 2012-04-18 22:35:50: <-- 250-8BITMIME
Wed 2012-04-18 22:35:50: <-- 250 DSN
Wed 2012-04-18 22:35:50: --> MAIL From:<admin en papasco.co.cu
<javascript:openWin('/WorldClient.dll?Session=XJKNEZD&View=Compose&New=Yes&T
o=admin%40papasco.co.cu','Compose',800,600,'yes');> > SIZE=2077
Wed 2012-04-18 22:45:52: Connection timed out!
Wed 2012-04-18 22:45:52: This message is 7 days old; it has 0 days left to
get delivered
--- End Transcript ---



Y en el otro sentido es

 

--- Session Transcript ---
Wed 2012-04-18 22:41:02: Parsing message
<xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\pd90000000001.msg>
Wed 2012-04-18 22:41:02: * From: admin en yahoo.es
<javascript:openWin('/WorldClient.dll?Session=NDZGEKZ&View=Compose&New=Yes&T
o=admin%40yahoo.es','Compose',800,600,'yes');> 
Wed 2012-04-18 22:41:02: * To: admin en papasco.co.cu
<javascript:openWin('/WorldClient.dll?Session=NDZGEKZ&View=Compose&New=Yes&T
o=admin%40papasco.co.cu','Compose',800,600,'yes');> 
Wed 2012-04-18 22:41:02: * Subject: Probando
Wed 2012-04-18 22:41:02: * Size (bytes): 1769
Wed 2012-04-18 22:41:02: * Message-ID: <WC20120412033124.17000B en yahoo.es
<javascript:openWin('/WorldClient.dll?Session=NDZGEKZ&View=Compose&New=Yes&T
o=WC20120412033124.17000B%40yahoo.es','Compose',800,600,'yes');> >
Wed 2012-04-18 22:41:02: Attempting SMTP connection to [papasco.co.cu]
Wed 2012-04-18 22:41:02: Resolving MX records for [papasco.co.cu] (DNS
Server: 127.0.0.1)...
Wed 2012-04-18 22:41:02: * P=010 S=000 D=papasco.co.cu TTL=(60)
MX=[com-2.papasco.co.cu] {200.55.135.13}
Wed 2012-04-18 22:41:02: Attempting SMTP connection to [200.55.135.13:25]
Wed 2012-04-18 22:41:02: Waiting for socket connection...
Wed 2012-04-18 22:41:02: * Connection established (200.55.135.9:1385 ->
200.55.135.13:25)
Wed 2012-04-18 22:41:02: Waiting for protocol to start...
Wed 2012-04-18 22:41:12: <-- 220 com-2.papasco.co.cu ESMTP Postfix
(Debian/GNU)
Wed 2012-04-18 22:41:12: --> EHLO yahoo.es
Wed 2012-04-18 22:41:12: <-- 250-com-2.papasco.co.cu
Wed 2012-04-18 22:41:12: <-- 250-PIPELINING
Wed 2012-04-18 22:41:12: <-- 250-SIZE 2097152
Wed 2012-04-18 22:41:12: <-- 250-VRFY
Wed 2012-04-18 22:41:12: <-- 250-ETRN
Wed 2012-04-18 22:41:12: <-- 250-ENHANCEDSTATUSCODES
Wed 2012-04-18 22:41:12: <-- 250-8BITMIME
Wed 2012-04-18 22:41:12: <-- 250 DSN
Wed 2012-04-18 22:41:12: --> EHLO yahoo.es
Wed 2012-04-18 22:41:12: <-- 250-com-2.papasco.co.cu
Wed 2012-04-18 22:41:12: <-- 250-PIPELINING
Wed 2012-04-18 22:41:12: <-- 250-SIZE 2097152
Wed 2012-04-18 22:41:12: <-- 250-VRFY
Wed 2012-04-18 22:41:12: <-- 250-ETRN
Wed 2012-04-18 22:41:12: <-- 250-ENHANCEDSTATUSCODES
Wed 2012-04-18 22:41:12: <-- 250-8BITMIME
Wed 2012-04-18 22:41:12: <-- 250 DSN
Wed 2012-04-18 22:41:12: --> MAIL From:<admin en yahoo.es
<javascript:openWin('/WorldClient.dll?Session=NDZGEKZ&View=Compose&New=Yes&T
o=admin%40yahoo.es','Compose',800,600,'yes');> > SIZE=1769
Wed 2012-04-18 22:48:02: Socket connection closed by the other side (how
rude!)
Wed 2012-04-18 22:48:02: This message is 7 days old; it has 0 days left to
get delivered
--- End Transcript ---

 

 

La configuración en curso es:

 

# See /usr/share/postfix/main.cf.dist for a commented, more complete version

 

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)

biff = no

append_dot_mydomain = no   

delay_warning_time = 4h  

readme_directory = no

 

# TLS parameters - comentado para pruebas manuales

#smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem

#smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key

#smtpd_use_tls=yes

#smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache

#smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

 

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for

# information on enabling SSL in the smtp client.

 

myhostname = com-2.papasco.co.cu

mydomain = papasco.co.cu

alias_maps = hash:/etc/aliases

alias_database = hash:/etc/aliases

myorigin = $mydomain

mydestination = com-2.papasco.co.cu, localhost.papasco.co.cu, papasco.co.cu,
localhost, 192.163.1.1

# relayhost = 192.163.1.1

# relay_domain = papasco.co.cu

transport_maps = hash:/etc/postfix/transport

mynetworks = 127.0.0.0/8   192.163.1.0/24   200.55.135.8/29

home_mailbox = Maildir/

message_size_limit = 2097152

mailbox_size_limit = 0

recipient_delimiter = +

inet_interfaces = all

inte_protocols = all

 

#content_filter = smtp-amavis:[127.0.0.1]:10024

 

#restrictions

#smtpd_helo_restrictions = reject_invalid_hostname

 

smtpd_error_sleep_time = 1s

smtpd_soft_error_limit = 60

smtpd_hard_error_limit = 60

 

#smtpd_recipient_restrictions = permit_mynetworks

#smtpd_sender_restrictions = permit_mynetworks

 

Y el fichero transport tiene:

 

papasco.co.cu  smtp:[192.163.1.1]

.papasco.co.cu smtp:[192.163.1.1]

 

Realmente estoy desconcertado pues en teoría todo lo veo bien puesto, salvo
que faltarían luego los elementos de seguridad.

 

En espera y agradecido.

 

Ariel Martin

 

Papas&Co. S.A. 

Carretera El Roble s/n. Rotonda de Cojimar, La Habana, Cuba
Teléfono: (7) 794-6790

 



This message was delivered by MDaemon - http://www.altn.com/MDaemon/
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://lists.wl0.org/pipermail/postfix-es/attachments/20120419/a796dfa6/attachment.html>


Más información sobre la lista de distribución postfix-es